1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2982 wxSize
size(self
->GetWidth(), self
->GetHeight());
2985 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2986 wxMask
*mask
= new wxMask(*self
, colour
);
2987 self
->SetMask(mask
);
2989 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2990 self
->SetWidth(size
.x
);
2991 self
->SetHeight(size
.y
);
2993 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2994 int height
=self
->GetHeight();
2995 int width
=self
->GetWidth();
2997 if (DATASIZE
!= width
* height
* 3) {
2998 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3000 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3002 // raise an exception...
3003 wxPyErr_SetString(PyExc_RuntimeError
,
3004 "Failed to gain raw access to bitmap data.");
3008 wxNativePixelData::Iterator
p(pixData
);
3009 for (int y
=0; y
<height
; y
++) {
3010 wxNativePixelData::Iterator rowStart
= p
;
3011 for (int x
=0; x
<width
; x
++) {
3012 p
.Red() = *(data
++);
3013 p
.Green() = *(data
++);
3014 p
.Blue() = *(data
++);
3018 p
.OffsetY(pixData
, 1);
3021 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3022 int height
=self
->GetHeight();
3023 int width
=self
->GetWidth();
3025 if (DATASIZE
!= width
* height
* 4) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3037 wxAlphaPixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxAlphaPixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = wxPy_premultiply(*(data
++), a
);
3043 p
.Green() = wxPy_premultiply(*(data
++), a
);
3044 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3045 p
.Alpha() = a
; data
++;
3049 p
.OffsetY(pixData
, 1);
3052 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3053 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3055 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3056 buffer data
, int DATASIZE
,
3057 buffer alpha
, int ALPHASIZE
)
3059 if (DATASIZE
!= width
*height
*3) {
3060 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3064 if (ALPHASIZE
!= width
*height
) {
3065 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3069 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3070 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3072 // raise an exception...
3073 wxPyErr_SetString(PyExc_RuntimeError
,
3074 "Failed to gain raw access to bitmap data.");
3079 wxAlphaPixelData::Iterator
p(pixData
);
3080 for (int y
=0; y
<height
; y
++) {
3081 wxAlphaPixelData::Iterator rowStart
= p
;
3082 for (int x
=0; x
<width
; x
++) {
3083 byte a
= *(alpha
++);
3084 p
.Red() = wxPy_premultiply(*(data
++), a
);
3085 p
.Green() = wxPy_premultiply(*(data
++), a
);
3086 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3091 p
.OffsetY(pixData
, 1);
3096 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3098 if (DATASIZE
!= width
*height
*3) {
3099 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3103 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3104 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3106 // raise an exception...
3107 wxPyErr_SetString(PyExc_RuntimeError
,
3108 "Failed to gain raw access to bitmap data.");
3112 wxNativePixelData::Iterator
p(pixData
);
3113 for (int y
=0; y
<height
; y
++) {
3114 wxNativePixelData::Iterator rowStart
= p
;
3115 for (int x
=0; x
<width
; x
++) {
3116 p
.Red() = *(data
++);
3117 p
.Green() = *(data
++);
3118 p
.Blue() = *(data
++);
3122 p
.OffsetY(pixData
, 1);
3128 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3130 if (DATASIZE
!= width
*height
*4) {
3131 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3135 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3136 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3138 // raise an exception...
3139 wxPyErr_SetString(PyExc_RuntimeError
,
3140 "Failed to gain raw access to bitmap data.");
3145 wxAlphaPixelData::Iterator
p(pixData
);
3146 for (int y
=0; y
<height
; y
++) {
3147 wxAlphaPixelData::Iterator rowStart
= p
;
3148 for (int x
=0; x
<width
; x
++) {
3150 p
.Red() = wxPy_premultiply(*(data
++), a
);
3151 p
.Green() = wxPy_premultiply(*(data
++), a
);
3152 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3153 p
.Alpha() = a
; data
++;
3157 p
.OffsetY(pixData
, 1);
3163 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3165 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3167 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3169 self
->Green() = green
;
3170 self
->Blue() = blue
;
3172 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3173 PyObject
* rv
= PyTuple_New(3);
3174 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3175 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3176 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3180 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3182 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3184 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3185 self
->Red() = wxPy_premultiply(red
, alpha
);
3186 self
->Green() = wxPy_premultiply(green
, alpha
);
3187 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3188 self
->Alpha() = alpha
;
3190 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3191 PyObject
* rv
= PyTuple_New(4);
3192 int red
= self
->Red();
3193 int green
= self
->Green();
3194 int blue
= self
->Blue();
3195 int alpha
= self
->Alpha();
3197 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3198 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3199 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3200 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3203 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3204 if ( !colour
.IsOk() )
3205 return new wxMask(bitmap
, *wxBLACK
);
3207 return new wxMask(bitmap
, colour
);
3210 #include <wx/iconbndl.h>
3212 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3213 wxIcon
* icon
= new wxIcon();
3214 icon
->CopyFromBitmap(bmp
);
3217 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3218 char** cArray
= NULL
;
3221 cArray
= ConvertListOfStrings(listOfStrings
);
3224 icon
= new wxIcon(cArray
);
3228 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3229 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
, num
);
3236 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3238 self
->SetIndex(num
);
3243 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3245 return self
->GetIndex();
3250 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3252 wxImage
img(cursorName
, type
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3254 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3255 return new wxCursor(img
);
3257 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3263 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3266 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3267 return self
->operator bool();
3270 #include <wx/fontutil.h>
3271 #include <wx/fontmap.h>
3272 #include <wx/fontenum.h>
3274 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3275 return self
->ToString();
3278 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3279 { wxPyRaiseNotImplemented(); return NULL
; }
3281 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3282 { wxPyRaiseNotImplemented(); return false; }
3285 SWIGINTERNINLINE PyObject
*
3286 SWIG_From_size_t (size_t value
)
3288 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3292 SWIGINTERNINLINE
int
3293 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3296 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3297 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3301 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3302 wxFontEncoding alt_enc
;
3303 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3304 return PyInt_FromLong(alt_enc
);
3310 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3311 wxNativeFontInfo nfi
;
3312 nfi
.FromString(info
);
3313 return new wxFont(nfi
);
3315 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3318 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3319 return wxFontBase::New(pixelSize
, family
,
3320 style
, weight
, underlined
,
3323 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3324 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3326 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3327 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3329 class wxPyFontEnumerator
: public wxFontEnumerator
{
3331 wxPyFontEnumerator() {}
3332 ~wxPyFontEnumerator() {}
3334 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3335 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3340 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3341 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3344 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3346 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 ret
= wxArrayString2PyList_helper(arr
);
3349 wxPyEndBlockThreads(blocked
);
3352 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3354 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 ret
= wxArrayString2PyList_helper(arr
);
3357 wxPyEndBlockThreads(blocked
);
3363 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3366 loc
= new wxLocale();
3368 loc
= new wxLocale(language
, flags
);
3369 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3370 // for the floating point conversions and such to work right.
3371 #if PY_VERSION_HEX < 0x02040000
3372 setlocale(LC_NUMERIC
, "C");
3376 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3377 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3378 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3379 // for the floating point conversions and such to work right.
3380 #if PY_VERSION_HEX < 0x02040000
3381 setlocale(LC_NUMERIC
, "C");
3385 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 bool rc
= self
->Init(language
, flags
);
3387 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3388 // for the floating point conversions and such to work right.
3389 #if PY_VERSION_HEX < 0x02040000
3390 setlocale(LC_NUMERIC
, "C");
3395 class wxPyLocale
: public wxLocale
3400 wxPyLocale(const wxChar
*szName
, // name (for messages)
3401 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3402 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3403 bool bLoadDefault
= true, // preload wxstd.mo?
3404 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3406 wxPyLocale(int language
, // wxLanguage id or custom language
3407 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szDomain
= NULL
) const;
3413 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3418 const wxChar
*szDomain
= NULL
) const;
3419 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
= NULL
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3433 const wxChar
*szShort
, // dir prefix (for msg files)
3434 const wxChar
*szLocale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3451 const wxChar
*szDomain
) const
3453 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3454 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3457 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3458 const wxChar
*szOrigString2
, size_t n
,
3459 const wxChar
*szDomain
) const
3461 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3465 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3466 const wxChar
*szDomain
) const
3469 static wxString str
;
3470 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(szOrigString
);
3474 PyObject
* param2
= wx2PyString(szDomain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? (wxChar
*)str
.c_str() : NULL
);
3487 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3488 const wxChar
*szOrigString2
, size_t n
,
3489 const wxChar
*szDomain
) const
3492 static wxString str
;
3493 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3494 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3495 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3496 PyObject
* param1
= wx2PyString(szOrigString
);
3497 PyObject
* param2
= wx2PyString(szOrigString2
);
3498 PyObject
* param4
= wx2PyString(szDomain
);
3499 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? (wxChar
*)str
.c_str() : NULL
);
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 #include <wx/metafile.h>
3612 #include <wx/graphics.h>
3615 #if !wxUSE_GRAPHICS_CONTEXT
3616 // C++ stub classes for platforms or build configurations that don't have
3617 // wxGraphicsContext yet.
3620 class wxGraphicsObject
: public wxObject
3623 wxGraphicsObject( wxGraphicsRenderer
* ) {
3624 PyErr_SetString(PyExc_NotImplementedError
,
3625 "wx.GraphicsObject is not available on this platform.");
3627 wxGraphicsObject( const wxGraphicsObject
& ) {}
3628 virtual ~wxGraphicsObject() {}
3629 bool IsNull() const { return false; }
3630 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3635 class wxGraphicsPen
: public wxGraphicsObject
3638 virtual ~wxGraphicsPen() {}
3640 wxGraphicsPen wxNullGraphicsPen
;
3644 class wxGraphicsBrush
: public wxGraphicsObject
3647 wxGraphicsBrush() {}
3648 virtual ~wxGraphicsBrush() {}
3650 wxGraphicsBrush wxNullGraphicsBrush
;
3654 class wxGraphicsFont
: public wxGraphicsObject
3658 virtual ~wxGraphicsFont() {}
3660 wxGraphicsFont wxNullGraphicsFont
;
3664 class wxGraphicsPath
: public wxGraphicsObject
3667 wxGraphicsPath(wxGraphicsRenderer
* ) {
3668 PyErr_SetString(PyExc_NotImplementedError
,
3669 "wx.GraphicsPath is not available on this platform.");
3671 virtual ~wxGraphicsPath() {}
3673 void MoveToPoint( wxDouble
, wxDouble
) {}
3674 void MoveToPoint( const wxPoint2DDouble
& ) {}
3675 void AddLineToPoint( wxDouble
, wxDouble
) {}
3676 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3677 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3678 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3679 void AddPath( const wxGraphicsPath
* ) {}
3680 void CloseSubpath() {}
3681 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3682 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3683 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3684 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3686 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3687 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3688 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3689 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void * GetNativePath() const { return NULL
; }
3694 void UnGetNativePath(void *) {}
3695 void Transform( wxGraphicsMatrix
* ) {}
3696 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3697 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3699 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3700 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3702 wxGraphicsPath wxNullGraphicsPath
;
3705 class wxGraphicsMatrix
: public wxGraphicsObject
3708 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3709 PyErr_SetString(PyExc_NotImplementedError
,
3710 "wx.GraphicsMatrix is not available on this platform.");
3712 virtual ~wxGraphicsMatrix() {}
3713 virtual void Concat( const wxGraphicsMatrix
* ) {}
3714 virtual void Copy( const wxGraphicsMatrix
* ) {}
3715 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3716 wxDouble
, wxDouble
) {}
3717 virtual void Invert() {}
3718 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3719 virtual bool IsIdentity() { return false; }
3720 virtual void Translate( wxDouble
, wxDouble
) {}
3721 virtual void Scale( wxDouble
, wxDouble
) {}
3722 virtual void Rotate( wxDouble
) {}
3723 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3724 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3725 virtual void * GetNativeMatrix() const { return NULL
; }
3727 wxGraphicsMatrix wxNullGraphicsMatrix
;
3730 class wxGraphicsContext
: public wxGraphicsObject
3734 wxGraphicsContext(wxGraphicsRenderer
* ) {
3735 PyErr_SetString(PyExc_NotImplementedError
,
3736 "wx.GraphicsContext is not available on this platform.");
3739 virtual ~wxGraphicsContext() {}
3741 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 static wxGraphicsContext
* CreateFromNative( void * ) {
3747 PyErr_SetString(PyExc_NotImplementedError
,
3748 "wx.GraphicsContext is not available on this platform.");
3751 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 static wxGraphicsContext
* Create( wxWindow
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 wxGraphicsPath
* CreatePath() { return NULL
; }
3763 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3765 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3767 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3768 const wxColour
&, const wxColour
&) { return NULL
; }
3770 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3771 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3772 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3774 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3776 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3777 wxDouble
, wxDouble
) { return NULL
; }
3779 virtual void PushState() {}
3780 virtual void PopState() {}
3781 virtual void Clip( const wxRegion
& ) {}
3782 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3783 virtual void ResetClip() {}
3784 virtual void * GetNativeContext() { return NULL
; }
3785 virtual void Translate( wxDouble
, wxDouble
) {}
3786 virtual void Scale( wxDouble
, wxDouble
) {}
3787 virtual void Rotate( wxDouble
) {}
3788 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3789 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3790 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3792 virtual void SetPen( const wxGraphicsPen
& ) {}
3793 void SetPen( const wxPen
& ) {}
3795 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3796 void SetBrush( const wxBrush
& ) {}
3798 virtual void SetFont( const wxGraphicsFont
& ) {}
3799 void SetFont( const wxFont
&, const wxColour
& ) {}
3801 virtual void StrokePath( const wxGraphicsPath
* ) {}
3802 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3803 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3805 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3806 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3807 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3808 wxDouble
*, wxDouble
* ) const {}
3809 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3811 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3812 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3814 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3815 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3816 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3817 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3818 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3819 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3821 virtual bool ShouldOffset() const { return false; }
3825 class wxGraphicsRenderer
: public wxObject
3828 wxGraphicsRenderer() {
3829 PyErr_SetString(PyExc_NotImplementedError
,
3830 "wx.GraphicsRenderer is not available on this platform.");
3833 virtual ~wxGraphicsRenderer() {}
3835 static wxGraphicsRenderer
* GetDefaultRenderer(
3836 PyErr_SetString(PyExc_NotImplementedError
,
3837 "wx.GraphicsRenderer is not available on this platform.");
3840 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3841 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3842 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3843 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3845 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3847 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3848 wxDouble
, wxDouble
) { return NULL
; }
3850 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3851 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3852 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3853 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3854 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3855 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3856 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3861 class wxGCDC
: public wxWindowDC
3864 wxGCDC(const wxWindowDC
&) {
3865 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3866 PyErr_SetString(PyExc_NotImplementedError
,
3867 "wxGCDC is not available on this platform.");
3868 wxPyEndBlockThreads(blocked
);
3872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wxGCDC is not available on this platform.");
3875 wxPyEndBlockThreads(blocked
);
3878 virtual ~wxGCDC() {}
3880 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3881 void SetGraphicsContext( wxGraphicsContext
* ) {}
3886 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3889 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3890 wxDouble width
= 0.0,
3892 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3893 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3894 PyObject
* rv
= PyTuple_New(2);
3895 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3896 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3899 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3900 wxArrayDouble widths
;
3901 self
->GetPartialTextExtents(text
, widths
);
3904 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3905 size_t c1
, c2
, count
;
3906 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3907 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3909 if ( beginP
!= NULL
&& endP
!= NULL
)
3911 count
= wxMin(c1
, c2
);
3912 self
->StrokeLines(count
, beginP
, endP
);
3918 #include "wx/dcgraph.h"
3921 #include <wx/overlay.h>
3925 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3926 self
->AddColour(name
, wxColour(red
, green
, blue
));
3929 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3930 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3931 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3932 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3935 #include <wx/effects.h>
3938 #include "wx/renderer.h"
3941 SWIGINTERNINLINE PyObject
*
3942 SWIG_From_bool (bool value
)
3944 return PyBool_FromLong(value
? 1 : 0);
3948 #include "wx/wxPython/pseudodc.h"
3950 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3952 self
->GetIdBounds(id
, rect
);
3958 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3959 PyObject
*resultobj
= 0;
3960 wxGDIObject
*result
= 0 ;
3962 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3964 if (!wxPyCheckForApp()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (wxGDIObject
*)new wxGDIObject();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3977 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 PyObject
*resultobj
= 0;
3979 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3982 PyObject
*swig_obj
[1] ;
3984 if (!args
) SWIG_fail
;
3986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3987 if (!SWIG_IsOK(res1
)) {
3988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3990 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_Py_Void();
4005 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4006 PyObject
*resultobj
= 0;
4007 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4011 PyObject
*swig_obj
[1] ;
4013 if (!args
) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4019 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (bool)(arg1
)->IsNull();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4035 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4038 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4039 return SWIG_Py_Void();
4042 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 return SWIG_Python_InitShadowInstance(args
);
4046 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
= 0;
4048 byte arg1
= (byte
) 0 ;
4049 byte arg2
= (byte
) 0 ;
4050 byte arg3
= (byte
) 0 ;
4051 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4052 wxColour
*result
= 0 ;
4053 unsigned char val1
;
4055 unsigned char val2
;
4057 unsigned char val3
;
4059 unsigned char val4
;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4063 PyObject
* obj2
= 0 ;
4064 PyObject
* obj3
= 0 ;
4065 char * kwnames
[] = {
4066 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4071 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4072 if (!SWIG_IsOK(ecode1
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4075 arg1
= static_cast< byte
>(val1
);
4078 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4079 if (!SWIG_IsOK(ecode2
)) {
4080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4082 arg2
= static_cast< byte
>(val2
);
4085 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4086 if (!SWIG_IsOK(ecode3
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4089 arg3
= static_cast< byte
>(val3
);
4092 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4093 if (!SWIG_IsOK(ecode4
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4096 arg4
= static_cast< byte
>(val4
);
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4111 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
= 0;
4113 wxString
*arg1
= 0 ;
4114 wxColour
*result
= 0 ;
4115 bool temp1
= false ;
4116 PyObject
* obj0
= 0 ;
4117 char * kwnames
[] = {
4118 (char *) "colorName", NULL
4121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4123 arg1
= wxString_in_helper(obj0
);
4124 if (arg1
== NULL
) SWIG_fail
;
4128 if (!wxPyCheckForApp()) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= 0;
4151 unsigned long arg1
;
4152 wxColour
*result
= 0 ;
4153 unsigned long val1
;
4155 PyObject
* obj0
= 0 ;
4156 char * kwnames
[] = {
4157 (char *) "colRGB", NULL
4160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4161 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4162 if (!SWIG_IsOK(ecode1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4165 arg1
= static_cast< unsigned long >(val1
);
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxColour
*)new wxColour(arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4179 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4180 PyObject
*resultobj
= 0;
4181 wxColour
*arg1
= (wxColour
*) 0 ;
4184 PyObject
*swig_obj
[1] ;
4186 if (!args
) SWIG_fail
;
4188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4189 if (!SWIG_IsOK(res1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4192 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_Py_Void();
4207 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4208 PyObject
*resultobj
= 0;
4209 wxColour
*arg1
= (wxColour
*) 0 ;
4213 PyObject
*swig_obj
[1] ;
4215 if (!args
) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4221 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (byte
)(arg1
)->Red();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4235 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4236 PyObject
*resultobj
= 0;
4237 wxColour
*arg1
= (wxColour
*) 0 ;
4241 PyObject
*swig_obj
[1] ;
4243 if (!args
) SWIG_fail
;
4245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4246 if (!SWIG_IsOK(res1
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4249 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (byte
)(arg1
)->Green();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4263 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4264 PyObject
*resultobj
= 0;
4265 wxColour
*arg1
= (wxColour
*) 0 ;
4269 PyObject
*swig_obj
[1] ;
4271 if (!args
) SWIG_fail
;
4273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4274 if (!SWIG_IsOK(res1
)) {
4275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4277 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (byte
)(arg1
)->Blue();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4291 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4292 PyObject
*resultobj
= 0;
4293 wxColour
*arg1
= (wxColour
*) 0 ;
4297 PyObject
*swig_obj
[1] ;
4299 if (!args
) SWIG_fail
;
4301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4302 if (!SWIG_IsOK(res1
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4305 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (byte
)(arg1
)->Alpha();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4319 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4320 PyObject
*resultobj
= 0;
4321 wxColour
*arg1
= (wxColour
*) 0 ;
4325 PyObject
*swig_obj
[1] ;
4327 if (!args
) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4333 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (bool)(arg1
)->IsOk();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4349 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= 0;
4351 wxColour
*arg1
= (wxColour
*) 0 ;
4355 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4358 unsigned char val2
;
4360 unsigned char val3
;
4362 unsigned char val4
;
4364 unsigned char val5
;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 PyObject
* obj3
= 0 ;
4370 PyObject
* obj4
= 0 ;
4371 char * kwnames
[] = {
4372 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4377 if (!SWIG_IsOK(res1
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4380 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4381 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4382 if (!SWIG_IsOK(ecode2
)) {
4383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4385 arg2
= static_cast< byte
>(val2
);
4386 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4387 if (!SWIG_IsOK(ecode3
)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4390 arg3
= static_cast< byte
>(val3
);
4391 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4392 if (!SWIG_IsOK(ecode4
)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4395 arg4
= static_cast< byte
>(val4
);
4397 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4398 if (!SWIG_IsOK(ecode5
)) {
4399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4401 arg5
= static_cast< byte
>(val5
);
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_Py_Void();
4416 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
= 0;
4418 wxColour
*arg1
= (wxColour
*) 0 ;
4419 unsigned long arg2
;
4422 unsigned long val2
;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 char * kwnames
[] = {
4427 (char *) "self",(char *) "colRGB", NULL
4430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4432 if (!SWIG_IsOK(res1
)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4435 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4436 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4437 if (!SWIG_IsOK(ecode2
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4440 arg2
= static_cast< unsigned long >(val2
);
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_Py_Void();
4454 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
= 0;
4456 wxColour
*arg1
= (wxColour
*) 0 ;
4457 wxString
*arg2
= 0 ;
4460 bool temp2
= false ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4463 char * kwnames
[] = {
4464 (char *) "self",(char *) "colourName", NULL
4467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4469 if (!SWIG_IsOK(res1
)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4472 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4474 arg2
= wxString_in_helper(obj1
);
4475 if (arg2
== NULL
) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 (arg1
)->Set((wxString
const &)*arg2
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= SWIG_Py_Void();
4499 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
= 0;
4501 wxColour
*arg1
= (wxColour
*) 0 ;
4502 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4510 char * kwnames
[] = {
4511 (char *) "self",(char *) "flags", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4519 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4522 if (!SWIG_IsOK(ecode2
)) {
4523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4525 arg2
= static_cast< long >(val2
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4546 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4547 PyObject
*resultobj
= 0;
4548 wxColour
*arg1
= (wxColour
*) 0 ;
4552 PyObject
*swig_obj
[1] ;
4554 if (!args
) SWIG_fail
;
4556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4557 if (!SWIG_IsOK(res1
)) {
4558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4560 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= SWIG_From_long(static_cast< long >(result
));
4574 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxColour
*arg1
= (wxColour
*) 0 ;
4577 PyObject
*arg2
= (PyObject
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 char * kwnames
[] = {
4584 (char *) "self",(char *) "other", NULL
4587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4589 if (!SWIG_IsOK(res1
)) {
4590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4592 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4595 result
= (bool)wxColour___eq__(arg1
,arg2
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
= 0;
4609 wxColour
*arg1
= (wxColour
*) 0 ;
4610 PyObject
*arg2
= (PyObject
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4616 char * kwnames
[] = {
4617 (char *) "self",(char *) "other", NULL
4620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4622 if (!SWIG_IsOK(res1
)) {
4623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4625 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4628 result
= (bool)wxColour___ne__(arg1
,arg2
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4640 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
= 0;
4642 wxColour
*arg1
= (wxColour
*) 0 ;
4643 bool arg2
= (bool) false ;
4644 PyObject
*result
= 0 ;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4651 char * kwnames
[] = {
4652 (char *) "self",(char *) "includeAlpha", NULL
4655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4657 if (!SWIG_IsOK(res1
)) {
4658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4660 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4663 if (!SWIG_IsOK(ecode2
)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4666 arg2
= static_cast< bool >(val2
);
4669 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4679 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4680 PyObject
*resultobj
= 0;
4681 wxColour
*arg1
= (wxColour
*) 0 ;
4682 unsigned long result
;
4685 PyObject
*swig_obj
[1] ;
4687 if (!args
) SWIG_fail
;
4689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4690 if (!SWIG_IsOK(res1
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4693 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4695 result
= (unsigned long)wxColour_GetRGB(arg1
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4705 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4708 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4709 return SWIG_Py_Void();
4712 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 return SWIG_Python_InitShadowInstance(args
);
4716 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
= 0;
4719 unsigned char *arg2
= (unsigned char *) 0 ;
4720 unsigned char *arg3
= (unsigned char *) 0 ;
4721 unsigned char *arg4
= (unsigned char *) 0 ;
4722 wxPalette
*result
= 0 ;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4733 PyObject
* obj2
= 0 ;
4734 PyObject
* obj3
= 0 ;
4735 char * kwnames
[] = {
4736 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4741 if (!SWIG_IsOK(ecode1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4744 arg1
= static_cast< int >(val1
);
4745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4746 if (!SWIG_IsOK(res2
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4749 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4750 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4751 if (!SWIG_IsOK(res3
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4754 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4755 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4756 if (!SWIG_IsOK(res4
)) {
4757 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4759 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4761 if (!wxPyCheckForApp()) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4774 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxPalette
*arg1
= (wxPalette
*) 0 ;
4779 PyObject
*swig_obj
[1] ;
4781 if (!args
) SWIG_fail
;
4783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4784 if (!SWIG_IsOK(res1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4787 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_Py_Void();
4802 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
= 0;
4804 wxPalette
*arg1
= (wxPalette
*) 0 ;
4811 unsigned char val2
;
4813 unsigned char val3
;
4815 unsigned char val4
;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 PyObject
* obj2
= 0 ;
4820 PyObject
* obj3
= 0 ;
4821 char * kwnames
[] = {
4822 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4827 if (!SWIG_IsOK(res1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4830 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4831 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4832 if (!SWIG_IsOK(ecode2
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4835 arg2
= static_cast< byte
>(val2
);
4836 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4837 if (!SWIG_IsOK(ecode3
)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4840 arg3
= static_cast< byte
>(val3
);
4841 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4842 if (!SWIG_IsOK(ecode4
)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4845 arg4
= static_cast< byte
>(val4
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_From_int(static_cast< int >(result
));
4859 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
= 0;
4861 wxPalette
*arg1
= (wxPalette
*) 0 ;
4863 byte
*arg3
= (byte
*) 0 ;
4864 byte
*arg4
= (byte
*) 0 ;
4865 byte
*arg5
= (byte
*) 0 ;
4872 int res3
= SWIG_TMPOBJ
;
4874 int res4
= SWIG_TMPOBJ
;
4876 int res5
= SWIG_TMPOBJ
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 char * kwnames
[] = {
4880 (char *) "self",(char *) "pixel", NULL
4886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4891 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4893 if (!SWIG_IsOK(ecode2
)) {
4894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4896 arg2
= static_cast< int >(val2
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4906 if (SWIG_IsTmpObj(res3
)) {
4907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4909 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4912 if (SWIG_IsTmpObj(res4
)) {
4913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4915 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4918 if (SWIG_IsTmpObj(res5
)) {
4919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4921 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4930 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4931 PyObject
*resultobj
= 0;
4932 wxPalette
*arg1
= (wxPalette
*) 0 ;
4936 PyObject
*swig_obj
[1] ;
4938 if (!args
) SWIG_fail
;
4940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4941 if (!SWIG_IsOK(res1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4944 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= SWIG_From_int(static_cast< int >(result
));
4958 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 PyObject
*resultobj
= 0;
4960 wxPalette
*arg1
= (wxPalette
*) 0 ;
4964 PyObject
*swig_obj
[1] ;
4966 if (!args
) SWIG_fail
;
4968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4969 if (!SWIG_IsOK(res1
)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4972 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (bool)(arg1
)->IsOk();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4988 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4992 return SWIG_Py_Void();
4995 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 return SWIG_Python_InitShadowInstance(args
);
4999 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
= 0;
5001 wxColour
*arg1
= 0 ;
5002 int arg2
= (int) 1 ;
5003 int arg3
= (int) wxSOLID
;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 char * kwnames
[] = {
5014 (char *) "colour",(char *) "width",(char *) "style", NULL
5017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5020 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5024 if (!SWIG_IsOK(ecode2
)) {
5025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5027 arg2
= static_cast< int >(val2
);
5030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5031 if (!SWIG_IsOK(ecode3
)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5034 arg3
= static_cast< int >(val3
);
5037 if (!wxPyCheckForApp()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5050 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5052 wxPen
*arg1
= (wxPen
*) 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5063 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_Py_Void();
5078 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5079 PyObject
*resultobj
= 0;
5080 wxPen
*arg1
= (wxPen
*) 0 ;
5084 PyObject
*swig_obj
[1] ;
5086 if (!args
) SWIG_fail
;
5088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5089 if (!SWIG_IsOK(res1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5092 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (int)(arg1
)->GetCap();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_From_int(static_cast< int >(result
));
5106 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5107 PyObject
*resultobj
= 0;
5108 wxPen
*arg1
= (wxPen
*) 0 ;
5112 PyObject
*swig_obj
[1] ;
5114 if (!args
) SWIG_fail
;
5116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5117 if (!SWIG_IsOK(res1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5120 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (arg1
)->GetColour();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5134 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5135 PyObject
*resultobj
= 0;
5136 wxPen
*arg1
= (wxPen
*) 0 ;
5140 PyObject
*swig_obj
[1] ;
5142 if (!args
) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5148 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)(arg1
)->GetJoin();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_From_int(static_cast< int >(result
));
5162 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5163 PyObject
*resultobj
= 0;
5164 wxPen
*arg1
= (wxPen
*) 0 ;
5168 PyObject
*swig_obj
[1] ;
5170 if (!args
) SWIG_fail
;
5172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5173 if (!SWIG_IsOK(res1
)) {
5174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5176 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (int)(arg1
)->GetStyle();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_From_int(static_cast< int >(result
));
5190 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5191 PyObject
*resultobj
= 0;
5192 wxPen
*arg1
= (wxPen
*) 0 ;
5196 PyObject
*swig_obj
[1] ;
5198 if (!args
) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5204 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (int)(arg1
)->GetWidth();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_From_int(static_cast< int >(result
));
5218 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5219 PyObject
*resultobj
= 0;
5220 wxPen
*arg1
= (wxPen
*) 0 ;
5224 PyObject
*swig_obj
[1] ;
5226 if (!args
) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5232 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (bool)(arg1
)->IsOk();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 wxPen
*arg1
= (wxPen
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "self",(char *) "cap_style", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5267 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5269 if (!SWIG_IsOK(ecode2
)) {
5270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5272 arg2
= static_cast< int >(val2
);
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 (arg1
)->SetCap(arg2
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_Py_Void();
5286 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxPen
*arg1
= (wxPen
*) 0 ;
5289 wxColour
*arg2
= 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "colour", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5304 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5307 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 (arg1
)->SetColour(*arg2
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_Py_Void();
5322 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
= 0;
5324 wxPen
*arg1
= (wxPen
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 char * kwnames
[] = {
5333 (char *) "self",(char *) "join_style", NULL
5336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5338 if (!SWIG_IsOK(res1
)) {
5339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5341 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5343 if (!SWIG_IsOK(ecode2
)) {
5344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5346 arg2
= static_cast< int >(val2
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetJoin(arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxPen
*arg1
= (wxPen
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "style", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5379 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5384 arg2
= static_cast< int >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetStyle(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxPen
*arg1
= (wxPen
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 char * kwnames
[] = {
5409 (char *) "self",(char *) "width", NULL
5412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5417 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5419 if (!SWIG_IsOK(ecode2
)) {
5420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5422 arg2
= static_cast< int >(val2
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->SetWidth(arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
= 0;
5438 wxPen
*arg1
= (wxPen
*) 0 ;
5440 wxDash
*arg3
= (wxDash
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5445 char * kwnames
[] = {
5446 (char *) "self",(char *) "dashes", NULL
5449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5454 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5456 arg2
= PyList_Size(obj1
);
5457 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5458 if (arg3
== NULL
) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 (arg1
)->SetDashes(arg2
,arg3
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_Py_Void();
5468 if (arg3
) delete [] arg3
;
5473 if (arg3
) delete [] arg3
;
5479 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5480 PyObject
*resultobj
= 0;
5481 wxPen
*arg1
= (wxPen
*) 0 ;
5482 PyObject
*result
= 0 ;
5485 PyObject
*swig_obj
[1] ;
5487 if (!args
) SWIG_fail
;
5489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5490 if (!SWIG_IsOK(res1
)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5493 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5507 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxPen
*arg1
= (wxPen
*) 0 ;
5510 PyObject
*arg2
= (PyObject
*) 0 ;
5511 PyObject
*arg3
= (PyObject
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 PyObject
* obj2
= 0 ;
5517 char * kwnames
[] = {
5518 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5526 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxPen__SetDashes(arg1
,arg2
,arg3
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= SWIG_Py_Void();
5542 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5543 PyObject
*resultobj
= 0;
5544 wxPen
*arg1
= (wxPen
*) 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_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_From_int(static_cast< int >(result
));
5570 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 wxPen
*arg1
= (wxPen
*) 0 ;
5573 wxBitmap
*result
= 0 ;
5576 PyObject
*swig_obj
[1] ;
5578 if (!args
) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5584 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (wxBitmap
*)(arg1
)->GetStipple();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5598 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 wxPen
*arg1
= (wxPen
*) 0 ;
5601 wxBitmap
*arg2
= 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "stipple", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5617 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5619 if (!SWIG_IsOK(res2
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5625 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetStipple(*arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_Py_Void();
5639 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 wxPen
*arg1
= (wxPen
*) 0 ;
5642 wxPen
*arg2
= (wxPen
*) 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "self",(char *) "other", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5656 if (!SWIG_IsOK(res1
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5659 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5661 if (!SWIG_IsOK(res2
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5664 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5680 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxPen
*arg1
= (wxPen
*) 0 ;
5683 wxPen
*arg2
= (wxPen
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "other", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5700 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5702 if (!SWIG_IsOK(res2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5705 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5721 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5724 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5725 return SWIG_Py_Void();
5728 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 return SWIG_Python_InitShadowInstance(args
);
5732 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= 0;
5734 wxColour
*arg1
= 0 ;
5735 int arg2
= (int) wxSOLID
;
5736 wxBrush
*result
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 char * kwnames
[] = {
5743 (char *) "colour",(char *) "style", NULL
5746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5749 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5753 if (!SWIG_IsOK(ecode2
)) {
5754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5756 arg2
= static_cast< int >(val2
);
5759 if (!wxPyCheckForApp()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5772 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxBitmap
*arg1
= 0 ;
5775 wxBrush
*result
= 0 ;
5778 PyObject
* obj0
= 0 ;
5779 char * kwnames
[] = {
5780 (char *) "stippleBitmap", NULL
5783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5791 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5793 if (!wxPyCheckForApp()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5806 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5807 PyObject
*resultobj
= 0;
5808 wxBrush
*arg1
= (wxBrush
*) 0 ;
5811 PyObject
*swig_obj
[1] ;
5813 if (!args
) SWIG_fail
;
5815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5816 if (!SWIG_IsOK(res1
)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5819 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_Py_Void();
5834 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
= 0;
5836 wxBrush
*arg1
= (wxBrush
*) 0 ;
5837 wxColour
*arg2
= 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "self",(char *) "col", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5852 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->SetColour((wxColour
const &)*arg2
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_Py_Void();
5870 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxBrush
*arg1
= (wxBrush
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "style", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5889 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5891 if (!SWIG_IsOK(ecode2
)) {
5892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5894 arg2
= static_cast< int >(val2
);
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 (arg1
)->SetStyle(arg2
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_Py_Void();
5908 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5910 wxBrush
*arg1
= (wxBrush
*) 0 ;
5911 wxBitmap
*arg2
= 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "stipple", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5927 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5929 if (!SWIG_IsOK(res2
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5935 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5949 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5950 PyObject
*resultobj
= 0;
5951 wxBrush
*arg1
= (wxBrush
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5963 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= ((wxBrush
const *)arg1
)->GetColour();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5977 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5978 PyObject
*resultobj
= 0;
5979 wxBrush
*arg1
= (wxBrush
*) 0 ;
5983 PyObject
*swig_obj
[1] ;
5985 if (!args
) SWIG_fail
;
5987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5988 if (!SWIG_IsOK(res1
)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5991 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_From_int(static_cast< int >(result
));
6005 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6006 PyObject
*resultobj
= 0;
6007 wxBrush
*arg1
= (wxBrush
*) 0 ;
6008 wxBitmap
*result
= 0 ;
6011 PyObject
*swig_obj
[1] ;
6013 if (!args
) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6019 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6033 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6034 PyObject
*resultobj
= 0;
6035 wxBrush
*arg1
= (wxBrush
*) 0 ;
6039 PyObject
*swig_obj
[1] ;
6041 if (!args
) SWIG_fail
;
6043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6044 if (!SWIG_IsOK(res1
)) {
6045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6047 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6064 PyObject
*resultobj
= 0;
6065 wxBrush
*arg1
= (wxBrush
*) 0 ;
6069 PyObject
*swig_obj
[1] ;
6071 if (!args
) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6077 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (bool)(arg1
)->IsOk();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6093 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6096 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6097 return SWIG_Py_Void();
6100 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 return SWIG_Python_InitShadowInstance(args
);
6104 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
= 0;
6106 wxString
*arg1
= 0 ;
6107 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6108 wxBitmap
*result
= 0 ;
6109 bool temp1
= false ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 char * kwnames
[] = {
6115 (char *) "name",(char *) "type", NULL
6118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6120 arg1
= wxString_in_helper(obj0
);
6121 if (arg1
== NULL
) SWIG_fail
;
6125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6126 if (!SWIG_IsOK(ecode2
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6129 arg2
= static_cast< wxBitmapType
>(val2
);
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6153 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6154 PyObject
*resultobj
= 0;
6155 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6158 PyObject
*swig_obj
[1] ;
6160 if (!args
) SWIG_fail
;
6162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6163 if (!SWIG_IsOK(res1
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_Py_Void();
6179 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
= 0;
6183 int arg3
= (int) -1 ;
6184 wxBitmap
*result
= 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 PyObject
* obj2
= 0 ;
6194 char * kwnames
[] = {
6195 (char *) "width",(char *) "height",(char *) "depth", NULL
6198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6200 if (!SWIG_IsOK(ecode1
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6203 arg1
= static_cast< int >(val1
);
6204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6205 if (!SWIG_IsOK(ecode2
)) {
6206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6208 arg2
= static_cast< int >(val2
);
6210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6211 if (!SWIG_IsOK(ecode3
)) {
6212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6214 arg3
= static_cast< int >(val3
);
6217 if (!wxPyCheckForApp()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6230 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
= 0;
6233 wxBitmap
*result
= 0 ;
6236 PyObject
* obj0
= 0 ;
6237 char * kwnames
[] = {
6238 (char *) "icon", NULL
6241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6249 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6251 if (!wxPyCheckForApp()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6264 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6267 int arg2
= (int) -1 ;
6268 wxBitmap
*result
= 0 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "image",(char *) "depth", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6287 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6290 if (!SWIG_IsOK(ecode2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6293 arg2
= static_cast< int >(val2
);
6296 if (!wxPyCheckForApp()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6309 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6311 PyObject
*arg1
= (PyObject
*) 0 ;
6312 wxBitmap
*result
= 0 ;
6313 PyObject
* obj0
= 0 ;
6314 char * kwnames
[] = {
6315 (char *) "listOfStrings", NULL
6318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6321 if (!wxPyCheckForApp()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6334 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
= 0;
6336 PyObject
*arg1
= (PyObject
*) 0 ;
6339 int arg4
= (int) 1 ;
6340 wxBitmap
*result
= 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 PyObject
* obj2
= 0 ;
6350 PyObject
* obj3
= 0 ;
6351 char * kwnames
[] = {
6352 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6358 if (!SWIG_IsOK(ecode2
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6361 arg2
= static_cast< int >(val2
);
6362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6363 if (!SWIG_IsOK(ecode3
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6366 arg3
= static_cast< int >(val3
);
6368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6369 if (!SWIG_IsOK(ecode4
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6372 arg4
= static_cast< int >(val4
);
6375 if (!wxPyCheckForApp()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6388 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6389 PyObject
*resultobj
= 0;
6390 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6394 PyObject
*swig_obj
[1] ;
6396 if (!args
) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6404 result
= (long)(arg1
)->GetHandle();
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_From_long(static_cast< long >(result
));
6414 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
= 0;
6416 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6424 char * kwnames
[] = {
6425 (char *) "self",(char *) "handle", NULL
6428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6435 if (!SWIG_IsOK(ecode2
)) {
6436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6438 arg2
= static_cast< long >(val2
);
6440 wxBitmap_SetHandle(arg1
,arg2
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6451 PyObject
*resultobj
= 0;
6452 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6456 PyObject
*swig_obj
[1] ;
6458 if (!args
) SWIG_fail
;
6460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6461 if (!SWIG_IsOK(res1
)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6464 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6466 result
= (bool)(arg1
)->IsOk();
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6478 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6484 PyObject
*swig_obj
[1] ;
6486 if (!args
) SWIG_fail
;
6488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6489 if (!SWIG_IsOK(res1
)) {
6490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6492 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6494 result
= (int)(arg1
)->GetWidth();
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_From_int(static_cast< int >(result
));
6504 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6510 PyObject
*swig_obj
[1] ;
6512 if (!args
) SWIG_fail
;
6514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6515 if (!SWIG_IsOK(res1
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6518 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6520 result
= (int)(arg1
)->GetHeight();
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_From_int(static_cast< int >(result
));
6530 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6546 result
= (int)(arg1
)->GetDepth();
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_From_int(static_cast< int >(result
));
6556 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6570 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6572 result
= wxBitmap_GetSize(arg1
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6582 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6583 PyObject
*resultobj
= 0;
6584 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6585 SwigValueWrapper
<wxImage
> result
;
6588 PyObject
*swig_obj
[1] ;
6590 if (!args
) SWIG_fail
;
6592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6593 if (!SWIG_IsOK(res1
)) {
6594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6596 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6598 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6608 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6609 PyObject
*resultobj
= 0;
6610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6611 wxMask
*result
= 0 ;
6614 PyObject
*swig_obj
[1] ;
6616 if (!args
) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6624 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6634 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
= 0;
6636 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6637 wxMask
*arg2
= (wxMask
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 char * kwnames
[] = {
6644 (char *) "self",(char *) "mask", NULL
6647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6652 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6654 if (!SWIG_IsOK(res2
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6658 (arg1
)->SetMask(arg2
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6668 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
= 0;
6670 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6671 wxColour
*arg2
= 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 char * kwnames
[] = {
6678 (char *) "self",(char *) "colour", NULL
6681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6683 if (!SWIG_IsOK(res1
)) {
6684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6686 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6692 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= SWIG_Py_Void();
6702 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
= 0;
6704 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6706 SwigValueWrapper
<wxBitmap
> result
;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6712 char * kwnames
[] = {
6713 (char *) "self",(char *) "rect", NULL
6716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6718 if (!SWIG_IsOK(res1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6721 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6727 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6737 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
= 0;
6739 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6740 wxString
*arg2
= 0 ;
6742 wxPalette
*arg4
= (wxPalette
*) NULL
;
6746 bool temp2
= false ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 PyObject
* obj2
= 0 ;
6754 PyObject
* obj3
= 0 ;
6755 char * kwnames
[] = {
6756 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6764 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6766 arg2
= wxString_in_helper(obj1
);
6767 if (arg2
== NULL
) SWIG_fail
;
6770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6771 if (!SWIG_IsOK(ecode3
)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6774 arg3
= static_cast< wxBitmapType
>(val3
);
6776 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6777 if (!SWIG_IsOK(res4
)) {
6778 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6780 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6783 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6803 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
= 0;
6805 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6806 wxString
*arg2
= 0 ;
6811 bool temp2
= false ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6817 char * kwnames
[] = {
6818 (char *) "self",(char *) "name",(char *) "type", NULL
6821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6823 if (!SWIG_IsOK(res1
)) {
6824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6826 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6828 arg2
= wxString_in_helper(obj1
);
6829 if (arg2
== NULL
) SWIG_fail
;
6832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6833 if (!SWIG_IsOK(ecode3
)) {
6834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6836 arg3
= static_cast< wxBitmapType
>(val3
);
6838 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6859 PyObject
*resultobj
= 0;
6860 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6861 wxPalette
*result
= 0 ;
6864 PyObject
*swig_obj
[1] ;
6866 if (!args
) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6884 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6887 wxPalette
*arg2
= 0 ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6894 char * kwnames
[] = {
6895 (char *) "self",(char *) "palette", NULL
6898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6905 if (!SWIG_IsOK(res2
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6911 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6913 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "icon", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6945 if (!SWIG_IsOK(res2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6951 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6953 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6965 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
= 0;
6967 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "height", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6986 if (!SWIG_IsOK(ecode2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6989 arg2
= static_cast< int >(val2
);
6991 (arg1
)->SetHeight(arg2
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_Py_Void();
7001 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
= 0;
7003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 char * kwnames
[] = {
7012 (char *) "self",(char *) "width", NULL
7015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7020 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7022 if (!SWIG_IsOK(ecode2
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7025 arg2
= static_cast< int >(val2
);
7027 (arg1
)->SetWidth(arg2
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_Py_Void();
7037 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "depth", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7058 if (!SWIG_IsOK(ecode2
)) {
7059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7061 arg2
= static_cast< int >(val2
);
7063 (arg1
)->SetDepth(arg2
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_Py_Void();
7073 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 char * kwnames
[] = {
7083 (char *) "self",(char *) "size", NULL
7086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7091 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7094 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7097 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_Py_Void();
7107 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= 0;
7109 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7110 wxCursor
*arg2
= 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "self",(char *) "cursor", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7127 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7129 if (!SWIG_IsOK(res2
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7135 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7137 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7149 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
= 0;
7151 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "data", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7170 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7174 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_Py_Void();
7184 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7186 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "data", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7203 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7205 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7209 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_Py_Void();
7219 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
= 0;
7221 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7222 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7230 char * kwnames
[] = {
7231 (char *) "self",(char *) "other", NULL
7234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7236 if (!SWIG_IsOK(res1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7239 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7241 if (!SWIG_IsOK(res2
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7244 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7246 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7258 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
= 0;
7260 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7261 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "self",(char *) "other", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7280 if (!SWIG_IsOK(res2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7285 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7297 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7300 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7301 return SWIG_Py_Void();
7304 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 return SWIG_Python_InitShadowInstance(args
);
7308 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
= 0;
7316 wxBitmap
*result
= 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 PyObject
* obj2
= 0 ;
7326 PyObject
* obj3
= 0 ;
7327 char * kwnames
[] = {
7328 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7333 if (!SWIG_IsOK(ecode1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7336 arg1
= static_cast< int >(val1
);
7337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7338 if (!SWIG_IsOK(ecode2
)) {
7339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7341 arg2
= static_cast< int >(val2
);
7343 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7347 if (obj3
!= Py_None
) {
7348 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7353 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7363 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
= 0;
7369 wxBitmap
*result
= 0 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 char * kwnames
[] = {
7379 (char *) "width",(char *) "height",(char *) "data", NULL
7382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7384 if (!SWIG_IsOK(ecode1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7387 arg1
= static_cast< int >(val1
);
7388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7389 if (!SWIG_IsOK(ecode2
)) {
7390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7392 arg2
= static_cast< int >(val2
);
7394 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7398 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7408 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
= 0;
7414 wxBitmap
*result
= 0 ;
7420 PyObject
* obj0
= 0 ;
7421 PyObject
* obj1
= 0 ;
7422 PyObject
* obj2
= 0 ;
7423 char * kwnames
[] = {
7424 (char *) "width",(char *) "height",(char *) "data", NULL
7427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7429 if (!SWIG_IsOK(ecode1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7432 arg1
= static_cast< int >(val1
);
7433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7434 if (!SWIG_IsOK(ecode2
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7437 arg2
= static_cast< int >(val2
);
7439 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7443 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7453 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7454 PyObject
*resultobj
= 0;
7455 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7459 PyObject
*swig_obj
[1] ;
7461 if (!args
) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7467 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7469 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7479 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7480 PyObject
*resultobj
= 0;
7481 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7485 PyObject
*swig_obj
[1] ;
7487 if (!args
) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7493 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7495 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_From_int(static_cast< int >(result
));
7505 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7506 PyObject
*resultobj
= 0;
7507 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7511 PyObject
*swig_obj
[1] ;
7513 if (!args
) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7519 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7521 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_From_int(static_cast< int >(result
));
7531 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7532 PyObject
*resultobj
= 0;
7533 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7537 PyObject
*swig_obj
[1] ;
7539 if (!args
) SWIG_fail
;
7541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7542 if (!SWIG_IsOK(res1
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7545 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7547 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7557 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7558 PyObject
*resultobj
= 0;
7559 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7563 PyObject
*swig_obj
[1] ;
7565 if (!args
) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7571 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7573 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_From_int(static_cast< int >(result
));
7583 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7587 return SWIG_Py_Void();
7590 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7591 PyObject
*resultobj
= 0;
7592 wxBitmap
*arg1
= 0 ;
7593 wxNativePixelData
*result
= 0 ;
7597 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7605 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7607 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7617 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7618 PyObject
*resultobj
= 0;
7619 wxBitmap
*arg1
= 0 ;
7621 wxNativePixelData
*result
= 0 ;
7626 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7628 if (!SWIG_IsOK(res1
)) {
7629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7637 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7640 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7650 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7651 PyObject
*resultobj
= 0;
7652 wxBitmap
*arg1
= 0 ;
7655 wxNativePixelData
*result
= 0 ;
7661 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7672 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7676 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7679 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7689 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7693 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7696 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7699 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7702 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7706 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7711 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7712 PyObject
*resultobj
= 0;
7713 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7716 PyObject
*swig_obj
[1] ;
7718 if (!args
) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7724 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_Py_Void();
7737 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7738 PyObject
*resultobj
= 0;
7739 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7740 wxNativePixelData_Accessor result
;
7743 PyObject
*swig_obj
[1] ;
7745 if (!args
) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7751 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7753 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7763 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7764 PyObject
*resultobj
= 0;
7765 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7768 PyObject
*swig_obj
[1] ;
7770 if (!args
) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7776 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_Py_Void();
7788 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7789 PyObject
*resultobj
= 0;
7790 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7794 PyObject
*swig_obj
[1] ;
7796 if (!args
) SWIG_fail
;
7798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7799 if (!SWIG_IsOK(res1
)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7802 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7804 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7816 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7819 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7820 return SWIG_Py_Void();
7823 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 return SWIG_Python_InitShadowInstance(args
);
7827 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7828 PyObject
*resultobj
= 0;
7829 wxNativePixelData
*arg1
= 0 ;
7830 wxNativePixelData_Accessor
*result
= 0 ;
7834 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7842 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7844 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7854 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7855 PyObject
*resultobj
= 0;
7856 wxBitmap
*arg1
= 0 ;
7857 wxNativePixelData
*arg2
= 0 ;
7858 wxNativePixelData_Accessor
*result
= 0 ;
7864 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7873 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7874 if (!SWIG_IsOK(res2
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7880 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7882 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7892 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7893 PyObject
*resultobj
= 0;
7894 wxNativePixelData_Accessor
*result
= 0 ;
7896 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7898 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7908 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7912 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7915 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7918 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7921 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7925 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7930 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7931 PyObject
*resultobj
= 0;
7932 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7935 PyObject
*swig_obj
[1] ;
7937 if (!args
) SWIG_fail
;
7939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7940 if (!SWIG_IsOK(res1
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7943 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_Py_Void();
7956 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
= 0;
7958 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7959 wxNativePixelData
*arg2
= 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "data", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7975 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7977 if (!SWIG_IsOK(res2
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7983 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7985 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_Py_Void();
7995 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7996 PyObject
*resultobj
= 0;
7997 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8001 PyObject
*swig_obj
[1] ;
8003 if (!args
) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8009 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8011 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8023 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8028 PyObject
*swig_obj
[1] ;
8030 if (!args
) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8036 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8038 wxNativePixelData_Accessor_nextPixel(arg1
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8051 wxNativePixelData
*arg2
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8077 if (!SWIG_IsOK(res2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8083 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8085 if (!SWIG_IsOK(ecode3
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8088 arg3
= static_cast< int >(val3
);
8089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8090 if (!SWIG_IsOK(ecode4
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8093 arg4
= static_cast< int >(val4
);
8095 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8108 wxNativePixelData
*arg2
= 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 char * kwnames
[] = {
8120 (char *) "self",(char *) "data",(char *) "x", NULL
8123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8128 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8130 if (!SWIG_IsOK(res2
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8136 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8138 if (!SWIG_IsOK(ecode3
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8141 arg3
= static_cast< int >(val3
);
8143 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_Py_Void();
8153 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
= 0;
8155 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8156 wxNativePixelData
*arg2
= 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 char * kwnames
[] = {
8168 (char *) "self",(char *) "data",(char *) "y", NULL
8171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8173 if (!SWIG_IsOK(res1
)) {
8174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8176 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8178 if (!SWIG_IsOK(res2
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8184 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8186 if (!SWIG_IsOK(ecode3
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8189 arg3
= static_cast< int >(val3
);
8191 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_Py_Void();
8201 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
= 0;
8203 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8204 wxNativePixelData
*arg2
= 0 ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 char * kwnames
[] = {
8220 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8228 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8230 if (!SWIG_IsOK(res2
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8236 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8238 if (!SWIG_IsOK(ecode3
)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8241 arg3
= static_cast< int >(val3
);
8242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8243 if (!SWIG_IsOK(ecode4
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8246 arg4
= static_cast< int >(val4
);
8248 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_Py_Void();
8258 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
= 0;
8260 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8266 unsigned char val2
;
8268 unsigned char val3
;
8270 unsigned char val4
;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8274 PyObject
* obj2
= 0 ;
8275 PyObject
* obj3
= 0 ;
8276 char * kwnames
[] = {
8277 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8282 if (!SWIG_IsOK(res1
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8285 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8286 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8287 if (!SWIG_IsOK(ecode2
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8290 arg2
= static_cast< byte
>(val2
);
8291 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8292 if (!SWIG_IsOK(ecode3
)) {
8293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8295 arg3
= static_cast< byte
>(val3
);
8296 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8297 if (!SWIG_IsOK(ecode4
)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8300 arg4
= static_cast< byte
>(val4
);
8302 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= SWIG_Py_Void();
8312 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8313 PyObject
*resultobj
= 0;
8314 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8315 PyObject
*result
= 0 ;
8318 PyObject
*swig_obj
[1] ;
8320 if (!args
) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8326 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8328 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8338 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8341 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8342 return SWIG_Py_Void();
8345 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8346 return SWIG_Python_InitShadowInstance(args
);
8349 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8350 PyObject
*resultobj
= 0;
8351 wxBitmap
*arg1
= 0 ;
8352 wxAlphaPixelData
*result
= 0 ;
8356 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8366 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8376 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8377 PyObject
*resultobj
= 0;
8378 wxBitmap
*arg1
= 0 ;
8380 wxAlphaPixelData
*result
= 0 ;
8385 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8387 if (!SWIG_IsOK(res1
)) {
8388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8393 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8396 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8399 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8409 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8410 PyObject
*resultobj
= 0;
8411 wxBitmap
*arg1
= 0 ;
8414 wxAlphaPixelData
*result
= 0 ;
8420 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8428 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8431 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8435 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8438 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8448 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8452 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8455 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8458 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8461 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8465 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8470 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8471 PyObject
*resultobj
= 0;
8472 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8475 PyObject
*swig_obj
[1] ;
8477 if (!args
) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8483 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_Py_Void();
8496 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 PyObject
*resultobj
= 0;
8498 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8499 wxAlphaPixelData_Accessor result
;
8502 PyObject
*swig_obj
[1] ;
8504 if (!args
) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8510 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8512 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8522 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8523 PyObject
*resultobj
= 0;
8524 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8527 PyObject
*swig_obj
[1] ;
8529 if (!args
) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8535 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_Py_Void();
8547 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8548 PyObject
*resultobj
= 0;
8549 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8553 PyObject
*swig_obj
[1] ;
8555 if (!args
) SWIG_fail
;
8557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8558 if (!SWIG_IsOK(res1
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8561 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8563 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8578 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8579 return SWIG_Py_Void();
8582 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8583 return SWIG_Python_InitShadowInstance(args
);
8586 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8587 PyObject
*resultobj
= 0;
8588 wxAlphaPixelData
*arg1
= 0 ;
8589 wxAlphaPixelData_Accessor
*result
= 0 ;
8593 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8595 if (!SWIG_IsOK(res1
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8603 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8613 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8614 PyObject
*resultobj
= 0;
8615 wxBitmap
*arg1
= 0 ;
8616 wxAlphaPixelData
*arg2
= 0 ;
8617 wxAlphaPixelData_Accessor
*result
= 0 ;
8623 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8625 if (!SWIG_IsOK(res1
)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8631 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8632 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8633 if (!SWIG_IsOK(res2
)) {
8634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8639 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8641 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8651 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8652 PyObject
*resultobj
= 0;
8653 wxAlphaPixelData_Accessor
*result
= 0 ;
8655 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8657 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8667 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8671 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8674 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8677 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8680 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8684 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8689 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8690 PyObject
*resultobj
= 0;
8691 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8694 PyObject
*swig_obj
[1] ;
8696 if (!args
) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8702 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
= 0;
8717 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8718 wxAlphaPixelData
*arg2
= 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "self",(char *) "data", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8734 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8736 if (!SWIG_IsOK(res2
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8742 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8744 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8755 PyObject
*resultobj
= 0;
8756 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8760 PyObject
*swig_obj
[1] ;
8762 if (!args
) SWIG_fail
;
8764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8765 if (!SWIG_IsOK(res1
)) {
8766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8768 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8770 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8782 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 PyObject
*resultobj
= 0;
8784 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8787 PyObject
*swig_obj
[1] ;
8789 if (!args
) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8795 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8797 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8810 wxAlphaPixelData
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8842 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8852 arg4
= static_cast< int >(val4
);
8854 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8867 wxAlphaPixelData
*arg2
= 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "self",(char *) "data",(char *) "x", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8887 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8889 if (!SWIG_IsOK(res2
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8895 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8897 if (!SWIG_IsOK(ecode3
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8900 arg3
= static_cast< int >(val3
);
8902 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_Py_Void();
8912 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8915 wxAlphaPixelData
*arg2
= 0 ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "data",(char *) "y", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8935 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8937 if (!SWIG_IsOK(res2
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8943 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8945 if (!SWIG_IsOK(ecode3
)) {
8946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8948 arg3
= static_cast< int >(val3
);
8950 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= SWIG_Py_Void();
8960 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
= 0;
8962 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8963 wxAlphaPixelData
*arg2
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 PyObject
* obj3
= 0 ;
8978 char * kwnames
[] = {
8979 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8984 if (!SWIG_IsOK(res1
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8987 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8989 if (!SWIG_IsOK(res2
)) {
8990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8995 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8997 if (!SWIG_IsOK(ecode3
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9000 arg3
= static_cast< int >(val3
);
9001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9002 if (!SWIG_IsOK(ecode4
)) {
9003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9005 arg4
= static_cast< int >(val4
);
9007 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_Py_Void();
9017 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
= 0;
9019 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9026 unsigned char val2
;
9028 unsigned char val3
;
9030 unsigned char val4
;
9032 unsigned char val5
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9037 PyObject
* obj3
= 0 ;
9038 PyObject
* obj4
= 0 ;
9039 char * kwnames
[] = {
9040 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9048 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9049 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9050 if (!SWIG_IsOK(ecode2
)) {
9051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9053 arg2
= static_cast< byte
>(val2
);
9054 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9055 if (!SWIG_IsOK(ecode3
)) {
9056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9058 arg3
= static_cast< byte
>(val3
);
9059 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9060 if (!SWIG_IsOK(ecode4
)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9063 arg4
= static_cast< byte
>(val4
);
9064 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9065 if (!SWIG_IsOK(ecode5
)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9068 arg5
= static_cast< byte
>(val5
);
9070 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_Py_Void();
9080 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9081 PyObject
*resultobj
= 0;
9082 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9083 PyObject
*result
= 0 ;
9086 PyObject
*swig_obj
[1] ;
9088 if (!args
) SWIG_fail
;
9090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9091 if (!SWIG_IsOK(res1
)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9094 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9096 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9106 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9109 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9110 return SWIG_Py_Void();
9113 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 return SWIG_Python_InitShadowInstance(args
);
9117 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxBitmap
*arg1
= 0 ;
9120 wxColour
const &arg2_defvalue
= wxNullColour
;
9121 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9122 wxMask
*result
= 0 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "bitmap",(char *) "colour", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9140 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9148 if (!wxPyCheckForApp()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9161 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9162 PyObject
*resultobj
= 0;
9163 wxMask
*arg1
= (wxMask
*) 0 ;
9166 PyObject
*swig_obj
[1] ;
9168 if (!args
) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9174 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_Py_Void();
9187 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9190 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9191 return SWIG_Py_Void();
9194 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9195 return SWIG_Python_InitShadowInstance(args
);
9198 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
= 0;
9200 wxString
*arg1
= 0 ;
9202 int arg3
= (int) -1 ;
9203 int arg4
= (int) -1 ;
9204 wxIcon
*result
= 0 ;
9205 bool temp1
= false ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9215 PyObject
* obj3
= 0 ;
9216 char * kwnames
[] = {
9217 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9222 arg1
= wxString_in_helper(obj0
);
9223 if (arg1
== NULL
) SWIG_fail
;
9226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9227 if (!SWIG_IsOK(ecode2
)) {
9228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9230 arg2
= static_cast< wxBitmapType
>(val2
);
9232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9233 if (!SWIG_IsOK(ecode3
)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9236 arg3
= static_cast< int >(val3
);
9239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9240 if (!SWIG_IsOK(ecode4
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9243 arg4
= static_cast< int >(val4
);
9246 if (!wxPyCheckForApp()) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9267 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9268 PyObject
*resultobj
= 0;
9269 wxIcon
*arg1
= (wxIcon
*) 0 ;
9272 PyObject
*swig_obj
[1] ;
9274 if (!args
) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9280 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_Py_Void();
9295 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxIcon
*result
= 0 ;
9299 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9301 if (!wxPyCheckForApp()) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (wxIcon
*)new wxIcon();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9314 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= 0;
9316 wxIconLocation
*arg1
= 0 ;
9317 wxIcon
*result
= 0 ;
9320 PyObject
* obj0
= 0 ;
9321 char * kwnames
[] = {
9322 (char *) "loc", NULL
9325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9333 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9335 if (!wxPyCheckForApp()) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9348 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
= 0;
9350 wxBitmap
*arg1
= 0 ;
9351 wxIcon
*result
= 0 ;
9354 PyObject
* obj0
= 0 ;
9355 char * kwnames
[] = {
9356 (char *) "bmp", NULL
9359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9367 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9369 if (!wxPyCheckForApp()) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9382 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
= 0;
9384 PyObject
*arg1
= (PyObject
*) 0 ;
9385 wxIcon
*result
= 0 ;
9386 PyObject
* obj0
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "listOfStrings", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9394 if (!wxPyCheckForApp()) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (wxIcon
*)new_wxIcon(arg1
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9407 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
= 0;
9409 wxIcon
*arg1
= (wxIcon
*) 0 ;
9410 wxString
*arg2
= 0 ;
9415 bool temp2
= false ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9421 char * kwnames
[] = {
9422 (char *) "self",(char *) "name",(char *) "type", NULL
9425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9427 if (!SWIG_IsOK(res1
)) {
9428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9430 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9432 arg2
= wxString_in_helper(obj1
);
9433 if (arg2
== NULL
) SWIG_fail
;
9436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9437 if (!SWIG_IsOK(ecode3
)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9440 arg3
= static_cast< wxBitmapType
>(val3
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9464 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9465 PyObject
*resultobj
= 0;
9466 wxIcon
*arg1
= (wxIcon
*) 0 ;
9470 PyObject
*swig_obj
[1] ;
9472 if (!args
) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9478 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (long)(arg1
)->GetHandle();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_From_long(static_cast< long >(result
));
9492 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
= 0;
9494 wxIcon
*arg1
= (wxIcon
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 char * kwnames
[] = {
9503 (char *) "self",(char *) "handle", NULL
9506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9511 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9512 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9513 if (!SWIG_IsOK(ecode2
)) {
9514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9516 arg2
= static_cast< long >(val2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 wxIcon_SetHandle(arg1
,arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_Py_Void();
9530 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 PyObject
*resultobj
= 0;
9532 wxIcon
*arg1
= (wxIcon
*) 0 ;
9536 PyObject
*swig_obj
[1] ;
9538 if (!args
) SWIG_fail
;
9540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9541 if (!SWIG_IsOK(res1
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9544 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)(arg1
)->IsOk();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9561 PyObject
*resultobj
= 0;
9562 wxIcon
*arg1
= (wxIcon
*) 0 ;
9566 PyObject
*swig_obj
[1] ;
9568 if (!args
) SWIG_fail
;
9570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9571 if (!SWIG_IsOK(res1
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9574 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (int)(arg1
)->GetWidth();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_From_int(static_cast< int >(result
));
9588 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9589 PyObject
*resultobj
= 0;
9590 wxIcon
*arg1
= (wxIcon
*) 0 ;
9594 PyObject
*swig_obj
[1] ;
9596 if (!args
) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9602 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (int)(arg1
)->GetHeight();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_From_int(static_cast< int >(result
));
9616 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9617 PyObject
*resultobj
= 0;
9618 wxIcon
*arg1
= (wxIcon
*) 0 ;
9622 PyObject
*swig_obj
[1] ;
9624 if (!args
) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9630 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (int)(arg1
)->GetDepth();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_From_int(static_cast< int >(result
));
9644 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= 0;
9646 wxIcon
*arg1
= (wxIcon
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 char * kwnames
[] = {
9655 (char *) "self",(char *) "w", NULL
9658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9663 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9665 if (!SWIG_IsOK(ecode2
)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9668 arg2
= static_cast< int >(val2
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->SetWidth(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_Py_Void();
9682 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxIcon
*arg1
= (wxIcon
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 char * kwnames
[] = {
9693 (char *) "self",(char *) "h", NULL
9696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9701 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9703 if (!SWIG_IsOK(ecode2
)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9706 arg2
= static_cast< int >(val2
);
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetHeight(arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxIcon
*arg1
= (wxIcon
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "d", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9739 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9741 if (!SWIG_IsOK(ecode2
)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9744 arg2
= static_cast< int >(val2
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetDepth(arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_Py_Void();
9758 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxIcon
*arg1
= (wxIcon
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "size", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9776 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9779 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 (arg1
)->SetSize((wxSize
const &)*arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_Py_Void();
9794 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxIcon
*arg1
= (wxIcon
*) 0 ;
9797 wxBitmap
*arg2
= 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "bmp", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9813 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9815 if (!SWIG_IsOK(res2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9821 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9838 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9839 return SWIG_Py_Void();
9842 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9843 return SWIG_Python_InitShadowInstance(args
);
9846 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
= 0;
9848 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9849 int arg2
= (int) 0 ;
9850 wxIconLocation
*result
= 0 ;
9851 bool temp1
= false ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 char * kwnames
[] = {
9857 (char *) "filename",(char *) "num", NULL
9860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9863 arg1
= wxString_in_helper(obj0
);
9864 if (arg1
== NULL
) SWIG_fail
;
9869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9870 if (!SWIG_IsOK(ecode2
)) {
9871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9873 arg2
= static_cast< int >(val2
);
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9896 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9897 PyObject
*resultobj
= 0;
9898 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9901 PyObject
*swig_obj
[1] ;
9903 if (!args
) SWIG_fail
;
9905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9906 if (!SWIG_IsOK(res1
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9909 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= SWIG_Py_Void();
9924 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9925 PyObject
*resultobj
= 0;
9926 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9930 PyObject
*swig_obj
[1] ;
9932 if (!args
) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9938 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9957 wxString
*arg2
= 0 ;
9960 bool temp2
= false ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "self",(char *) "filename", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9972 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9974 arg2
= wxString_in_helper(obj1
);
9975 if (arg2
== NULL
) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->SetFileName((wxString
const &)*arg2
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_Py_Void();
9999 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10000 PyObject
*resultobj
= 0;
10001 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10002 wxString
*result
= 0 ;
10005 PyObject
*swig_obj
[1] ;
10007 if (!args
) SWIG_fail
;
10008 swig_obj
[0] = args
;
10009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10013 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10018 result
= (wxString
*) &_result_ref
;
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10036 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
= 0;
10038 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char * kwnames
[] = {
10047 (char *) "self",(char *) "num", NULL
10050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10055 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10057 if (!SWIG_IsOK(ecode2
)) {
10058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10060 arg2
= static_cast< int >(val2
);
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 wxIconLocation_SetIndex(arg1
,arg2
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_Py_Void();
10074 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10075 PyObject
*resultobj
= 0;
10076 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10080 PyObject
*swig_obj
[1] ;
10082 if (!args
) SWIG_fail
;
10083 swig_obj
[0] = args
;
10084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10088 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (int)wxIconLocation_GetIndex(arg1
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_From_int(static_cast< int >(result
));
10102 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10105 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10106 return SWIG_Py_Void();
10109 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10110 return SWIG_Python_InitShadowInstance(args
);
10113 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxIconBundle
*result
= 0 ;
10117 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (wxIconBundle
*)new wxIconBundle();
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10131 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
= 0;
10133 wxString
*arg1
= 0 ;
10135 wxIconBundle
*result
= 0 ;
10136 bool temp1
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char * kwnames
[] = {
10142 (char *) "file",(char *) "type", NULL
10145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10147 arg1
= wxString_in_helper(obj0
);
10148 if (arg1
== NULL
) SWIG_fail
;
10151 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10152 if (!SWIG_IsOK(ecode2
)) {
10153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10155 arg2
= static_cast< long >(val2
);
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10177 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
= 0;
10180 wxIconBundle
*result
= 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char * kwnames
[] = {
10185 (char *) "icon", NULL
10188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10189 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10190 if (!SWIG_IsOK(res1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10196 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10210 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10211 PyObject
*resultobj
= 0;
10212 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10215 PyObject
*swig_obj
[1] ;
10217 if (!args
) SWIG_fail
;
10218 swig_obj
[0] = args
;
10219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10223 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_Py_Void();
10238 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
= 0;
10240 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 char * kwnames
[] = {
10249 (char *) "self",(char *) "icon", NULL
10252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10257 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10259 if (!SWIG_IsOK(res2
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10265 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10282 wxString
*arg2
= 0 ;
10286 bool temp2
= false ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "file",(char *) "type", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10301 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10303 arg2
= wxString_in_helper(obj1
);
10304 if (arg2
== NULL
) SWIG_fail
;
10307 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10308 if (!SWIG_IsOK(ecode3
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10311 arg3
= static_cast< long >(val3
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_Py_Void();
10333 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
= 0;
10335 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10337 wxIcon
*result
= 0 ;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char * kwnames
[] = {
10344 (char *) "self",(char *) "size", NULL
10347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10349 if (!SWIG_IsOK(res1
)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10352 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10361 result
= (wxIcon
*) &_result_ref
;
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 wxIcon
* resultptr
= new wxIcon(*result
);
10368 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10376 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10379 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10380 return SWIG_Py_Void();
10383 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10384 return SWIG_Python_InitShadowInstance(args
);
10387 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
= 0;
10389 wxString
*arg1
= 0 ;
10391 int arg3
= (int) 0 ;
10392 int arg4
= (int) 0 ;
10393 wxCursor
*result
= 0 ;
10394 bool temp1
= false ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 PyObject
* obj3
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10411 arg1
= wxString_in_helper(obj0
);
10412 if (arg1
== NULL
) SWIG_fail
;
10415 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10416 if (!SWIG_IsOK(ecode2
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10419 arg2
= static_cast< long >(val2
);
10421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10422 if (!SWIG_IsOK(ecode3
)) {
10423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10425 arg3
= static_cast< int >(val3
);
10428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10429 if (!SWIG_IsOK(ecode4
)) {
10430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10432 arg4
= static_cast< int >(val4
);
10435 if (!wxPyCheckForApp()) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10456 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10457 PyObject
*resultobj
= 0;
10458 wxCursor
*arg1
= (wxCursor
*) 0 ;
10461 PyObject
*swig_obj
[1] ;
10463 if (!args
) SWIG_fail
;
10464 swig_obj
[0] = args
;
10465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10469 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10487 wxCursor
*result
= 0 ;
10490 PyObject
* obj0
= 0 ;
10491 char * kwnames
[] = {
10492 (char *) "id", NULL
10495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10497 if (!SWIG_IsOK(ecode1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10500 arg1
= static_cast< int >(val1
);
10502 if (!wxPyCheckForApp()) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (wxCursor
*)new wxCursor(arg1
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10515 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxImage
*arg1
= 0 ;
10518 wxCursor
*result
= 0 ;
10521 PyObject
* obj0
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "image", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10534 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10536 if (!wxPyCheckForApp()) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10549 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxCursor
*arg1
= (wxCursor
*) 0 ;
10555 PyObject
*swig_obj
[1] ;
10557 if (!args
) SWIG_fail
;
10558 swig_obj
[0] = args
;
10559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10563 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (long)(arg1
)->GetHandle();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= SWIG_From_long(static_cast< long >(result
));
10577 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
= 0;
10579 wxCursor
*arg1
= (wxCursor
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "handle", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10596 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10598 if (!SWIG_IsOK(ecode2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10601 arg2
= static_cast< long >(val2
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 wxCursor_SetHandle(arg1
,arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_Py_Void();
10615 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 PyObject
*resultobj
= 0;
10617 wxCursor
*arg1
= (wxCursor
*) 0 ;
10621 PyObject
*swig_obj
[1] ;
10623 if (!args
) SWIG_fail
;
10624 swig_obj
[0] = args
;
10625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10626 if (!SWIG_IsOK(res1
)) {
10627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10629 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->IsOk();
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10645 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10646 PyObject
*resultobj
= 0;
10647 wxCursor
*arg1
= (wxCursor
*) 0 ;
10651 PyObject
*swig_obj
[1] ;
10653 if (!args
) SWIG_fail
;
10654 swig_obj
[0] = args
;
10655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10656 if (!SWIG_IsOK(res1
)) {
10657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10659 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)(arg1
)->GetWidth();
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= SWIG_From_int(static_cast< int >(result
));
10673 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10674 PyObject
*resultobj
= 0;
10675 wxCursor
*arg1
= (wxCursor
*) 0 ;
10679 PyObject
*swig_obj
[1] ;
10681 if (!args
) SWIG_fail
;
10682 swig_obj
[0] = args
;
10683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10687 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (int)(arg1
)->GetHeight();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_From_int(static_cast< int >(result
));
10701 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10702 PyObject
*resultobj
= 0;
10703 wxCursor
*arg1
= (wxCursor
*) 0 ;
10707 PyObject
*swig_obj
[1] ;
10709 if (!args
) SWIG_fail
;
10710 swig_obj
[0] = args
;
10711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10712 if (!SWIG_IsOK(res1
)) {
10713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10715 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (int)(arg1
)->GetDepth();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= SWIG_From_int(static_cast< int >(result
));
10729 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
= 0;
10731 wxCursor
*arg1
= (wxCursor
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char * kwnames
[] = {
10740 (char *) "self",(char *) "w", NULL
10743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10748 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10750 if (!SWIG_IsOK(ecode2
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10753 arg2
= static_cast< int >(val2
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetWidth(arg2
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_Py_Void();
10767 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
= 0;
10769 wxCursor
*arg1
= (wxCursor
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char * kwnames
[] = {
10778 (char *) "self",(char *) "h", NULL
10781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10783 if (!SWIG_IsOK(res1
)) {
10784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10786 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10788 if (!SWIG_IsOK(ecode2
)) {
10789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10791 arg2
= static_cast< int >(val2
);
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetHeight(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_Py_Void();
10805 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxCursor
*arg1
= (wxCursor
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "d", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10824 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10829 arg2
= static_cast< int >(val2
);
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetDepth(arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_Py_Void();
10843 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
= 0;
10845 wxCursor
*arg1
= (wxCursor
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "size", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10861 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetSize((wxSize
const &)*arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10879 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10882 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10883 return SWIG_Py_Void();
10886 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10887 return SWIG_Python_InitShadowInstance(args
);
10890 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= 0;
10892 int arg1
= (int) 0 ;
10893 int arg2
= (int) 0 ;
10894 int arg3
= (int) 0 ;
10895 int arg4
= (int) 0 ;
10896 wxRegion
*result
= 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 PyObject
* obj2
= 0 ;
10908 PyObject
* obj3
= 0 ;
10909 char * kwnames
[] = {
10910 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10915 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10916 if (!SWIG_IsOK(ecode1
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10919 arg1
= static_cast< int >(val1
);
10922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10923 if (!SWIG_IsOK(ecode2
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10926 arg2
= static_cast< int >(val2
);
10929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10930 if (!SWIG_IsOK(ecode3
)) {
10931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10933 arg3
= static_cast< int >(val3
);
10936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10937 if (!SWIG_IsOK(ecode4
)) {
10938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10940 arg4
= static_cast< int >(val4
);
10943 if (!wxPyCheckForApp()) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10956 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
= 0;
10958 wxBitmap
*arg1
= 0 ;
10959 wxRegion
*result
= 0 ;
10962 PyObject
* obj0
= 0 ;
10963 char * kwnames
[] = {
10964 (char *) "bmp", NULL
10967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10968 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10969 if (!SWIG_IsOK(res1
)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10975 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10977 if (!wxPyCheckForApp()) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10990 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= 0;
10992 wxBitmap
*arg1
= 0 ;
10993 wxColour
*arg2
= 0 ;
10994 int arg3
= (int) 0 ;
10995 wxRegion
*result
= 0 ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 PyObject
* obj2
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11023 if (!SWIG_IsOK(ecode3
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11026 arg3
= static_cast< int >(val3
);
11029 if (!wxPyCheckForApp()) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11042 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11045 wxPoint
*arg2
= (wxPoint
*) 0 ;
11046 int arg3
= (int) wxWINDING_RULE
;
11047 wxRegion
*result
= 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char * kwnames
[] = {
11053 (char *) "points",(char *) "fillStyle", NULL
11056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11058 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11059 if (arg2
== NULL
) SWIG_fail
;
11062 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11063 if (!SWIG_IsOK(ecode3
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11066 arg3
= static_cast< int >(val3
);
11069 if (!wxPyCheckForApp()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11077 if (arg2
) delete [] arg2
;
11082 if (arg2
) delete [] arg2
;
11088 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11089 PyObject
*resultobj
= 0;
11090 wxRegion
*arg1
= (wxRegion
*) 0 ;
11093 PyObject
*swig_obj
[1] ;
11095 if (!args
) SWIG_fail
;
11096 swig_obj
[0] = args
;
11097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11101 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_Py_Void();
11116 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxRegion
*arg1
= (wxRegion
*) 0 ;
11121 PyObject
*swig_obj
[1] ;
11123 if (!args
) SWIG_fail
;
11124 swig_obj
[0] = args
;
11125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11129 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_Py_Void();
11143 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxRegion
*arg1
= (wxRegion
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 PyObject
* obj2
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "x",(char *) "y", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11167 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11172 arg2
= static_cast< int >(val2
);
11173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11174 if (!SWIG_IsOK(ecode3
)) {
11175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11177 arg3
= static_cast< int >(val3
);
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11193 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
= 0;
11195 wxRegion
*arg1
= (wxRegion
*) 0 ;
11198 wxRegionContain result
;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 PyObject
* obj2
= 0 ;
11208 char * kwnames
[] = {
11209 (char *) "self",(char *) "x",(char *) "y", NULL
11212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11217 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11219 if (!SWIG_IsOK(ecode2
)) {
11220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11222 arg2
= static_cast< int >(val2
);
11223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11224 if (!SWIG_IsOK(ecode3
)) {
11225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11227 arg3
= static_cast< int >(val3
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_From_int(static_cast< int >(result
));
11241 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxRegion
*arg1
= (wxRegion
*) 0 ;
11244 wxPoint
*arg2
= 0 ;
11245 wxRegionContain result
;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "self",(char *) "pt", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11260 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_From_int(static_cast< int >(result
));
11278 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11282 wxRegionContain result
;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char * kwnames
[] = {
11289 (char *) "self",(char *) "rect", NULL
11292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11297 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
= 0;
11317 wxRegion
*arg1
= (wxRegion
*) 0 ;
11322 wxRegionContain result
;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 PyObject
* obj3
= 0 ;
11337 PyObject
* obj4
= 0 ;
11338 char * kwnames
[] = {
11339 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11347 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11349 if (!SWIG_IsOK(ecode2
)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11352 arg2
= static_cast< int >(val2
);
11353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11354 if (!SWIG_IsOK(ecode3
)) {
11355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11357 arg3
= static_cast< int >(val3
);
11358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11359 if (!SWIG_IsOK(ecode4
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11362 arg4
= static_cast< int >(val4
);
11363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11364 if (!SWIG_IsOK(ecode5
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11367 arg5
= static_cast< int >(val5
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_int(static_cast< int >(result
));
11381 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegion
*arg1
= (wxRegion
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11395 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (arg1
)->GetBox();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11409 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
= 0;
11411 wxRegion
*arg1
= (wxRegion
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 PyObject
* obj3
= 0 ;
11431 PyObject
* obj4
= 0 ;
11432 char * kwnames
[] = {
11433 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11441 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11443 if (!SWIG_IsOK(ecode2
)) {
11444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11446 arg2
= static_cast< int >(val2
);
11447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11448 if (!SWIG_IsOK(ecode3
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11451 arg3
= static_cast< int >(val3
);
11452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11453 if (!SWIG_IsOK(ecode4
)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11456 arg4
= static_cast< int >(val4
);
11457 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11458 if (!SWIG_IsOK(ecode5
)) {
11459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11461 arg5
= static_cast< int >(val5
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11477 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
= 0;
11479 wxRegion
*arg1
= (wxRegion
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char * kwnames
[] = {
11488 (char *) "self",(char *) "rect", NULL
11491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11496 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11499 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegion
*arg1
= (wxRegion
*) 0 ;
11519 wxRegion
*arg2
= 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char * kwnames
[] = {
11528 (char *) "self",(char *) "region", NULL
11531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11533 if (!SWIG_IsOK(res1
)) {
11534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11538 if (!SWIG_IsOK(res2
)) {
11539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11544 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11560 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11561 PyObject
*resultobj
= 0;
11562 wxRegion
*arg1
= (wxRegion
*) 0 ;
11566 PyObject
*swig_obj
[1] ;
11568 if (!args
) SWIG_fail
;
11569 swig_obj
[0] = args
;
11570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11571 if (!SWIG_IsOK(res1
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)(arg1
)->IsEmpty();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11590 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
= 0;
11592 wxRegion
*arg1
= (wxRegion
*) 0 ;
11593 wxRegion
*arg2
= 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char * kwnames
[] = {
11602 (char *) "self",(char *) "region", NULL
11605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11610 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11612 if (!SWIG_IsOK(res2
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11618 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11634 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
= 0;
11636 wxRegion
*arg1
= (wxRegion
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 PyObject
* obj3
= 0 ;
11656 PyObject
* obj4
= 0 ;
11657 char * kwnames
[] = {
11658 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11666 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11668 if (!SWIG_IsOK(ecode2
)) {
11669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11671 arg2
= static_cast< int >(val2
);
11672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11673 if (!SWIG_IsOK(ecode3
)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11676 arg3
= static_cast< int >(val3
);
11677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11678 if (!SWIG_IsOK(ecode4
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11681 arg4
= static_cast< int >(val4
);
11682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11683 if (!SWIG_IsOK(ecode5
)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11686 arg5
= static_cast< int >(val5
);
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11702 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
= 0;
11704 wxRegion
*arg1
= (wxRegion
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 char * kwnames
[] = {
11713 (char *) "self",(char *) "rect", NULL
11716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11721 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11741 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
= 0;
11743 wxRegion
*arg1
= (wxRegion
*) 0 ;
11744 wxRegion
*arg2
= 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char * kwnames
[] = {
11753 (char *) "self",(char *) "region", NULL
11756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11761 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11763 if (!SWIG_IsOK(res2
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11769 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
= 0;
11787 wxRegion
*arg1
= (wxRegion
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 PyObject
* obj3
= 0 ;
11807 PyObject
* obj4
= 0 ;
11808 char * kwnames
[] = {
11809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11814 if (!SWIG_IsOK(res1
)) {
11815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11817 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11819 if (!SWIG_IsOK(ecode2
)) {
11820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11822 arg2
= static_cast< int >(val2
);
11823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11824 if (!SWIG_IsOK(ecode3
)) {
11825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11827 arg3
= static_cast< int >(val3
);
11828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11829 if (!SWIG_IsOK(ecode4
)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11832 arg4
= static_cast< int >(val4
);
11833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11834 if (!SWIG_IsOK(ecode5
)) {
11835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11837 arg5
= static_cast< int >(val5
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11853 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
= 0;
11855 wxRegion
*arg1
= (wxRegion
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char * kwnames
[] = {
11864 (char *) "self",(char *) "rect", NULL
11867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11869 if (!SWIG_IsOK(res1
)) {
11870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11872 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11875 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxRegion
*arg1
= (wxRegion
*) 0 ;
11895 wxRegion
*arg2
= 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "region", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11912 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11914 if (!SWIG_IsOK(res2
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11920 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11936 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
= 0;
11938 wxRegion
*arg1
= (wxRegion
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 PyObject
* obj2
= 0 ;
11957 PyObject
* obj3
= 0 ;
11958 PyObject
* obj4
= 0 ;
11959 char * kwnames
[] = {
11960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11965 if (!SWIG_IsOK(res1
)) {
11966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11968 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11970 if (!SWIG_IsOK(ecode2
)) {
11971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11973 arg2
= static_cast< int >(val2
);
11974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11975 if (!SWIG_IsOK(ecode3
)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11978 arg3
= static_cast< int >(val3
);
11979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11980 if (!SWIG_IsOK(ecode4
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11983 arg4
= static_cast< int >(val4
);
11984 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11985 if (!SWIG_IsOK(ecode5
)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11988 arg5
= static_cast< int >(val5
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
= 0;
12006 wxRegion
*arg1
= (wxRegion
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char * kwnames
[] = {
12015 (char *) "self",(char *) "rect", NULL
12018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12023 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12026 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12043 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxRegion
*arg1
= (wxRegion
*) 0 ;
12046 wxRegion
*arg2
= 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "region", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12063 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12065 if (!SWIG_IsOK(res2
)) {
12066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12071 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12087 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxRegion
*arg1
= (wxRegion
*) 0 ;
12090 SwigValueWrapper
<wxBitmap
> result
;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12101 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (arg1
)->ConvertToBitmap();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12115 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxRegion
*arg1
= (wxRegion
*) 0 ;
12118 wxBitmap
*arg2
= 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char * kwnames
[] = {
12127 (char *) "self",(char *) "bmp", NULL
12130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12135 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12137 if (!SWIG_IsOK(res2
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12143 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12159 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
= 0;
12161 wxRegion
*arg1
= (wxRegion
*) 0 ;
12162 wxBitmap
*arg2
= 0 ;
12163 wxColour
*arg3
= 0 ;
12164 int arg4
= (int) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 PyObject
* obj3
= 0 ;
12177 char * kwnames
[] = {
12178 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12186 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12188 if (!SWIG_IsOK(res2
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12194 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12197 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12201 if (!SWIG_IsOK(ecode4
)) {
12202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12204 arg4
= static_cast< int >(val4
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12221 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12224 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12225 return SWIG_Py_Void();
12228 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 return SWIG_Python_InitShadowInstance(args
);
12232 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxRegion
*arg1
= 0 ;
12235 wxRegionIterator
*result
= 0 ;
12238 PyObject
* obj0
= 0 ;
12239 char * kwnames
[] = {
12240 (char *) "region", NULL
12243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12244 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12245 if (!SWIG_IsOK(res1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12251 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12253 if (!wxPyCheckForApp()) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12266 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 PyObject
*resultobj
= 0;
12268 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12271 PyObject
*swig_obj
[1] ;
12273 if (!args
) SWIG_fail
;
12274 swig_obj
[0] = args
;
12275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12279 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_Py_Void();
12294 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12308 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (int)(arg1
)->GetX();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_From_int(static_cast< int >(result
));
12322 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12336 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (int)(arg1
)->GetY();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast< int >(result
));
12350 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12364 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (int)(arg1
)->GetW();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int(static_cast< int >(result
));
12378 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 PyObject
*resultobj
= 0;
12380 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12384 PyObject
*swig_obj
[1] ;
12386 if (!args
) SWIG_fail
;
12387 swig_obj
[0] = args
;
12388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12389 if (!SWIG_IsOK(res1
)) {
12390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12392 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (int)(arg1
)->GetWidth();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_From_int(static_cast< int >(result
));
12406 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 PyObject
*resultobj
= 0;
12408 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12420 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (int)(arg1
)->GetH();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_From_int(static_cast< int >(result
));
12434 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12435 PyObject
*resultobj
= 0;
12436 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12440 PyObject
*swig_obj
[1] ;
12442 if (!args
) SWIG_fail
;
12443 swig_obj
[0] = args
;
12444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12448 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (int)(arg1
)->GetHeight();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_From_int(static_cast< int >(result
));
12462 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12463 PyObject
*resultobj
= 0;
12464 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12468 PyObject
*swig_obj
[1] ;
12470 if (!args
) SWIG_fail
;
12471 swig_obj
[0] = args
;
12472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12473 if (!SWIG_IsOK(res1
)) {
12474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12476 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (arg1
)->GetRect();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12490 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12491 PyObject
*resultobj
= 0;
12492 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12496 PyObject
*swig_obj
[1] ;
12498 if (!args
) SWIG_fail
;
12499 swig_obj
[0] = args
;
12500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12504 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (bool)(arg1
)->HaveRects();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12525 PyObject
*swig_obj
[1] ;
12527 if (!args
) SWIG_fail
;
12528 swig_obj
[0] = args
;
12529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12533 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12548 PyObject
*resultobj
= 0;
12549 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12552 PyObject
*swig_obj
[1] ;
12554 if (!args
) SWIG_fail
;
12555 swig_obj
[0] = args
;
12556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12560 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 wxRegionIterator_Next(arg1
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_Py_Void();
12574 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 PyObject
*resultobj
= 0;
12576 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12580 PyObject
*swig_obj
[1] ;
12582 if (!args
) SWIG_fail
;
12583 swig_obj
[0] = args
;
12584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12588 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12604 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12607 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12608 return SWIG_Py_Void();
12611 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 return SWIG_Python_InitShadowInstance(args
);
12615 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxNativeFontInfo
*result
= 0 ;
12619 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12633 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12634 PyObject
*resultobj
= 0;
12635 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12638 PyObject
*swig_obj
[1] ;
12640 if (!args
) SWIG_fail
;
12641 swig_obj
[0] = args
;
12642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12646 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_Py_Void();
12661 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12663 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12666 PyObject
*swig_obj
[1] ;
12668 if (!args
) SWIG_fail
;
12669 swig_obj
[0] = args
;
12670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12671 if (!SWIG_IsOK(res1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12674 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
= 0;
12690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 char * kwnames
[] = {
12699 (char *) "self",(char *) "font", NULL
12702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12704 if (!SWIG_IsOK(res1
)) {
12705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12707 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12709 if (!SWIG_IsOK(res2
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12715 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_Py_Void();
12729 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12730 PyObject
*resultobj
= 0;
12731 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12735 PyObject
*swig_obj
[1] ;
12737 if (!args
) SWIG_fail
;
12738 swig_obj
[0] = args
;
12739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12740 if (!SWIG_IsOK(res1
)) {
12741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12743 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_From_int(static_cast< int >(result
));
12757 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12758 PyObject
*resultobj
= 0;
12759 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12763 PyObject
*swig_obj
[1] ;
12765 if (!args
) SWIG_fail
;
12766 swig_obj
[0] = args
;
12767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12768 if (!SWIG_IsOK(res1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12771 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12785 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12786 PyObject
*resultobj
= 0;
12787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12788 wxFontStyle result
;
12791 PyObject
*swig_obj
[1] ;
12793 if (!args
) SWIG_fail
;
12794 swig_obj
[0] = args
;
12795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12796 if (!SWIG_IsOK(res1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12799 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_From_int(static_cast< int >(result
));
12813 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12814 PyObject
*resultobj
= 0;
12815 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12816 wxFontWeight result
;
12819 PyObject
*swig_obj
[1] ;
12821 if (!args
) SWIG_fail
;
12822 swig_obj
[0] = args
;
12823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12824 if (!SWIG_IsOK(res1
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12827 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_From_int(static_cast< int >(result
));
12841 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12842 PyObject
*resultobj
= 0;
12843 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12847 PyObject
*swig_obj
[1] ;
12849 if (!args
) SWIG_fail
;
12850 swig_obj
[0] = args
;
12851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12852 if (!SWIG_IsOK(res1
)) {
12853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12855 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12871 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12872 PyObject
*resultobj
= 0;
12873 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12877 PyObject
*swig_obj
[1] ;
12879 if (!args
) SWIG_fail
;
12880 swig_obj
[0] = args
;
12881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12882 if (!SWIG_IsOK(res1
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12885 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12905 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12908 wxFontFamily result
;
12911 PyObject
*swig_obj
[1] ;
12913 if (!args
) SWIG_fail
;
12914 swig_obj
[0] = args
;
12915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12916 if (!SWIG_IsOK(res1
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12919 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_From_int(static_cast< int >(result
));
12933 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12936 wxFontEncoding result
;
12939 PyObject
*swig_obj
[1] ;
12941 if (!args
) SWIG_fail
;
12942 swig_obj
[0] = args
;
12943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12947 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_From_int(static_cast< int >(result
));
12961 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
= 0;
12963 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char * kwnames
[] = {
12972 (char *) "self",(char *) "pointsize", NULL
12975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12980 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12982 if (!SWIG_IsOK(ecode2
)) {
12983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12985 arg2
= static_cast< int >(val2
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->SetPointSize(arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "pixelSize", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13017 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= SWIG_Py_Void();
13035 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= 0;
13037 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char * kwnames
[] = {
13046 (char *) "self",(char *) "style", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13054 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13056 if (!SWIG_IsOK(ecode2
)) {
13057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13059 arg2
= static_cast< wxFontStyle
>(val2
);
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetStyle(arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_Py_Void();
13073 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
= 0;
13075 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13076 wxFontWeight arg2
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char * kwnames
[] = {
13084 (char *) "self",(char *) "weight", NULL
13087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13092 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13094 if (!SWIG_IsOK(ecode2
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13097 arg2
= static_cast< wxFontWeight
>(val2
);
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 (arg1
)->SetWeight(arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_Py_Void();
13111 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char * kwnames
[] = {
13122 (char *) "self",(char *) "underlined", NULL
13125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13127 if (!SWIG_IsOK(res1
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13131 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13132 if (!SWIG_IsOK(ecode2
)) {
13133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13135 arg2
= static_cast< bool >(val2
);
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetUnderlined(arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_Py_Void();
13149 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
= 0;
13151 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char * kwnames
[] = {
13159 (char *) "self",(char *) "facename", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13167 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13169 wxString
* sptr
= wxString_in_helper(obj1
);
13170 if (sptr
== NULL
) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (bool)(arg1
)->SetFaceName(arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13189 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13192 wxFontFamily arg2
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "family", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13208 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13210 if (!SWIG_IsOK(ecode2
)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13213 arg2
= static_cast< wxFontFamily
>(val2
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 (arg1
)->SetFamily(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_Py_Void();
13227 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13230 wxFontEncoding arg2
;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char * kwnames
[] = {
13238 (char *) "self",(char *) "encoding", NULL
13241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13246 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13248 if (!SWIG_IsOK(ecode2
)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13251 arg2
= static_cast< wxFontEncoding
>(val2
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->SetEncoding(arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_Py_Void();
13265 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13268 wxString
*arg2
= 0 ;
13272 bool temp2
= false ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "s", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13284 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13286 arg2
= wxString_in_helper(obj1
);
13287 if (arg2
== NULL
) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13313 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13327 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13347 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13348 PyObject
*resultobj
= 0;
13349 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13353 PyObject
*swig_obj
[1] ;
13355 if (!args
) SWIG_fail
;
13356 swig_obj
[0] = args
;
13357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13361 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= wxNativeFontInfo___str__(arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13381 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13384 wxString
*arg2
= 0 ;
13388 bool temp2
= false ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char * kwnames
[] = {
13392 (char *) "self",(char *) "s", NULL
13395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13400 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13402 arg2
= wxString_in_helper(obj1
);
13403 if (arg2
== NULL
) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13429 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13430 PyObject
*resultobj
= 0;
13431 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13435 PyObject
*swig_obj
[1] ;
13437 if (!args
) SWIG_fail
;
13438 swig_obj
[0] = args
;
13439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13440 if (!SWIG_IsOK(res1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13443 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13463 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13466 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13467 return SWIG_Py_Void();
13470 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 return SWIG_Python_InitShadowInstance(args
);
13474 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13476 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13477 wxString
*arg2
= (wxString
*) 0 ;
13480 bool temp2
= false ;
13481 PyObject
*swig_obj
[2] ;
13483 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13488 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13490 arg2
= wxString_in_helper(swig_obj
[1]);
13491 if (arg2
== NULL
) SWIG_fail
;
13494 if (arg1
) (arg1
)->facename
= *arg2
;
13496 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13514 wxString
*result
= 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13525 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13526 result
= (wxString
*)& ((arg1
)->facename
);
13529 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13531 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13540 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13541 PyObject
*resultobj
= 0;
13542 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13543 wxFontEncoding arg2
;
13548 PyObject
*swig_obj
[2] ;
13550 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13555 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13556 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13557 if (!SWIG_IsOK(ecode2
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13560 arg2
= static_cast< wxFontEncoding
>(val2
);
13561 if (arg1
) (arg1
)->encoding
= arg2
;
13563 resultobj
= SWIG_Py_Void();
13570 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13571 PyObject
*resultobj
= 0;
13572 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13573 wxFontEncoding result
;
13576 PyObject
*swig_obj
[1] ;
13578 if (!args
) SWIG_fail
;
13579 swig_obj
[0] = args
;
13580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13581 if (!SWIG_IsOK(res1
)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13584 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13585 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13586 resultobj
= SWIG_From_int(static_cast< int >(result
));
13593 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13594 PyObject
*resultobj
= 0;
13595 wxNativeEncodingInfo
*result
= 0 ;
13597 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13611 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13616 PyObject
*swig_obj
[1] ;
13618 if (!args
) SWIG_fail
;
13619 swig_obj
[0] = args
;
13620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13621 if (!SWIG_IsOK(res1
)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13624 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_Py_Void();
13639 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= 0;
13641 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13642 wxString
*arg2
= 0 ;
13646 bool temp2
= false ;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char * kwnames
[] = {
13650 (char *) "self",(char *) "s", NULL
13653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13655 if (!SWIG_IsOK(res1
)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13658 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13660 arg2
= wxString_in_helper(obj1
);
13661 if (arg2
== NULL
) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13687 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13688 PyObject
*resultobj
= 0;
13689 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13693 PyObject
*swig_obj
[1] ;
13695 if (!args
) SWIG_fail
;
13696 swig_obj
[0] = args
;
13697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13701 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13721 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13724 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13725 return SWIG_Py_Void();
13728 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 return SWIG_Python_InitShadowInstance(args
);
13732 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
= 0;
13734 wxFontEncoding arg1
;
13735 wxNativeEncodingInfo
*result
= 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char * kwnames
[] = {
13740 (char *) "encoding", NULL
13743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13745 if (!SWIG_IsOK(ecode1
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13748 arg1
= static_cast< wxFontEncoding
>(val1
);
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13762 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= 0;
13764 wxNativeEncodingInfo
*arg1
= 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "info", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13781 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13797 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13798 PyObject
*resultobj
= 0;
13799 wxFontMapper
*result
= 0 ;
13801 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (wxFontMapper
*)new wxFontMapper();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13815 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13816 PyObject
*resultobj
= 0;
13817 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13820 PyObject
*swig_obj
[1] ;
13822 if (!args
) SWIG_fail
;
13823 swig_obj
[0] = args
;
13824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13828 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_Py_Void();
13843 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13844 PyObject
*resultobj
= 0;
13845 wxFontMapper
*result
= 0 ;
13847 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (wxFontMapper
*)wxFontMapper::Get();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13861 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13864 wxFontMapper
*result
= 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char * kwnames
[] = {
13869 (char *) "mapper", NULL
13872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13874 if (!SWIG_IsOK(res1
)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13877 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13891 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
= 0;
13893 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13894 wxString
*arg2
= 0 ;
13895 bool arg3
= (bool) true ;
13896 wxFontEncoding result
;
13899 bool temp2
= false ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 PyObject
* obj2
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13914 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13916 arg2
= wxString_in_helper(obj1
);
13917 if (arg2
== NULL
) SWIG_fail
;
13921 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13922 if (!SWIG_IsOK(ecode3
)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13925 arg3
= static_cast< bool >(val3
);
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_From_int(static_cast< int >(result
));
13948 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13949 PyObject
*resultobj
= 0;
13952 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13966 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= 0;
13969 wxFontEncoding result
;
13972 PyObject
* obj0
= 0 ;
13973 char * kwnames
[] = {
13977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13978 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13979 if (!SWIG_IsOK(ecode1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13982 arg1
= static_cast< size_t >(val1
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int(static_cast< int >(result
));
13996 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13998 wxFontEncoding arg1
;
14002 PyObject
* obj0
= 0 ;
14003 char * kwnames
[] = {
14004 (char *) "encoding", NULL
14007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14009 if (!SWIG_IsOK(ecode1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14012 arg1
= static_cast< wxFontEncoding
>(val1
);
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= wxFontMapper::GetEncodingName(arg1
);
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14032 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
= 0;
14034 wxFontEncoding arg1
;
14038 PyObject
* obj0
= 0 ;
14039 char * kwnames
[] = {
14040 (char *) "encoding", NULL
14043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14045 if (!SWIG_IsOK(ecode1
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14048 arg1
= static_cast< wxFontEncoding
>(val1
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= wxFontMapper::GetEncodingDescription(arg1
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14068 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
= 0;
14070 wxString
*arg1
= 0 ;
14071 wxFontEncoding result
;
14072 bool temp1
= false ;
14073 PyObject
* obj0
= 0 ;
14074 char * kwnames
[] = {
14075 (char *) "name", NULL
14078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14080 arg1
= wxString_in_helper(obj0
);
14081 if (arg1
== NULL
) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_int(static_cast< int >(result
));
14105 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
= 0;
14107 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14108 wxString
*arg2
= 0 ;
14111 bool temp2
= false ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "self",(char *) "prefix", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14123 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14125 arg2
= wxString_in_helper(obj1
);
14126 if (arg2
== NULL
) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_Py_Void();
14150 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 PyObject
*resultobj
= 0;
14154 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= wxFontMapper::GetDefaultConfigPath();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14174 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
= 0;
14176 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14177 wxFontEncoding arg2
;
14178 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14179 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14180 bool arg4
= (bool) true ;
14181 PyObject
*result
= 0 ;
14186 bool temp3
= false ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 PyObject
* obj2
= 0 ;
14192 PyObject
* obj3
= 0 ;
14193 char * kwnames
[] = {
14194 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14202 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14204 if (!SWIG_IsOK(ecode2
)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14207 arg2
= static_cast< wxFontEncoding
>(val2
);
14210 arg3
= wxString_in_helper(obj2
);
14211 if (arg3
== NULL
) SWIG_fail
;
14216 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14217 if (!SWIG_IsOK(ecode4
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14220 arg4
= static_cast< bool >(val4
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= result
;
14243 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
= 0;
14245 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14246 wxFontEncoding arg2
;
14247 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14248 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14254 bool temp3
= false ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 PyObject
* obj2
= 0 ;
14258 char * kwnames
[] = {
14259 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14267 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14269 if (!SWIG_IsOK(ecode2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14272 arg2
= static_cast< wxFontEncoding
>(val2
);
14275 arg3
= wxString_in_helper(obj2
);
14276 if (arg3
== NULL
) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
= 0;
14305 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14306 wxWindow
*arg2
= (wxWindow
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 char * kwnames
[] = {
14314 (char *) "self",(char *) "parent", NULL
14317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14322 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14324 if (!SWIG_IsOK(res2
)) {
14325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14327 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->SetDialogParent(arg2
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= SWIG_Py_Void();
14341 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= 0;
14343 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14344 wxString
*arg2
= 0 ;
14347 bool temp2
= false ;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 char * kwnames
[] = {
14351 (char *) "self",(char *) "title", NULL
14354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14359 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14361 arg2
= wxString_in_helper(obj1
);
14362 if (arg2
== NULL
) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_Py_Void();
14386 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14389 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14390 return SWIG_Py_Void();
14393 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14394 return SWIG_Python_InitShadowInstance(args
);
14397 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
= 0;
14403 bool arg5
= (bool) false ;
14404 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14405 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14406 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14407 wxFont
*result
= 0 ;
14418 bool temp6
= false ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 PyObject
* obj3
= 0 ;
14425 PyObject
* obj4
= 0 ;
14426 PyObject
* obj5
= 0 ;
14427 PyObject
* obj6
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14434 if (!SWIG_IsOK(ecode1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14437 arg1
= static_cast< int >(val1
);
14438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14439 if (!SWIG_IsOK(ecode2
)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14442 arg2
= static_cast< int >(val2
);
14443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14444 if (!SWIG_IsOK(ecode3
)) {
14445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14447 arg3
= static_cast< int >(val3
);
14448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14449 if (!SWIG_IsOK(ecode4
)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14452 arg4
= static_cast< int >(val4
);
14454 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14455 if (!SWIG_IsOK(ecode5
)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14458 arg5
= static_cast< bool >(val5
);
14462 arg6
= wxString_in_helper(obj5
);
14463 if (arg6
== NULL
) SWIG_fail
;
14468 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14469 if (!SWIG_IsOK(ecode7
)) {
14470 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14472 arg7
= static_cast< wxFontEncoding
>(val7
);
14475 if (!wxPyCheckForApp()) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14496 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14497 PyObject
*resultobj
= 0;
14498 wxFont
*arg1
= (wxFont
*) 0 ;
14501 PyObject
*swig_obj
[1] ;
14503 if (!args
) SWIG_fail
;
14504 swig_obj
[0] = args
;
14505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14509 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_Py_Void();
14524 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
= 0;
14526 wxNativeFontInfo
*arg1
= 0 ;
14527 wxFont
*result
= 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char * kwnames
[] = {
14532 (char *) "info", NULL
14535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14543 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14545 if (!wxPyCheckForApp()) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14558 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
= 0;
14560 wxString
*arg1
= 0 ;
14561 wxFont
*result
= 0 ;
14562 bool temp1
= false ;
14563 PyObject
* obj0
= 0 ;
14564 char * kwnames
[] = {
14565 (char *) "info", NULL
14568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14570 arg1
= wxString_in_helper(obj0
);
14571 if (arg1
== NULL
) SWIG_fail
;
14575 if (!wxPyCheckForApp()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14596 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
= 0;
14599 wxFontFamily arg2
;
14600 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14603 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14604 wxFont
*result
= 0 ;
14611 bool temp4
= false ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 PyObject
* obj3
= 0 ;
14618 PyObject
* obj4
= 0 ;
14619 char * kwnames
[] = {
14620 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14624 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14625 if (!SWIG_IsOK(ecode1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14628 arg1
= static_cast< int >(val1
);
14629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14630 if (!SWIG_IsOK(ecode2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14633 arg2
= static_cast< wxFontFamily
>(val2
);
14635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14636 if (!SWIG_IsOK(ecode3
)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14639 arg3
= static_cast< int >(val3
);
14643 arg4
= wxString_in_helper(obj3
);
14644 if (arg4
== NULL
) SWIG_fail
;
14649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14650 if (!SWIG_IsOK(ecode5
)) {
14651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14653 arg5
= static_cast< wxFontEncoding
>(val5
);
14656 if (!wxPyCheckForApp()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14677 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
= 0;
14683 bool arg5
= (bool) false ;
14684 wxString
const &arg6_defvalue
= wxEmptyString
;
14685 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14686 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14687 wxFont
*result
= 0 ;
14697 bool temp6
= false ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 PyObject
* obj3
= 0 ;
14704 PyObject
* obj4
= 0 ;
14705 PyObject
* obj5
= 0 ;
14706 PyObject
* obj6
= 0 ;
14707 char * kwnames
[] = {
14708 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14714 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14717 if (!SWIG_IsOK(ecode2
)) {
14718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14720 arg2
= static_cast< int >(val2
);
14721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14722 if (!SWIG_IsOK(ecode3
)) {
14723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14725 arg3
= static_cast< int >(val3
);
14726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14727 if (!SWIG_IsOK(ecode4
)) {
14728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14730 arg4
= static_cast< int >(val4
);
14732 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14733 if (!SWIG_IsOK(ecode5
)) {
14734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14736 arg5
= static_cast< bool >(val5
);
14740 arg6
= wxString_in_helper(obj5
);
14741 if (arg6
== NULL
) SWIG_fail
;
14746 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14747 if (!SWIG_IsOK(ecode7
)) {
14748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14750 arg7
= static_cast< wxFontEncoding
>(val7
);
14753 if (!wxPyCheckForApp()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14774 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14777 wxFontFamily arg2
;
14778 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14779 wxString
const &arg4_defvalue
= wxEmptyString
;
14780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14781 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14782 wxFont
*result
= 0 ;
14788 bool temp4
= false ;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj1
= 0 ;
14793 PyObject
* obj2
= 0 ;
14794 PyObject
* obj3
= 0 ;
14795 PyObject
* obj4
= 0 ;
14796 char * kwnames
[] = {
14797 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14803 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14806 if (!SWIG_IsOK(ecode2
)) {
14807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14809 arg2
= static_cast< wxFontFamily
>(val2
);
14811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14812 if (!SWIG_IsOK(ecode3
)) {
14813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14815 arg3
= static_cast< int >(val3
);
14819 arg4
= wxString_in_helper(obj3
);
14820 if (arg4
== NULL
) SWIG_fail
;
14825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14826 if (!SWIG_IsOK(ecode5
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14829 arg5
= static_cast< wxFontEncoding
>(val5
);
14832 if (!wxPyCheckForApp()) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14853 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14854 PyObject
*resultobj
= 0;
14855 wxFont
*arg1
= (wxFont
*) 0 ;
14859 PyObject
*swig_obj
[1] ;
14861 if (!args
) SWIG_fail
;
14862 swig_obj
[0] = args
;
14863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14864 if (!SWIG_IsOK(res1
)) {
14865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14867 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14883 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= 0;
14885 wxFont
*arg1
= (wxFont
*) 0 ;
14886 wxFont
*arg2
= (wxFont
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "self",(char *) "other", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14903 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14905 if (!SWIG_IsOK(res2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14908 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxFont
*arg1
= (wxFont
*) 0 ;
14927 wxFont
*arg2
= (wxFont
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 char * kwnames
[] = {
14936 (char *) "self",(char *) "other", NULL
14939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14944 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14946 if (!SWIG_IsOK(res2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14965 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14966 PyObject
*resultobj
= 0;
14967 wxFont
*arg1
= (wxFont
*) 0 ;
14971 PyObject
*swig_obj
[1] ;
14973 if (!args
) SWIG_fail
;
14974 swig_obj
[0] = args
;
14975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14979 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_From_int(static_cast< int >(result
));
14993 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxFont
*arg1
= (wxFont
*) 0 ;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15007 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15021 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15022 PyObject
*resultobj
= 0;
15023 wxFont
*arg1
= (wxFont
*) 0 ;
15027 PyObject
*swig_obj
[1] ;
15029 if (!args
) SWIG_fail
;
15030 swig_obj
[0] = args
;
15031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15032 if (!SWIG_IsOK(res1
)) {
15033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15035 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15051 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15052 PyObject
*resultobj
= 0;
15053 wxFont
*arg1
= (wxFont
*) 0 ;
15057 PyObject
*swig_obj
[1] ;
15059 if (!args
) SWIG_fail
;
15060 swig_obj
[0] = args
;
15061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_From_int(static_cast< int >(result
));
15079 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15080 PyObject
*resultobj
= 0;
15081 wxFont
*arg1
= (wxFont
*) 0 ;
15085 PyObject
*swig_obj
[1] ;
15087 if (!args
) SWIG_fail
;
15088 swig_obj
[0] = args
;
15089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15093 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_From_int(static_cast< int >(result
));
15107 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxFont
*arg1
= (wxFont
*) 0 ;
15113 PyObject
*swig_obj
[1] ;
15115 if (!args
) SWIG_fail
;
15116 swig_obj
[0] = args
;
15117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15121 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_From_int(static_cast< int >(result
));
15135 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15136 PyObject
*resultobj
= 0;
15137 wxFont
*arg1
= (wxFont
*) 0 ;
15141 PyObject
*swig_obj
[1] ;
15143 if (!args
) SWIG_fail
;
15144 swig_obj
[0] = args
;
15145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15149 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15166 PyObject
*resultobj
= 0;
15167 wxFont
*arg1
= (wxFont
*) 0 ;
15171 PyObject
*swig_obj
[1] ;
15173 if (!args
) SWIG_fail
;
15174 swig_obj
[0] = args
;
15175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15179 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= ((wxFont
const *)arg1
)->GetFaceName();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15199 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15200 PyObject
*resultobj
= 0;
15201 wxFont
*arg1
= (wxFont
*) 0 ;
15202 wxFontEncoding result
;
15205 PyObject
*swig_obj
[1] ;
15207 if (!args
) SWIG_fail
;
15208 swig_obj
[0] = args
;
15209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15210 if (!SWIG_IsOK(res1
)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15213 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_From_int(static_cast< int >(result
));
15227 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15228 PyObject
*resultobj
= 0;
15229 wxFont
*arg1
= (wxFont
*) 0 ;
15230 wxNativeFontInfo
*result
= 0 ;
15233 PyObject
*swig_obj
[1] ;
15235 if (!args
) SWIG_fail
;
15236 swig_obj
[0] = args
;
15237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15238 if (!SWIG_IsOK(res1
)) {
15239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15241 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15255 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15256 PyObject
*resultobj
= 0;
15257 wxFont
*arg1
= (wxFont
*) 0 ;
15261 PyObject
*swig_obj
[1] ;
15263 if (!args
) SWIG_fail
;
15264 swig_obj
[0] = args
;
15265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15266 if (!SWIG_IsOK(res1
)) {
15267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15269 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15285 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15286 PyObject
*resultobj
= 0;
15287 wxFont
*arg1
= (wxFont
*) 0 ;
15291 PyObject
*swig_obj
[1] ;
15293 if (!args
) SWIG_fail
;
15294 swig_obj
[0] = args
;
15295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15296 if (!SWIG_IsOK(res1
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15299 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15319 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 PyObject
*resultobj
= 0;
15321 wxFont
*arg1
= (wxFont
*) 0 ;
15325 PyObject
*swig_obj
[1] ;
15327 if (!args
) SWIG_fail
;
15328 swig_obj
[0] = args
;
15329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15330 if (!SWIG_IsOK(res1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15333 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15353 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
= 0;
15355 wxFont
*arg1
= (wxFont
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char * kwnames
[] = {
15364 (char *) "self",(char *) "pointSize", NULL
15367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15369 if (!SWIG_IsOK(res1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15372 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15374 if (!SWIG_IsOK(ecode2
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15377 arg2
= static_cast< int >(val2
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetPointSize(arg2
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_Py_Void();
15391 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxFont
*arg1
= (wxFont
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "pixelSize", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15409 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15412 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_Py_Void();
15427 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
= 0;
15429 wxFont
*arg1
= (wxFont
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char * kwnames
[] = {
15438 (char *) "self",(char *) "family", NULL
15441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15448 if (!SWIG_IsOK(ecode2
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15451 arg2
= static_cast< int >(val2
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetFamily(arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxFont
*arg1
= (wxFont
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char * kwnames
[] = {
15476 (char *) "self",(char *) "style", NULL
15479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15484 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15486 if (!SWIG_IsOK(ecode2
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15489 arg2
= static_cast< int >(val2
);
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetStyle(arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_Py_Void();
15503 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxFont
*arg1
= (wxFont
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "self",(char *) "weight", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15522 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15524 if (!SWIG_IsOK(ecode2
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15527 arg2
= static_cast< int >(val2
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetWeight(arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= 0;
15543 wxFont
*arg1
= (wxFont
*) 0 ;
15544 wxString
*arg2
= 0 ;
15548 bool temp2
= false ;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char * kwnames
[] = {
15552 (char *) "self",(char *) "faceName", NULL
15555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15560 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15562 arg2
= wxString_in_helper(obj1
);
15563 if (arg2
== NULL
) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15589 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
= 0;
15591 wxFont
*arg1
= (wxFont
*) 0 ;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 char * kwnames
[] = {
15600 (char *) "self",(char *) "underlined", NULL
15603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15608 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15609 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15610 if (!SWIG_IsOK(ecode2
)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15613 arg2
= static_cast< bool >(val2
);
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetUnderlined(arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_Py_Void();
15627 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
= 0;
15629 wxFont
*arg1
= (wxFont
*) 0 ;
15630 wxFontEncoding arg2
;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char * kwnames
[] = {
15638 (char *) "self",(char *) "encoding", NULL
15641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15643 if (!SWIG_IsOK(res1
)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15646 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15648 if (!SWIG_IsOK(ecode2
)) {
15649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15651 arg2
= static_cast< wxFontEncoding
>(val2
);
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->SetEncoding(arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= SWIG_Py_Void();
15665 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
= 0;
15667 wxFont
*arg1
= (wxFont
*) 0 ;
15668 wxNativeFontInfo
*arg2
= 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char * kwnames
[] = {
15676 (char *) "self",(char *) "info", NULL
15679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15684 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15686 if (!SWIG_IsOK(res2
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15692 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxFont
*arg1
= (wxFont
*) 0 ;
15709 wxString
*arg2
= 0 ;
15713 bool temp2
= false ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "self",(char *) "info", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15725 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15727 arg2
= wxString_in_helper(obj1
);
15728 if (arg2
== NULL
) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
= 0;
15756 wxFont
*arg1
= (wxFont
*) 0 ;
15757 wxString
*arg2
= 0 ;
15761 bool temp2
= false ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char * kwnames
[] = {
15765 (char *) "self",(char *) "info", NULL
15768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15773 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15775 arg2
= wxString_in_helper(obj1
);
15776 if (arg2
== NULL
) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15802 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 PyObject
*resultobj
= 0;
15804 wxFont
*arg1
= (wxFont
*) 0 ;
15808 PyObject
*swig_obj
[1] ;
15810 if (!args
) SWIG_fail
;
15811 swig_obj
[0] = args
;
15812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15816 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15836 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxFont
*arg1
= (wxFont
*) 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15850 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= ((wxFont
const *)arg1
)->GetStyleString();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15870 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15871 PyObject
*resultobj
= 0;
15872 wxFont
*arg1
= (wxFont
*) 0 ;
15876 PyObject
*swig_obj
[1] ;
15878 if (!args
) SWIG_fail
;
15879 swig_obj
[0] = args
;
15880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15884 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= ((wxFont
const *)arg1
)->GetWeightString();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15904 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
= 0;
15906 wxFont
*arg1
= (wxFont
*) 0 ;
15907 bool arg2
= (bool) true ;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "self",(char *) "no", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15923 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15926 if (!SWIG_IsOK(ecode2
)) {
15927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15929 arg2
= static_cast< bool >(val2
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->SetNoAntiAliasing(arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_Py_Void();
15944 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15945 PyObject
*resultobj
= 0;
15946 wxFont
*arg1
= (wxFont
*) 0 ;
15950 PyObject
*swig_obj
[1] ;
15952 if (!args
) SWIG_fail
;
15953 swig_obj
[0] = args
;
15954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15958 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15974 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15975 PyObject
*resultobj
= 0;
15976 wxFontEncoding result
;
15978 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15980 if (!wxPyCheckForApp()) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_From_int(static_cast< int >(result
));
15993 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
= 0;
15995 wxFontEncoding arg1
;
15998 PyObject
* obj0
= 0 ;
15999 char * kwnames
[] = {
16000 (char *) "encoding", NULL
16003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16005 if (!SWIG_IsOK(ecode1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16008 arg1
= static_cast< wxFontEncoding
>(val1
);
16010 if (!wxPyCheckForApp()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 wxFont::SetDefaultEncoding(arg1
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_Py_Void();
16023 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16026 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16027 return SWIG_Py_Void();
16030 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16031 return SWIG_Python_InitShadowInstance(args
);
16034 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxPyFontEnumerator
*result
= 0 ;
16038 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16040 if (!wxPyCheckForApp()) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16053 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16054 PyObject
*resultobj
= 0;
16055 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16058 PyObject
*swig_obj
[1] ;
16060 if (!args
) SWIG_fail
;
16061 swig_obj
[0] = args
;
16062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16063 if (!SWIG_IsOK(res1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16066 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_Py_Void();
16081 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
= 0;
16083 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16084 PyObject
*arg2
= (PyObject
*) 0 ;
16085 PyObject
*arg3
= (PyObject
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 PyObject
* obj2
= 0 ;
16094 PyObject
* obj3
= 0 ;
16095 char * kwnames
[] = {
16096 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16104 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16107 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16108 if (!SWIG_IsOK(ecode4
)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16111 arg4
= static_cast< bool >(val4
);
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_Py_Void();
16125 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
= 0;
16127 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16128 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16129 bool arg3
= (bool) false ;
16137 PyObject
* obj0
= 0 ;
16138 PyObject
* obj1
= 0 ;
16139 PyObject
* obj2
= 0 ;
16140 char * kwnames
[] = {
16141 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16149 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16152 if (!SWIG_IsOK(ecode2
)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16155 arg2
= static_cast< wxFontEncoding
>(val2
);
16158 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16159 if (!SWIG_IsOK(ecode3
)) {
16160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16162 arg3
= static_cast< bool >(val3
);
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
= 0;
16181 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16182 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16183 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16187 bool temp2
= false ;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 char * kwnames
[] = {
16191 (char *) "self",(char *) "facename", NULL
16194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16196 if (!SWIG_IsOK(res1
)) {
16197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16199 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16202 arg2
= wxString_in_helper(obj1
);
16203 if (arg2
== NULL
) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16230 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16231 PyObject
*resultobj
= 0;
16232 PyObject
*result
= 0 ;
16234 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
;
16248 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16249 PyObject
*resultobj
= 0;
16250 PyObject
*result
= 0 ;
16252 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
;
16266 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
= 0;
16268 wxString
*arg1
= 0 ;
16270 bool temp1
= false ;
16271 PyObject
* obj0
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "str", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16278 arg1
= wxString_in_helper(obj0
);
16279 if (arg1
== NULL
) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16309 return SWIG_Py_Void();
16312 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16313 return SWIG_Python_InitShadowInstance(args
);
16316 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16317 PyObject
*resultobj
= 0;
16318 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16324 PyObject
*swig_obj
[2] ;
16326 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16331 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16332 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16333 if (!SWIG_IsOK(ecode2
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16336 arg2
= static_cast< int >(val2
);
16337 if (arg1
) (arg1
)->Language
= arg2
;
16339 resultobj
= SWIG_Py_Void();
16346 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16347 PyObject
*resultobj
= 0;
16348 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16352 PyObject
*swig_obj
[1] ;
16354 if (!args
) SWIG_fail
;
16355 swig_obj
[0] = args
;
16356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16357 if (!SWIG_IsOK(res1
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16360 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16361 result
= (int) ((arg1
)->Language
);
16362 resultobj
= SWIG_From_int(static_cast< int >(result
));
16369 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16370 PyObject
*resultobj
= 0;
16371 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16372 wxString
*arg2
= (wxString
*) 0 ;
16375 bool temp2
= false ;
16376 PyObject
*swig_obj
[2] ;
16378 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16383 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16385 arg2
= wxString_in_helper(swig_obj
[1]);
16386 if (arg2
== NULL
) SWIG_fail
;
16389 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16391 resultobj
= SWIG_Py_Void();
16406 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16407 PyObject
*resultobj
= 0;
16408 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16409 wxString
*result
= 0 ;
16412 PyObject
*swig_obj
[1] ;
16414 if (!args
) SWIG_fail
;
16415 swig_obj
[0] = args
;
16416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16420 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16421 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16435 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16436 PyObject
*resultobj
= 0;
16437 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16438 wxString
*arg2
= (wxString
*) 0 ;
16441 bool temp2
= false ;
16442 PyObject
*swig_obj
[2] ;
16444 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16446 if (!SWIG_IsOK(res1
)) {
16447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16449 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16451 arg2
= wxString_in_helper(swig_obj
[1]);
16452 if (arg2
== NULL
) SWIG_fail
;
16455 if (arg1
) (arg1
)->Description
= *arg2
;
16457 resultobj
= SWIG_Py_Void();
16472 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16473 PyObject
*resultobj
= 0;
16474 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16475 wxString
*result
= 0 ;
16478 PyObject
*swig_obj
[1] ;
16480 if (!args
) SWIG_fail
;
16481 swig_obj
[0] = args
;
16482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16483 if (!SWIG_IsOK(res1
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16486 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16487 result
= (wxString
*)& ((arg1
)->Description
);
16490 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16492 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16501 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16504 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16505 return SWIG_Py_Void();
16508 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16510 int arg1
= (int) -1 ;
16511 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16512 wxLocale
*result
= 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char * kwnames
[] = {
16520 (char *) "language",(char *) "flags", NULL
16523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16525 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16526 if (!SWIG_IsOK(ecode1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16529 arg1
= static_cast< int >(val1
);
16532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16533 if (!SWIG_IsOK(ecode2
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16536 arg2
= static_cast< int >(val2
);
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16551 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 PyObject
*resultobj
= 0;
16553 wxLocale
*arg1
= (wxLocale
*) 0 ;
16556 PyObject
*swig_obj
[1] ;
16558 if (!args
) SWIG_fail
;
16559 swig_obj
[0] = args
;
16560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16564 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= SWIG_Py_Void();
16579 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
= 0;
16581 wxLocale
*arg1
= (wxLocale
*) 0 ;
16582 wxString
*arg2
= 0 ;
16583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16587 bool arg5
= (bool) true ;
16588 bool arg6
= (bool) false ;
16592 bool temp2
= false ;
16593 bool temp3
= false ;
16594 bool temp4
= false ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 PyObject
* obj2
= 0 ;
16602 PyObject
* obj3
= 0 ;
16603 PyObject
* obj4
= 0 ;
16604 PyObject
* obj5
= 0 ;
16605 char * kwnames
[] = {
16606 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16611 if (!SWIG_IsOK(res1
)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16614 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16616 arg2
= wxString_in_helper(obj1
);
16617 if (arg2
== NULL
) SWIG_fail
;
16622 arg3
= wxString_in_helper(obj2
);
16623 if (arg3
== NULL
) SWIG_fail
;
16629 arg4
= wxString_in_helper(obj3
);
16630 if (arg4
== NULL
) SWIG_fail
;
16635 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16636 if (!SWIG_IsOK(ecode5
)) {
16637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16639 arg5
= static_cast< bool >(val5
);
16642 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16643 if (!SWIG_IsOK(ecode6
)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16646 arg6
= static_cast< bool >(val6
);
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxLocale
*arg1
= (wxLocale
*) 0 ;
16690 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16691 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 PyObject
* obj2
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "language",(char *) "flags", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16711 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16714 if (!SWIG_IsOK(ecode2
)) {
16715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16717 arg2
= static_cast< int >(val2
);
16720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16721 if (!SWIG_IsOK(ecode3
)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16724 arg3
= static_cast< int >(val3
);
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16741 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16742 PyObject
*resultobj
= 0;
16745 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (int)wxLocale::GetSystemLanguage();
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_From_int(static_cast< int >(result
));
16759 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 PyObject
*resultobj
= 0;
16761 wxFontEncoding result
;
16763 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_From_int(static_cast< int >(result
));
16777 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16778 PyObject
*resultobj
= 0;
16781 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= wxLocale::GetSystemEncodingName();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16801 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxLocale
*arg1
= (wxLocale
*) 0 ;
16807 PyObject
*swig_obj
[1] ;
16809 if (!args
) SWIG_fail
;
16810 swig_obj
[0] = args
;
16811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16815 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16831 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16832 PyObject
*resultobj
= 0;
16833 wxLocale
*arg1
= (wxLocale
*) 0 ;
16837 PyObject
*swig_obj
[1] ;
16839 if (!args
) SWIG_fail
;
16840 swig_obj
[0] = args
;
16841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16842 if (!SWIG_IsOK(res1
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16845 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= ((wxLocale
const *)arg1
)->GetLocale();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16865 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16866 PyObject
*resultobj
= 0;
16867 wxLocale
*arg1
= (wxLocale
*) 0 ;
16871 PyObject
*swig_obj
[1] ;
16873 if (!args
) SWIG_fail
;
16874 swig_obj
[0] = args
;
16875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16879 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_int(static_cast< int >(result
));
16893 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16894 PyObject
*resultobj
= 0;
16895 wxLocale
*arg1
= (wxLocale
*) 0 ;
16899 PyObject
*swig_obj
[1] ;
16901 if (!args
) SWIG_fail
;
16902 swig_obj
[0] = args
;
16903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16907 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= ((wxLocale
const *)arg1
)->GetSysName();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16927 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16928 PyObject
*resultobj
= 0;
16929 wxLocale
*arg1
= (wxLocale
*) 0 ;
16933 PyObject
*swig_obj
[1] ;
16935 if (!args
) SWIG_fail
;
16936 swig_obj
[0] = args
;
16937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16941 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16961 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
= 0;
16963 wxString
*arg1
= 0 ;
16964 bool temp1
= false ;
16965 PyObject
* obj0
= 0 ;
16966 char * kwnames
[] = {
16967 (char *) "prefix", NULL
16970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16972 arg1
= wxString_in_helper(obj0
);
16973 if (arg1
== NULL
) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_Py_Void();
16997 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
= 0;
16999 wxLocale
*arg1
= (wxLocale
*) 0 ;
17000 wxString
*arg2
= 0 ;
17004 bool temp2
= false ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char * kwnames
[] = {
17008 (char *) "self",(char *) "szDomain", NULL
17011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17013 if (!SWIG_IsOK(res1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17016 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17018 arg2
= wxString_in_helper(obj1
);
17019 if (arg2
== NULL
) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17045 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17051 PyObject
* obj0
= 0 ;
17052 char * kwnames
[] = {
17053 (char *) "lang", NULL
17056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17058 if (!SWIG_IsOK(ecode1
)) {
17059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17061 arg1
= static_cast< int >(val1
);
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)wxLocale::IsAvailable(arg1
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17077 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
= 0;
17079 wxLocale
*arg1
= (wxLocale
*) 0 ;
17080 wxString
*arg2
= 0 ;
17084 bool temp2
= false ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char * kwnames
[] = {
17088 (char *) "self",(char *) "szDomain", NULL
17091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17093 if (!SWIG_IsOK(res1
)) {
17094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17096 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17098 arg2
= wxString_in_helper(obj1
);
17099 if (arg2
== NULL
) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17125 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
= 0;
17128 wxLanguageInfo
*result
= 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char * kwnames
[] = {
17133 (char *) "lang", NULL
17136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17138 if (!SWIG_IsOK(ecode1
)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17141 arg1
= static_cast< int >(val1
);
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17155 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
= 0;
17161 PyObject
* obj0
= 0 ;
17162 char * kwnames
[] = {
17163 (char *) "lang", NULL
17166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17168 if (!SWIG_IsOK(ecode1
)) {
17169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17171 arg1
= static_cast< int >(val1
);
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= wxLocale::GetLanguageName(arg1
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17191 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxString
*arg1
= 0 ;
17194 wxLanguageInfo
*result
= 0 ;
17195 bool temp1
= false ;
17196 PyObject
* obj0
= 0 ;
17197 char * kwnames
[] = {
17198 (char *) "locale", NULL
17201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17203 arg1
= wxString_in_helper(obj0
);
17204 if (arg1
== NULL
) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17228 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxLanguageInfo
*arg1
= 0 ;
17233 PyObject
* obj0
= 0 ;
17234 char * kwnames
[] = {
17235 (char *) "info", NULL
17238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17239 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17240 if (!SWIG_IsOK(res1
)) {
17241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17246 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_Py_Void();
17260 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
= 0;
17262 wxLocale
*arg1
= (wxLocale
*) 0 ;
17263 wxString
*arg2
= 0 ;
17264 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17269 bool temp2
= false ;
17270 bool temp3
= false ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 PyObject
* obj2
= 0 ;
17274 char * kwnames
[] = {
17275 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17280 if (!SWIG_IsOK(res1
)) {
17281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17283 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17285 arg2
= wxString_in_helper(obj1
);
17286 if (arg2
== NULL
) SWIG_fail
;
17291 arg3
= wxString_in_helper(obj2
);
17292 if (arg3
== NULL
) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17331 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17332 PyObject
*resultobj
= 0;
17333 wxLocale
*arg1
= (wxLocale
*) 0 ;
17334 wxString
*result
= 0 ;
17337 PyObject
*swig_obj
[1] ;
17339 if (!args
) SWIG_fail
;
17340 swig_obj
[0] = args
;
17341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17345 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17350 result
= (wxString
*) &_result_ref
;
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17359 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17368 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17371 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17372 return SWIG_Py_Void();
17375 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17376 return SWIG_Python_InitShadowInstance(args
);
17379 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
= 0;
17381 int arg1
= (int) -1 ;
17382 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17383 wxPyLocale
*result
= 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char * kwnames
[] = {
17391 (char *) "language",(char *) "flags", NULL
17394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17397 if (!SWIG_IsOK(ecode1
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17400 arg1
= static_cast< int >(val1
);
17403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17404 if (!SWIG_IsOK(ecode2
)) {
17405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17407 arg2
= static_cast< int >(val2
);
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17422 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17423 PyObject
*resultobj
= 0;
17424 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17427 PyObject
*swig_obj
[1] ;
17429 if (!args
) SWIG_fail
;
17430 swig_obj
[0] = args
;
17431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17432 if (!SWIG_IsOK(res1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17435 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_Py_Void();
17450 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= 0;
17452 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17453 PyObject
*arg2
= (PyObject
*) 0 ;
17454 PyObject
*arg3
= (PyObject
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 PyObject
* obj2
= 0 ;
17460 char * kwnames
[] = {
17461 (char *) "self",(char *) "self",(char *) "_class", NULL
17464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17469 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_Py_Void();
17485 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
= 0;
17487 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17488 wxChar
*arg2
= (wxChar
*) 0 ;
17489 wxChar
*arg3
= (wxChar
*) NULL
;
17490 wxChar
*result
= 0 ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17509 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17511 if (!SWIG_IsOK(res2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17514 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17516 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17517 if (!SWIG_IsOK(res3
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17520 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17535 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17538 wxChar
*arg2
= (wxChar
*) 0 ;
17539 wxChar
*arg3
= (wxChar
*) 0 ;
17541 wxChar
*arg5
= (wxChar
*) NULL
;
17542 wxChar
*result
= 0 ;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 PyObject
* obj2
= 0 ;
17556 PyObject
* obj3
= 0 ;
17557 PyObject
* obj4
= 0 ;
17558 char * kwnames
[] = {
17559 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17564 if (!SWIG_IsOK(res1
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17567 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17569 if (!SWIG_IsOK(res2
)) {
17570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17572 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17573 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17574 if (!SWIG_IsOK(res3
)) {
17575 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17577 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17578 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17579 if (!SWIG_IsOK(ecode4
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17582 arg4
= static_cast< size_t >(val4
);
17584 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17585 if (!SWIG_IsOK(res5
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17588 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17603 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17606 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17607 return SWIG_Py_Void();
17610 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17611 return SWIG_Python_InitShadowInstance(args
);
17614 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17615 PyObject
*resultobj
= 0;
17616 wxLocale
*result
= 0 ;
17618 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (wxLocale
*)wxGetLocale();
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17632 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17633 PyObject
*resultobj
= 0;
17634 wxString
*arg1
= 0 ;
17636 bool temp1
= false ;
17638 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17640 arg1
= wxString_in_helper(swig_obj
[0]);
17641 if (arg1
== NULL
) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= wxGetTranslation((wxString
const &)*arg1
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17671 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17672 PyObject
*resultobj
= 0;
17673 wxString
*arg1
= 0 ;
17674 wxString
*arg2
= 0 ;
17676 bool temp1
= false ;
17677 bool temp2
= false ;
17679 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17681 arg1
= wxString_in_helper(swig_obj
[0]);
17682 if (arg1
== NULL
) SWIG_fail
;
17686 arg2
= wxString_in_helper(swig_obj
[1]);
17687 if (arg2
== NULL
) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17725 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17726 PyObject
*resultobj
= 0;
17727 wxString
*arg1
= 0 ;
17728 wxString
*arg2
= 0 ;
17731 bool temp1
= false ;
17732 bool temp2
= false ;
17736 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17738 arg1
= wxString_in_helper(swig_obj
[0]);
17739 if (arg1
== NULL
) SWIG_fail
;
17743 arg2
= wxString_in_helper(swig_obj
[1]);
17744 if (arg2
== NULL
) SWIG_fail
;
17747 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17748 if (!SWIG_IsOK(ecode3
)) {
17749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17751 arg3
= static_cast< size_t >(val3
);
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17787 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17788 PyObject
*resultobj
= 0;
17789 wxString
*arg1
= 0 ;
17790 wxString
*arg2
= 0 ;
17792 wxString
*arg4
= 0 ;
17794 bool temp1
= false ;
17795 bool temp2
= false ;
17798 bool temp4
= false ;
17800 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17802 arg1
= wxString_in_helper(swig_obj
[0]);
17803 if (arg1
== NULL
) SWIG_fail
;
17807 arg2
= wxString_in_helper(swig_obj
[1]);
17808 if (arg2
== NULL
) SWIG_fail
;
17811 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17812 if (!SWIG_IsOK(ecode3
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17815 arg3
= static_cast< size_t >(val3
);
17817 arg4
= wxString_in_helper(swig_obj
[3]);
17818 if (arg4
== NULL
) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17864 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17871 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17874 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17877 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17880 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17889 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17890 PyObject
*resultobj
= 0;
17891 wxEncodingConverter
*result
= 0 ;
17893 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17907 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17908 PyObject
*resultobj
= 0;
17909 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17912 PyObject
*swig_obj
[1] ;
17914 if (!args
) SWIG_fail
;
17915 swig_obj
[0] = args
;
17916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17917 if (!SWIG_IsOK(res1
)) {
17918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17920 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= SWIG_Py_Void();
17935 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
= 0;
17937 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17938 wxFontEncoding arg2
;
17939 wxFontEncoding arg3
;
17940 int arg4
= (int) wxCONVERT_STRICT
;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 PyObject
* obj2
= 0 ;
17953 PyObject
* obj3
= 0 ;
17954 char * kwnames
[] = {
17955 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17963 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17965 if (!SWIG_IsOK(ecode2
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17968 arg2
= static_cast< wxFontEncoding
>(val2
);
17969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17970 if (!SWIG_IsOK(ecode3
)) {
17971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17973 arg3
= static_cast< wxFontEncoding
>(val3
);
17975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17976 if (!SWIG_IsOK(ecode4
)) {
17977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17979 arg4
= static_cast< int >(val4
);
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17996 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
= 0;
17998 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17999 wxString
*arg2
= 0 ;
18003 bool temp2
= false ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 char * kwnames
[] = {
18007 (char *) "self",(char *) "input", NULL
18010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18012 if (!SWIG_IsOK(res1
)) {
18013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18015 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18017 arg2
= wxString_in_helper(obj1
);
18018 if (arg2
== NULL
) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18048 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxFontEncoding arg1
;
18051 int arg2
= (int) wxPLATFORM_CURRENT
;
18052 wxFontEncodingArray result
;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 char * kwnames
[] = {
18060 (char *) "enc",(char *) "platform", NULL
18063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18065 if (!SWIG_IsOK(ecode1
)) {
18066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18068 arg1
= static_cast< wxFontEncoding
>(val1
);
18070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18071 if (!SWIG_IsOK(ecode2
)) {
18072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18074 arg2
= static_cast< int >(val2
);
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= PyList_New(0);
18084 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18085 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18086 PyList_Append(resultobj
, number
);
18096 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
= 0;
18098 wxFontEncoding arg1
;
18099 wxFontEncodingArray result
;
18102 PyObject
* obj0
= 0 ;
18103 char * kwnames
[] = {
18104 (char *) "enc", NULL
18107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18109 if (!SWIG_IsOK(ecode1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18112 arg1
= static_cast< wxFontEncoding
>(val1
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= PyList_New(0);
18121 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18122 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18123 PyList_Append(resultobj
, number
);
18133 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= 0;
18135 wxFontEncoding arg1
;
18136 wxFontEncoding arg2
;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "encIn",(char *) "encOut", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18150 if (!SWIG_IsOK(ecode1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18153 arg1
= static_cast< wxFontEncoding
>(val1
);
18154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18155 if (!SWIG_IsOK(ecode2
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18158 arg2
= static_cast< wxFontEncoding
>(val2
);
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18174 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18177 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18178 return SWIG_Py_Void();
18181 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18182 return SWIG_Python_InitShadowInstance(args
);
18185 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18186 PyObject
*resultobj
= 0;
18187 wxDC
*arg1
= (wxDC
*) 0 ;
18190 PyObject
*swig_obj
[1] ;
18192 if (!args
) SWIG_fail
;
18193 swig_obj
[0] = args
;
18194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18195 if (!SWIG_IsOK(res1
)) {
18196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_Py_Void();
18213 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxDC
*arg1
= (wxDC
*) 0 ;
18218 wxColour
*arg4
= 0 ;
18219 int arg5
= (int) wxFLOOD_SURFACE
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 PyObject
* obj2
= 0 ;
18233 PyObject
* obj3
= 0 ;
18234 PyObject
* obj4
= 0 ;
18235 char * kwnames
[] = {
18236 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18241 if (!SWIG_IsOK(res1
)) {
18242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18246 if (!SWIG_IsOK(ecode2
)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18249 arg2
= static_cast< int >(val2
);
18250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18251 if (!SWIG_IsOK(ecode3
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18254 arg3
= static_cast< int >(val3
);
18257 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18261 if (!SWIG_IsOK(ecode5
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18264 arg5
= static_cast< int >(val5
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18281 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18284 wxPoint
*arg2
= 0 ;
18285 wxColour
*arg3
= 0 ;
18286 int arg4
= (int) wxFLOOD_SURFACE
;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 PyObject
* obj2
= 0 ;
18297 PyObject
* obj3
= 0 ;
18298 char * kwnames
[] = {
18299 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18318 if (!SWIG_IsOK(ecode4
)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18321 arg4
= static_cast< int >(val4
);
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18338 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
= 0;
18340 wxDC
*arg1
= (wxDC
*) 0 ;
18342 wxColour
*arg3
= 0 ;
18343 wxColour
*arg4
= 0 ;
18344 wxPoint
*arg5
= 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 PyObject
* obj2
= 0 ;
18354 PyObject
* obj3
= 0 ;
18355 PyObject
* obj4
= 0 ;
18356 char * kwnames
[] = {
18357 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18362 if (!SWIG_IsOK(res1
)) {
18363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18372 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18376 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_Py_Void();
18395 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= 0;
18397 wxDC
*arg1
= (wxDC
*) 0 ;
18399 wxColour
*arg3
= 0 ;
18400 wxColour
*arg4
= 0 ;
18401 wxDirection arg5
= (wxDirection
) wxEAST
;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 PyObject
* obj3
= 0 ;
18413 PyObject
* obj4
= 0 ;
18414 char * kwnames
[] = {
18415 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18420 if (!SWIG_IsOK(res1
)) {
18421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18426 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18434 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18438 if (!SWIG_IsOK(ecode5
)) {
18439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18441 arg5
= static_cast< wxDirection
>(val5
);
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_Py_Void();
18456 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
= 0;
18458 wxDC
*arg1
= (wxDC
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 PyObject
* obj2
= 0 ;
18471 char * kwnames
[] = {
18472 (char *) "self",(char *) "x",(char *) "y", NULL
18475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18482 if (!SWIG_IsOK(ecode2
)) {
18483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18485 arg2
= static_cast< int >(val2
);
18486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18487 if (!SWIG_IsOK(ecode3
)) {
18488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18490 arg3
= static_cast< int >(val3
);
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18504 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
= 0;
18506 wxDC
*arg1
= (wxDC
*) 0 ;
18507 wxPoint
*arg2
= 0 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "self",(char *) "pt", NULL
18518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18520 if (!SWIG_IsOK(res1
)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18541 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
= 0;
18543 wxDC
*arg1
= (wxDC
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 PyObject
* obj2
= 0 ;
18561 PyObject
* obj3
= 0 ;
18562 PyObject
* obj4
= 0 ;
18563 char * kwnames
[] = {
18564 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18574 if (!SWIG_IsOK(ecode2
)) {
18575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18577 arg2
= static_cast< int >(val2
);
18578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18579 if (!SWIG_IsOK(ecode3
)) {
18580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18582 arg3
= static_cast< int >(val3
);
18583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18584 if (!SWIG_IsOK(ecode4
)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18587 arg4
= static_cast< int >(val4
);
18588 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18589 if (!SWIG_IsOK(ecode5
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18592 arg5
= static_cast< int >(val5
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxDC
*arg1
= (wxDC
*) 0 ;
18609 wxPoint
*arg2
= 0 ;
18610 wxPoint
*arg3
= 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_Py_Void();
18649 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
= 0;
18651 wxDC
*arg1
= (wxDC
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 PyObject
* obj2
= 0 ;
18663 char * kwnames
[] = {
18664 (char *) "self",(char *) "x",(char *) "y", NULL
18667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18669 if (!SWIG_IsOK(res1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18674 if (!SWIG_IsOK(ecode2
)) {
18675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18677 arg2
= static_cast< int >(val2
);
18678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18679 if (!SWIG_IsOK(ecode3
)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18682 arg3
= static_cast< int >(val3
);
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->CrossHair(arg2
,arg3
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_Py_Void();
18696 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
= 0;
18698 wxDC
*arg1
= (wxDC
*) 0 ;
18699 wxPoint
*arg2
= 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char * kwnames
[] = {
18706 (char *) "self",(char *) "pt", NULL
18709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= 0;
18734 wxDC
*arg1
= (wxDC
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 PyObject
* obj2
= 0 ;
18758 PyObject
* obj3
= 0 ;
18759 PyObject
* obj4
= 0 ;
18760 PyObject
* obj5
= 0 ;
18761 PyObject
* obj6
= 0 ;
18762 char * kwnames
[] = {
18763 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18768 if (!SWIG_IsOK(res1
)) {
18769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18773 if (!SWIG_IsOK(ecode2
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18776 arg2
= static_cast< int >(val2
);
18777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18778 if (!SWIG_IsOK(ecode3
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18781 arg3
= static_cast< int >(val3
);
18782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18783 if (!SWIG_IsOK(ecode4
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18786 arg4
= static_cast< int >(val4
);
18787 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18788 if (!SWIG_IsOK(ecode5
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18791 arg5
= static_cast< int >(val5
);
18792 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18793 if (!SWIG_IsOK(ecode6
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18796 arg6
= static_cast< int >(val6
);
18797 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18798 if (!SWIG_IsOK(ecode7
)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18801 arg7
= static_cast< int >(val7
);
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_Py_Void();
18815 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
= 0;
18817 wxDC
*arg1
= (wxDC
*) 0 ;
18818 wxPoint
*arg2
= 0 ;
18819 wxPoint
*arg3
= 0 ;
18820 wxPoint
*arg4
= 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 PyObject
* obj2
= 0 ;
18829 PyObject
* obj3
= 0 ;
18830 char * kwnames
[] = {
18831 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18836 if (!SWIG_IsOK(res1
)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_Py_Void();
18865 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
= 0;
18867 wxDC
*arg1
= (wxDC
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 PyObject
* obj2
= 0 ;
18885 PyObject
* obj3
= 0 ;
18886 PyObject
* obj4
= 0 ;
18887 char * kwnames
[] = {
18888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18893 if (!SWIG_IsOK(res1
)) {
18894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18898 if (!SWIG_IsOK(ecode2
)) {
18899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18901 arg2
= static_cast< int >(val2
);
18902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18903 if (!SWIG_IsOK(ecode3
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18906 arg3
= static_cast< int >(val3
);
18907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18908 if (!SWIG_IsOK(ecode4
)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18911 arg4
= static_cast< int >(val4
);
18912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18913 if (!SWIG_IsOK(ecode5
)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18916 arg5
= static_cast< int >(val5
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_Py_Void();
18930 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
= 0;
18932 wxDC
*arg1
= (wxDC
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char * kwnames
[] = {
18940 (char *) "self",(char *) "rect", NULL
18943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18951 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= 0;
18968 wxDC
*arg1
= (wxDC
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 PyObject
* obj2
= 0 ;
18992 PyObject
* obj3
= 0 ;
18993 PyObject
* obj4
= 0 ;
18994 PyObject
* obj5
= 0 ;
18995 PyObject
* obj6
= 0 ;
18996 char * kwnames
[] = {
18997 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19007 if (!SWIG_IsOK(ecode2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19010 arg2
= static_cast< int >(val2
);
19011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19012 if (!SWIG_IsOK(ecode3
)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19015 arg3
= static_cast< int >(val3
);
19016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19017 if (!SWIG_IsOK(ecode4
)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19020 arg4
= static_cast< int >(val4
);
19021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19022 if (!SWIG_IsOK(ecode5
)) {
19023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19025 arg5
= static_cast< int >(val5
);
19026 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19027 if (!SWIG_IsOK(ecode6
)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19030 arg6
= static_cast< double >(val6
);
19031 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19032 if (!SWIG_IsOK(ecode7
)) {
19033 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19035 arg7
= static_cast< double >(val7
);
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_Py_Void();
19049 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxDC
*arg1
= (wxDC
*) 0 ;
19052 wxPoint
*arg2
= 0 ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 PyObject
* obj3
= 0 ;
19068 PyObject
* obj4
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19085 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19087 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19088 if (!SWIG_IsOK(ecode4
)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19091 arg4
= static_cast< double >(val4
);
19092 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19093 if (!SWIG_IsOK(ecode5
)) {
19094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19096 arg5
= static_cast< double >(val5
);
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= SWIG_Py_Void();
19110 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
= 0;
19112 wxDC
*arg1
= (wxDC
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 PyObject
* obj2
= 0 ;
19124 char * kwnames
[] = {
19125 (char *) "self",(char *) "x",(char *) "y", NULL
19128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19130 if (!SWIG_IsOK(res1
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19135 if (!SWIG_IsOK(ecode2
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19138 arg2
= static_cast< int >(val2
);
19139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19140 if (!SWIG_IsOK(ecode3
)) {
19141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19143 arg3
= static_cast< int >(val3
);
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->DrawPoint(arg2
,arg3
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_Py_Void();
19157 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
= 0;
19159 wxDC
*arg1
= (wxDC
*) 0 ;
19160 wxPoint
*arg2
= 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "pt", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_Py_Void();
19193 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= 0;
19195 wxDC
*arg1
= (wxDC
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 PyObject
* obj2
= 0 ;
19213 PyObject
* obj3
= 0 ;
19214 PyObject
* obj4
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19226 if (!SWIG_IsOK(ecode2
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19229 arg2
= static_cast< int >(val2
);
19230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19231 if (!SWIG_IsOK(ecode3
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19234 arg3
= static_cast< int >(val3
);
19235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19236 if (!SWIG_IsOK(ecode4
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19239 arg4
= static_cast< int >(val4
);
19240 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19241 if (!SWIG_IsOK(ecode5
)) {
19242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19244 arg5
= static_cast< int >(val5
);
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_Py_Void();
19258 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
= 0;
19260 wxDC
*arg1
= (wxDC
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char * kwnames
[] = {
19268 (char *) "self",(char *) "rect", NULL
19271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19273 if (!SWIG_IsOK(res1
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_Py_Void();
19294 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
= 0;
19296 wxDC
*arg1
= (wxDC
*) 0 ;
19297 wxPoint
*arg2
= 0 ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 PyObject
* obj2
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "pt",(char *) "sz", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19322 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_Py_Void();
19337 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
= 0;
19339 wxDC
*arg1
= (wxDC
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 PyObject
* obj3
= 0 ;
19361 PyObject
* obj4
= 0 ;
19362 PyObject
* obj5
= 0 ;
19363 char * kwnames
[] = {
19364 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19369 if (!SWIG_IsOK(res1
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19374 if (!SWIG_IsOK(ecode2
)) {
19375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19377 arg2
= static_cast< int >(val2
);
19378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19379 if (!SWIG_IsOK(ecode3
)) {
19380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19382 arg3
= static_cast< int >(val3
);
19383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19384 if (!SWIG_IsOK(ecode4
)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19387 arg4
= static_cast< int >(val4
);
19388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19389 if (!SWIG_IsOK(ecode5
)) {
19390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19392 arg5
= static_cast< int >(val5
);
19393 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19394 if (!SWIG_IsOK(ecode6
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19397 arg6
= static_cast< double >(val6
);
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19411 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19413 wxDC
*arg1
= (wxDC
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 char * kwnames
[] = {
19425 (char *) "self",(char *) "r",(char *) "radius", NULL
19428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19438 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19439 if (!SWIG_IsOK(ecode3
)) {
19440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19442 arg3
= static_cast< double >(val3
);
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_Py_Void();
19456 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
= 0;
19458 wxDC
*arg1
= (wxDC
*) 0 ;
19459 wxPoint
*arg2
= 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 PyObject
* obj2
= 0 ;
19471 PyObject
* obj3
= 0 ;
19472 char * kwnames
[] = {
19473 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19478 if (!SWIG_IsOK(res1
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19488 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19490 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19491 if (!SWIG_IsOK(ecode4
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19494 arg4
= static_cast< double >(val4
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_Py_Void();
19508 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
= 0;
19510 wxDC
*arg1
= (wxDC
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 PyObject
* obj2
= 0 ;
19525 PyObject
* obj3
= 0 ;
19526 char * kwnames
[] = {
19527 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19532 if (!SWIG_IsOK(res1
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19537 if (!SWIG_IsOK(ecode2
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19540 arg2
= static_cast< int >(val2
);
19541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19542 if (!SWIG_IsOK(ecode3
)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19545 arg3
= static_cast< int >(val3
);
19546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19547 if (!SWIG_IsOK(ecode4
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19550 arg4
= static_cast< int >(val4
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_Py_Void();
19564 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
= 0;
19566 wxDC
*arg1
= (wxDC
*) 0 ;
19567 wxPoint
*arg2
= 0 ;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 PyObject
* obj2
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "self",(char *) "pt",(char *) "radius", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19592 if (!SWIG_IsOK(ecode3
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19595 arg3
= static_cast< int >(val3
);
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_Py_Void();
19609 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 wxDC
*arg1
= (wxDC
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 PyObject
* obj3
= 0 ;
19630 PyObject
* obj4
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19642 if (!SWIG_IsOK(ecode2
)) {
19643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19645 arg2
= static_cast< int >(val2
);
19646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19647 if (!SWIG_IsOK(ecode3
)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19650 arg3
= static_cast< int >(val3
);
19651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19652 if (!SWIG_IsOK(ecode4
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19655 arg4
= static_cast< int >(val4
);
19656 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19657 if (!SWIG_IsOK(ecode5
)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19660 arg5
= static_cast< int >(val5
);
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_Py_Void();
19674 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
= 0;
19676 wxDC
*arg1
= (wxDC
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 char * kwnames
[] = {
19684 (char *) "self",(char *) "rect", NULL
19687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19695 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_Py_Void();
19710 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxDC
*arg1
= (wxDC
*) 0 ;
19713 wxPoint
*arg2
= 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 PyObject
* obj2
= 0 ;
19722 char * kwnames
[] = {
19723 (char *) "self",(char *) "pt",(char *) "sz", NULL
19726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19728 if (!SWIG_IsOK(res1
)) {
19729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19738 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_Py_Void();
19753 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxDC
*arg1
= (wxDC
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 PyObject
* obj2
= 0 ;
19770 PyObject
* obj3
= 0 ;
19771 char * kwnames
[] = {
19772 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19777 if (!SWIG_IsOK(res1
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19782 if (!SWIG_IsOK(res2
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19788 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19790 if (!SWIG_IsOK(ecode3
)) {
19791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19793 arg3
= static_cast< int >(val3
);
19794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19795 if (!SWIG_IsOK(ecode4
)) {
19796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19798 arg4
= static_cast< int >(val4
);
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_Py_Void();
19812 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxDC
*arg1
= (wxDC
*) 0 ;
19816 wxPoint
*arg3
= 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 PyObject
* obj2
= 0 ;
19825 char * kwnames
[] = {
19826 (char *) "self",(char *) "icon",(char *) "pt", NULL
19829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19836 if (!SWIG_IsOK(res2
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19842 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_Py_Void();
19860 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= 0;
19862 wxDC
*arg1
= (wxDC
*) 0 ;
19863 wxBitmap
*arg2
= 0 ;
19866 bool arg5
= (bool) false ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 PyObject
* obj3
= 0 ;
19881 PyObject
* obj4
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19888 if (!SWIG_IsOK(res1
)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19893 if (!SWIG_IsOK(res2
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19899 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19901 if (!SWIG_IsOK(ecode3
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19904 arg3
= static_cast< int >(val3
);
19905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19906 if (!SWIG_IsOK(ecode4
)) {
19907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19909 arg4
= static_cast< int >(val4
);
19911 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19912 if (!SWIG_IsOK(ecode5
)) {
19913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19915 arg5
= static_cast< bool >(val5
);
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_Py_Void();
19930 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
= 0;
19932 wxDC
*arg1
= (wxDC
*) 0 ;
19933 wxBitmap
*arg2
= 0 ;
19934 wxPoint
*arg3
= 0 ;
19935 bool arg4
= (bool) false ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 PyObject
* obj2
= 0 ;
19946 PyObject
* obj3
= 0 ;
19947 char * kwnames
[] = {
19948 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19953 if (!SWIG_IsOK(res1
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19958 if (!SWIG_IsOK(res2
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19964 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19970 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19971 if (!SWIG_IsOK(ecode4
)) {
19972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19974 arg4
= static_cast< bool >(val4
);
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= SWIG_Py_Void();
19989 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
= 0;
19991 wxDC
*arg1
= (wxDC
*) 0 ;
19992 wxString
*arg2
= 0 ;
19997 bool temp2
= false ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 PyObject
* obj2
= 0 ;
20005 PyObject
* obj3
= 0 ;
20006 char * kwnames
[] = {
20007 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20012 if (!SWIG_IsOK(res1
)) {
20013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20017 arg2
= wxString_in_helper(obj1
);
20018 if (arg2
== NULL
) SWIG_fail
;
20021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20022 if (!SWIG_IsOK(ecode3
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20025 arg3
= static_cast< int >(val3
);
20026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20027 if (!SWIG_IsOK(ecode4
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20030 arg4
= static_cast< int >(val4
);
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_Py_Void();
20052 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
= 0;
20054 wxDC
*arg1
= (wxDC
*) 0 ;
20055 wxString
*arg2
= 0 ;
20056 wxPoint
*arg3
= 0 ;
20059 bool temp2
= false ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 PyObject
* obj2
= 0 ;
20064 char * kwnames
[] = {
20065 (char *) "self",(char *) "text",(char *) "pt", NULL
20068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20070 if (!SWIG_IsOK(res1
)) {
20071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20075 arg2
= wxString_in_helper(obj1
);
20076 if (arg2
== NULL
) SWIG_fail
;
20081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= SWIG_Py_Void();
20104 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
= 0;
20106 wxDC
*arg1
= (wxDC
*) 0 ;
20107 wxString
*arg2
= 0 ;
20113 bool temp2
= false ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 PyObject
* obj3
= 0 ;
20124 PyObject
* obj4
= 0 ;
20125 char * kwnames
[] = {
20126 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20131 if (!SWIG_IsOK(res1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20136 arg2
= wxString_in_helper(obj1
);
20137 if (arg2
== NULL
) SWIG_fail
;
20140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20141 if (!SWIG_IsOK(ecode3
)) {
20142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20144 arg3
= static_cast< int >(val3
);
20145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20146 if (!SWIG_IsOK(ecode4
)) {
20147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20149 arg4
= static_cast< int >(val4
);
20150 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20151 if (!SWIG_IsOK(ecode5
)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20154 arg5
= static_cast< double >(val5
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_Py_Void();
20176 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= 0;
20178 wxDC
*arg1
= (wxDC
*) 0 ;
20179 wxString
*arg2
= 0 ;
20180 wxPoint
*arg3
= 0 ;
20184 bool temp2
= false ;
20188 PyObject
* obj0
= 0 ;
20189 PyObject
* obj1
= 0 ;
20190 PyObject
* obj2
= 0 ;
20191 PyObject
* obj3
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20198 if (!SWIG_IsOK(res1
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20203 arg2
= wxString_in_helper(obj1
);
20204 if (arg2
== NULL
) SWIG_fail
;
20209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20211 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20212 if (!SWIG_IsOK(ecode4
)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20215 arg4
= static_cast< double >(val4
);
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_Py_Void();
20237 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
= 0;
20239 wxDC
*arg1
= (wxDC
*) 0 ;
20244 wxDC
*arg6
= (wxDC
*) 0 ;
20247 int arg9
= (int) wxCOPY
;
20248 bool arg10
= (bool) false ;
20249 int arg11
= (int) -1 ;
20250 int arg12
= (int) -1 ;
20276 PyObject
* obj0
= 0 ;
20277 PyObject
* obj1
= 0 ;
20278 PyObject
* obj2
= 0 ;
20279 PyObject
* obj3
= 0 ;
20280 PyObject
* obj4
= 0 ;
20281 PyObject
* obj5
= 0 ;
20282 PyObject
* obj6
= 0 ;
20283 PyObject
* obj7
= 0 ;
20284 PyObject
* obj8
= 0 ;
20285 PyObject
* obj9
= 0 ;
20286 PyObject
* obj10
= 0 ;
20287 PyObject
* obj11
= 0 ;
20288 char * kwnames
[] = {
20289 (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
20292 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
;
20293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20294 if (!SWIG_IsOK(res1
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20299 if (!SWIG_IsOK(ecode2
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20302 arg2
= static_cast< int >(val2
);
20303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20304 if (!SWIG_IsOK(ecode3
)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20307 arg3
= static_cast< int >(val3
);
20308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20309 if (!SWIG_IsOK(ecode4
)) {
20310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20312 arg4
= static_cast< int >(val4
);
20313 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20314 if (!SWIG_IsOK(ecode5
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20317 arg5
= static_cast< int >(val5
);
20318 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20319 if (!SWIG_IsOK(res6
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20322 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20323 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20324 if (!SWIG_IsOK(ecode7
)) {
20325 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20327 arg7
= static_cast< int >(val7
);
20328 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20329 if (!SWIG_IsOK(ecode8
)) {
20330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20332 arg8
= static_cast< int >(val8
);
20334 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20335 if (!SWIG_IsOK(ecode9
)) {
20336 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20338 arg9
= static_cast< int >(val9
);
20341 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20342 if (!SWIG_IsOK(ecode10
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20345 arg10
= static_cast< bool >(val10
);
20348 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20349 if (!SWIG_IsOK(ecode11
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20352 arg11
= static_cast< int >(val11
);
20355 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20356 if (!SWIG_IsOK(ecode12
)) {
20357 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20359 arg12
= static_cast< int >(val12
);
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20376 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
= 0;
20378 wxDC
*arg1
= (wxDC
*) 0 ;
20379 wxPoint
*arg2
= 0 ;
20381 wxDC
*arg4
= (wxDC
*) 0 ;
20382 wxPoint
*arg5
= 0 ;
20383 int arg6
= (int) wxCOPY
;
20384 bool arg7
= (bool) false ;
20385 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20386 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20400 PyObject
* obj0
= 0 ;
20401 PyObject
* obj1
= 0 ;
20402 PyObject
* obj2
= 0 ;
20403 PyObject
* obj3
= 0 ;
20404 PyObject
* obj4
= 0 ;
20405 PyObject
* obj5
= 0 ;
20406 PyObject
* obj6
= 0 ;
20407 PyObject
* obj7
= 0 ;
20408 char * kwnames
[] = {
20409 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20424 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20426 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20427 if (!SWIG_IsOK(res4
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20430 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20436 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20437 if (!SWIG_IsOK(ecode6
)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20440 arg6
= static_cast< int >(val6
);
20443 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20444 if (!SWIG_IsOK(ecode7
)) {
20445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20447 arg7
= static_cast< bool >(val7
);
20452 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20470 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
= 0;
20472 wxDC
*arg1
= (wxDC
*) 0 ;
20473 wxRect
*arg2
= (wxRect
*) NULL
;
20474 SwigValueWrapper
<wxBitmap
> result
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char * kwnames
[] = {
20482 (char *) "self",(char *) "subrect", NULL
20485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20493 if (!SWIG_IsOK(res2
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20496 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20511 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= 0;
20513 wxDC
*arg1
= (wxDC
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 PyObject
* obj2
= 0 ;
20531 PyObject
* obj3
= 0 ;
20532 PyObject
* obj4
= 0 ;
20533 char * kwnames
[] = {
20534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20539 if (!SWIG_IsOK(res1
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20544 if (!SWIG_IsOK(ecode2
)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20547 arg2
= static_cast< int >(val2
);
20548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20549 if (!SWIG_IsOK(ecode3
)) {
20550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20552 arg3
= static_cast< int >(val3
);
20553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20554 if (!SWIG_IsOK(ecode4
)) {
20555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20557 arg4
= static_cast< int >(val4
);
20558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20559 if (!SWIG_IsOK(ecode5
)) {
20560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20562 arg5
= static_cast< int >(val5
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_Py_Void();
20576 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= 0;
20578 wxDC
*arg1
= (wxDC
*) 0 ;
20579 wxPoint
*arg2
= 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 PyObject
* obj2
= 0 ;
20588 char * kwnames
[] = {
20589 (char *) "self",(char *) "pt",(char *) "sz", NULL
20592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20604 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_Py_Void();
20619 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxDC
*arg1
= (wxDC
*) 0 ;
20622 wxRegion
*arg2
= 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 char * kwnames
[] = {
20630 (char *) "self",(char *) "region", NULL
20633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20640 if (!SWIG_IsOK(res2
)) {
20641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20646 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_Py_Void();
20660 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
= 0;
20662 wxDC
*arg1
= (wxDC
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "self",(char *) "rect", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20681 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_Py_Void();
20696 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
= 0;
20698 wxDC
*arg1
= (wxDC
*) 0 ;
20700 wxPoint
*arg3
= (wxPoint
*) 0 ;
20701 int arg4
= (int) 0 ;
20702 int arg5
= (int) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 PyObject
* obj2
= 0 ;
20712 PyObject
* obj3
= 0 ;
20713 char * kwnames
[] = {
20714 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20719 if (!SWIG_IsOK(res1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20724 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20725 if (arg3
== NULL
) SWIG_fail
;
20728 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20729 if (!SWIG_IsOK(ecode4
)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20732 arg4
= static_cast< int >(val4
);
20735 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20736 if (!SWIG_IsOK(ecode5
)) {
20737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20739 arg5
= static_cast< int >(val5
);
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_Py_Void();
20749 if (arg3
) delete [] arg3
;
20754 if (arg3
) delete [] arg3
;
20760 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
= 0;
20762 wxDC
*arg1
= (wxDC
*) 0 ;
20764 wxPoint
*arg3
= (wxPoint
*) 0 ;
20765 int arg4
= (int) 0 ;
20766 int arg5
= (int) 0 ;
20767 int arg6
= (int) wxODDEVEN_RULE
;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 PyObject
* obj2
= 0 ;
20779 PyObject
* obj3
= 0 ;
20780 PyObject
* obj4
= 0 ;
20781 char * kwnames
[] = {
20782 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20792 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20793 if (arg3
== NULL
) SWIG_fail
;
20796 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20797 if (!SWIG_IsOK(ecode4
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20800 arg4
= static_cast< int >(val4
);
20803 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20804 if (!SWIG_IsOK(ecode5
)) {
20805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20807 arg5
= static_cast< int >(val5
);
20810 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20811 if (!SWIG_IsOK(ecode6
)) {
20812 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20814 arg6
= static_cast< int >(val6
);
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_Py_Void();
20824 if (arg3
) delete [] arg3
;
20829 if (arg3
) delete [] arg3
;
20835 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
= 0;
20837 wxDC
*arg1
= (wxDC
*) 0 ;
20838 wxString
*arg2
= 0 ;
20840 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20841 int arg5
= (int) -1 ;
20844 bool temp2
= false ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 PyObject
* obj2
= 0 ;
20853 PyObject
* obj3
= 0 ;
20854 PyObject
* obj4
= 0 ;
20855 char * kwnames
[] = {
20856 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20861 if (!SWIG_IsOK(res1
)) {
20862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20866 arg2
= wxString_in_helper(obj1
);
20867 if (arg2
== NULL
) SWIG_fail
;
20872 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20876 if (!SWIG_IsOK(ecode4
)) {
20877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20879 arg4
= static_cast< int >(val4
);
20882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20883 if (!SWIG_IsOK(ecode5
)) {
20884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20886 arg5
= static_cast< int >(val5
);
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_Py_Void();
20909 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= 0;
20911 wxDC
*arg1
= (wxDC
*) 0 ;
20912 wxString
*arg2
= 0 ;
20913 wxBitmap
*arg3
= 0 ;
20915 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20916 int arg6
= (int) -1 ;
20920 bool temp2
= false ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 PyObject
* obj2
= 0 ;
20931 PyObject
* obj3
= 0 ;
20932 PyObject
* obj4
= 0 ;
20933 PyObject
* obj5
= 0 ;
20934 char * kwnames
[] = {
20935 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20940 if (!SWIG_IsOK(res1
)) {
20941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20945 arg2
= wxString_in_helper(obj1
);
20946 if (arg2
== NULL
) SWIG_fail
;
20949 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20950 if (!SWIG_IsOK(res3
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20956 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20959 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20963 if (!SWIG_IsOK(ecode5
)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20966 arg5
= static_cast< int >(val5
);
20969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20970 if (!SWIG_IsOK(ecode6
)) {
20971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20973 arg6
= static_cast< int >(val6
);
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20996 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxDC
*arg1
= (wxDC
*) 0 ;
21000 wxPoint
*arg3
= (wxPoint
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "points", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21016 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21017 if (arg3
== NULL
) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->DrawSpline(arg2
,arg3
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_Py_Void();
21027 if (arg3
) delete [] arg3
;
21032 if (arg3
) delete [] arg3
;
21038 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21043 PyObject
*swig_obj
[1] ;
21045 if (!args
) SWIG_fail
;
21046 swig_obj
[0] = args
;
21047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_Py_Void();
21065 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= 0;
21067 wxDC
*arg1
= (wxDC
*) 0 ;
21068 wxString
*arg2
= 0 ;
21072 bool temp2
= false ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char * kwnames
[] = {
21076 (char *) "self",(char *) "message", NULL
21079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21081 if (!SWIG_IsOK(res1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21086 arg2
= wxString_in_helper(obj1
);
21087 if (arg2
== NULL
) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21113 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21114 PyObject
*resultobj
= 0;
21115 wxDC
*arg1
= (wxDC
*) 0 ;
21118 PyObject
*swig_obj
[1] ;
21120 if (!args
) SWIG_fail
;
21121 swig_obj
[0] = args
;
21122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= SWIG_Py_Void();
21140 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 PyObject
*resultobj
= 0;
21142 wxDC
*arg1
= (wxDC
*) 0 ;
21145 PyObject
*swig_obj
[1] ;
21147 if (!args
) SWIG_fail
;
21148 swig_obj
[0] = args
;
21149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->StartPage();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_Py_Void();
21167 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxDC
*arg1
= (wxDC
*) 0 ;
21172 PyObject
*swig_obj
[1] ;
21174 if (!args
) SWIG_fail
;
21175 swig_obj
[0] = args
;
21176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21177 if (!SWIG_IsOK(res1
)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_Py_Void();
21194 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
= 0;
21196 wxDC
*arg1
= (wxDC
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char * kwnames
[] = {
21205 (char *) "self",(char *) "font", NULL
21208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21210 if (!SWIG_IsOK(res1
)) {
21211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21215 if (!SWIG_IsOK(res2
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21221 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 (arg1
)->SetFont((wxFont
const &)*arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_Py_Void();
21235 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
= 0;
21237 wxDC
*arg1
= (wxDC
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char * kwnames
[] = {
21246 (char *) "self",(char *) "pen", NULL
21249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21256 if (!SWIG_IsOK(res2
)) {
21257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21262 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetPen((wxPen
const &)*arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_Py_Void();
21276 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxDC
*arg1
= (wxDC
*) 0 ;
21279 wxBrush
*arg2
= 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char * kwnames
[] = {
21287 (char *) "self",(char *) "brush", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21297 if (!SWIG_IsOK(res2
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21303 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_Py_Void();
21317 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
= 0;
21319 wxDC
*arg1
= (wxDC
*) 0 ;
21320 wxBrush
*arg2
= 0 ;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 char * kwnames
[] = {
21328 (char *) "self",(char *) "brush", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21338 if (!SWIG_IsOK(res2
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21344 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_Py_Void();
21358 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxDC
*arg1
= (wxDC
*) 0 ;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char * kwnames
[] = {
21369 (char *) "self",(char *) "mode", NULL
21372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21379 if (!SWIG_IsOK(ecode2
)) {
21380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21382 arg2
= static_cast< int >(val2
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 (arg1
)->SetBackgroundMode(arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_Py_Void();
21396 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21399 wxPalette
*arg2
= 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char * kwnames
[] = {
21407 (char *) "self",(char *) "palette", NULL
21410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21412 if (!SWIG_IsOK(res1
)) {
21413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21417 if (!SWIG_IsOK(res2
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21423 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_Py_Void();
21437 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21438 PyObject
*resultobj
= 0;
21439 wxDC
*arg1
= (wxDC
*) 0 ;
21442 PyObject
*swig_obj
[1] ;
21444 if (!args
) SWIG_fail
;
21445 swig_obj
[0] = args
;
21446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21447 if (!SWIG_IsOK(res1
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->DestroyClippingRegion();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_Py_Void();
21464 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21465 PyObject
*resultobj
= 0;
21466 wxDC
*arg1
= (wxDC
*) 0 ;
21467 int *arg2
= (int *) 0 ;
21468 int *arg3
= (int *) 0 ;
21469 int *arg4
= (int *) 0 ;
21470 int *arg5
= (int *) 0 ;
21474 int res2
= SWIG_TMPOBJ
;
21476 int res3
= SWIG_TMPOBJ
;
21478 int res4
= SWIG_TMPOBJ
;
21480 int res5
= SWIG_TMPOBJ
;
21481 PyObject
*swig_obj
[1] ;
21487 if (!args
) SWIG_fail
;
21488 swig_obj
[0] = args
;
21489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_Py_Void();
21501 if (SWIG_IsTmpObj(res2
)) {
21502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21504 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21507 if (SWIG_IsTmpObj(res3
)) {
21508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21510 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21513 if (SWIG_IsTmpObj(res4
)) {
21514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21516 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21519 if (SWIG_IsTmpObj(res5
)) {
21520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21522 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21531 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21532 PyObject
*resultobj
= 0;
21533 wxDC
*arg1
= (wxDC
*) 0 ;
21537 PyObject
*swig_obj
[1] ;
21539 if (!args
) SWIG_fail
;
21540 swig_obj
[0] = args
;
21541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21542 if (!SWIG_IsOK(res1
)) {
21543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= wxDC_GetClippingRect(arg1
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21559 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21560 PyObject
*resultobj
= 0;
21561 wxDC
*arg1
= (wxDC
*) 0 ;
21565 PyObject
*swig_obj
[1] ;
21567 if (!args
) SWIG_fail
;
21568 swig_obj
[0] = args
;
21569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21570 if (!SWIG_IsOK(res1
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_From_int(static_cast< int >(result
));
21587 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21588 PyObject
*resultobj
= 0;
21589 wxDC
*arg1
= (wxDC
*) 0 ;
21593 PyObject
*swig_obj
[1] ;
21595 if (!args
) SWIG_fail
;
21596 swig_obj
[0] = args
;
21597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21598 if (!SWIG_IsOK(res1
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= SWIG_From_int(static_cast< int >(result
));
21615 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= 0;
21617 wxDC
*arg1
= (wxDC
*) 0 ;
21618 wxString
*arg2
= 0 ;
21619 int *arg3
= (int *) 0 ;
21620 int *arg4
= (int *) 0 ;
21623 bool temp2
= false ;
21625 int res3
= SWIG_TMPOBJ
;
21627 int res4
= SWIG_TMPOBJ
;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "self",(char *) "string", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 arg2
= wxString_in_helper(obj1
);
21644 if (arg2
== NULL
) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_Py_Void();
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
));
21660 if (SWIG_IsTmpObj(res4
)) {
21661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21663 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21680 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
= 0;
21682 wxDC
*arg1
= (wxDC
*) 0 ;
21683 wxString
*arg2
= 0 ;
21684 int *arg3
= (int *) 0 ;
21685 int *arg4
= (int *) 0 ;
21686 int *arg5
= (int *) 0 ;
21687 int *arg6
= (int *) 0 ;
21688 wxFont
*arg7
= (wxFont
*) NULL
;
21691 bool temp2
= false ;
21693 int res3
= SWIG_TMPOBJ
;
21695 int res4
= SWIG_TMPOBJ
;
21697 int res5
= SWIG_TMPOBJ
;
21699 int res6
= SWIG_TMPOBJ
;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 char * kwnames
[] = {
21706 (char *) "self",(char *) "string",(char *) "font", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21720 arg2
= wxString_in_helper(obj1
);
21721 if (arg2
== NULL
) SWIG_fail
;
21725 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21726 if (!SWIG_IsOK(res7
)) {
21727 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21729 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21738 if (SWIG_IsTmpObj(res3
)) {
21739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21741 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21744 if (SWIG_IsTmpObj(res4
)) {
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21747 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21750 if (SWIG_IsTmpObj(res5
)) {
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21753 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21756 if (SWIG_IsTmpObj(res6
)) {
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21759 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21776 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
= 0;
21778 wxDC
*arg1
= (wxDC
*) 0 ;
21779 wxString
*arg2
= 0 ;
21780 int *arg3
= (int *) 0 ;
21781 int *arg4
= (int *) 0 ;
21782 int *arg5
= (int *) 0 ;
21783 wxFont
*arg6
= (wxFont
*) NULL
;
21786 bool temp2
= false ;
21788 int res3
= SWIG_TMPOBJ
;
21790 int res4
= SWIG_TMPOBJ
;
21792 int res5
= SWIG_TMPOBJ
;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 PyObject
* obj2
= 0 ;
21798 char * kwnames
[] = {
21799 (char *) "self",(char *) "text",(char *) "font", NULL
21805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21807 if (!SWIG_IsOK(res1
)) {
21808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21812 arg2
= wxString_in_helper(obj1
);
21813 if (arg2
== NULL
) SWIG_fail
;
21817 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21818 if (!SWIG_IsOK(res6
)) {
21819 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21821 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_Py_Void();
21830 if (SWIG_IsTmpObj(res3
)) {
21831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21833 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21836 if (SWIG_IsTmpObj(res4
)) {
21837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21839 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21842 if (SWIG_IsTmpObj(res5
)) {
21843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21845 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21862 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
= 0;
21864 wxDC
*arg1
= (wxDC
*) 0 ;
21865 wxString
*arg2
= 0 ;
21869 bool temp2
= false ;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 char * kwnames
[] = {
21873 (char *) "self",(char *) "text", NULL
21876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21883 arg2
= wxString_in_helper(obj1
);
21884 if (arg2
== NULL
) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= wxArrayInt2PyList_helper(result
);
21910 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21911 PyObject
*resultobj
= 0;
21912 wxDC
*arg1
= (wxDC
*) 0 ;
21916 PyObject
*swig_obj
[1] ;
21918 if (!args
) SWIG_fail
;
21919 swig_obj
[0] = args
;
21920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= (arg1
)->GetSize();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21938 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxDC
*arg1
= (wxDC
*) 0 ;
21941 int *arg2
= (int *) 0 ;
21942 int *arg3
= (int *) 0 ;
21946 int res2
= SWIG_TMPOBJ
;
21948 int res3
= SWIG_TMPOBJ
;
21949 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->GetSize(arg2
,arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= SWIG_Py_Void();
21967 if (SWIG_IsTmpObj(res2
)) {
21968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21970 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21973 if (SWIG_IsTmpObj(res3
)) {
21974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21985 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 0 ;
21991 PyObject
*swig_obj
[1] ;
21993 if (!args
) SWIG_fail
;
21994 swig_obj
[0] = args
;
21995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22013 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22014 PyObject
*resultobj
= 0;
22015 wxDC
*arg1
= (wxDC
*) 0 ;
22016 int *arg2
= (int *) 0 ;
22017 int *arg3
= (int *) 0 ;
22021 int res2
= SWIG_TMPOBJ
;
22023 int res3
= SWIG_TMPOBJ
;
22024 PyObject
*swig_obj
[1] ;
22028 if (!args
) SWIG_fail
;
22029 swig_obj
[0] = args
;
22030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_Py_Void();
22042 if (SWIG_IsTmpObj(res2
)) {
22043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22045 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22048 if (SWIG_IsTmpObj(res3
)) {
22049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22060 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
= 0;
22062 wxDC
*arg1
= (wxDC
*) 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char * kwnames
[] = {
22072 (char *) "self",(char *) "x", NULL
22075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22077 if (!SWIG_IsOK(res1
)) {
22078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22082 if (!SWIG_IsOK(ecode2
)) {
22083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22085 arg2
= static_cast< int >(val2
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= SWIG_From_int(static_cast< int >(result
));
22099 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
= 0;
22101 wxDC
*arg1
= (wxDC
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 char * kwnames
[] = {
22111 (char *) "self",(char *) "y", NULL
22114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22121 if (!SWIG_IsOK(ecode2
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22124 arg2
= static_cast< int >(val2
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_From_int(static_cast< int >(result
));
22138 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
= 0;
22140 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char * kwnames
[] = {
22150 (char *) "self",(char *) "x", NULL
22153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22155 if (!SWIG_IsOK(res1
)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22160 if (!SWIG_IsOK(ecode2
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22163 arg2
= static_cast< int >(val2
);
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_From_int(static_cast< int >(result
));
22177 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxDC
*arg1
= (wxDC
*) 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 char * kwnames
[] = {
22189 (char *) "self",(char *) "y", NULL
22192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22199 if (!SWIG_IsOK(ecode2
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22202 arg2
= static_cast< int >(val2
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_From_int(static_cast< int >(result
));
22216 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
= 0;
22218 wxDC
*arg1
= (wxDC
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char * kwnames
[] = {
22228 (char *) "self",(char *) "x", NULL
22231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22238 if (!SWIG_IsOK(ecode2
)) {
22239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22241 arg2
= static_cast< int >(val2
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_From_int(static_cast< int >(result
));
22255 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
= 0;
22257 wxDC
*arg1
= (wxDC
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 char * kwnames
[] = {
22267 (char *) "self",(char *) "y", NULL
22270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22277 if (!SWIG_IsOK(ecode2
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22280 arg2
= static_cast< int >(val2
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_From_int(static_cast< int >(result
));
22294 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= 0;
22296 wxDC
*arg1
= (wxDC
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "self",(char *) "x", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22316 if (!SWIG_IsOK(ecode2
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22319 arg2
= static_cast< int >(val2
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_From_int(static_cast< int >(result
));
22333 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
= 0;
22335 wxDC
*arg1
= (wxDC
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "self",(char *) "y", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22358 arg2
= static_cast< int >(val2
);
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_From_int(static_cast< int >(result
));
22372 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22373 PyObject
*resultobj
= 0;
22374 wxDC
*arg1
= (wxDC
*) 0 ;
22378 PyObject
*swig_obj
[1] ;
22380 if (!args
) SWIG_fail
;
22381 swig_obj
[0] = args
;
22382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22403 PyObject
*resultobj
= 0;
22404 wxDC
*arg1
= (wxDC
*) 0 ;
22408 PyObject
*swig_obj
[1] ;
22410 if (!args
) SWIG_fail
;
22411 swig_obj
[0] = args
;
22412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22413 if (!SWIG_IsOK(res1
)) {
22414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22432 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22434 wxDC
*arg1
= (wxDC
*) 0 ;
22438 PyObject
*swig_obj
[1] ;
22440 if (!args
) SWIG_fail
;
22441 swig_obj
[0] = args
;
22442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_From_int(static_cast< int >(result
));
22460 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22461 PyObject
*resultobj
= 0;
22462 wxDC
*arg1
= (wxDC
*) 0 ;
22466 PyObject
*swig_obj
[1] ;
22468 if (!args
) SWIG_fail
;
22469 swig_obj
[0] = args
;
22470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= ((wxDC
const *)arg1
)->GetPPI();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22488 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22489 PyObject
*resultobj
= 0;
22490 wxDC
*arg1
= (wxDC
*) 0 ;
22494 PyObject
*swig_obj
[1] ;
22496 if (!args
) SWIG_fail
;
22497 swig_obj
[0] = args
;
22498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 PyObject
*resultobj
= 0;
22520 wxDC
*arg1
= (wxDC
*) 0 ;
22524 PyObject
*swig_obj
[1] ;
22526 if (!args
) SWIG_fail
;
22527 swig_obj
[0] = args
;
22528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_From_int(static_cast< int >(result
));
22546 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxDC
*arg1
= (wxDC
*) 0 ;
22549 wxBrush
*result
= 0 ;
22552 PyObject
*swig_obj
[1] ;
22554 if (!args
) SWIG_fail
;
22555 swig_obj
[0] = args
;
22556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22557 if (!SWIG_IsOK(res1
)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22565 result
= (wxBrush
*) &_result_ref
;
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 wxBrush
* resultptr
= new wxBrush(*result
);
22572 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22580 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22581 PyObject
*resultobj
= 0;
22582 wxDC
*arg1
= (wxDC
*) 0 ;
22583 wxBrush
*result
= 0 ;
22586 PyObject
*swig_obj
[1] ;
22588 if (!args
) SWIG_fail
;
22589 swig_obj
[0] = args
;
22590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22599 result
= (wxBrush
*) &_result_ref
;
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 wxBrush
* resultptr
= new wxBrush(*result
);
22606 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22614 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22615 PyObject
*resultobj
= 0;
22616 wxDC
*arg1
= (wxDC
*) 0 ;
22617 wxFont
*result
= 0 ;
22620 PyObject
*swig_obj
[1] ;
22622 if (!args
) SWIG_fail
;
22623 swig_obj
[0] = args
;
22624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22633 result
= (wxFont
*) &_result_ref
;
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 wxFont
* resultptr
= new wxFont(*result
);
22640 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22648 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22649 PyObject
*resultobj
= 0;
22650 wxDC
*arg1
= (wxDC
*) 0 ;
22651 wxPen
*result
= 0 ;
22654 PyObject
*swig_obj
[1] ;
22656 if (!args
) SWIG_fail
;
22657 swig_obj
[0] = args
;
22658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22659 if (!SWIG_IsOK(res1
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22667 result
= (wxPen
*) &_result_ref
;
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 wxPen
* resultptr
= new wxPen(*result
);
22674 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22682 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxDC
*arg1
= (wxDC
*) 0 ;
22685 wxColour
*result
= 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22701 result
= (wxColour
*) &_result_ref
;
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22713 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22714 PyObject
*resultobj
= 0;
22715 wxDC
*arg1
= (wxDC
*) 0 ;
22716 wxColour
*result
= 0 ;
22719 PyObject
*swig_obj
[1] ;
22721 if (!args
) SWIG_fail
;
22722 swig_obj
[0] = args
;
22723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22732 result
= (wxColour
*) &_result_ref
;
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22744 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
= 0;
22746 wxDC
*arg1
= (wxDC
*) 0 ;
22747 wxColour
*arg2
= 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 char * kwnames
[] = {
22754 (char *) "self",(char *) "colour", NULL
22757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22759 if (!SWIG_IsOK(res1
)) {
22760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_Py_Void();
22780 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxDC
*arg1
= (wxDC
*) 0 ;
22783 wxColour
*arg2
= 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 char * kwnames
[] = {
22790 (char *) "self",(char *) "colour", NULL
22793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_Py_Void();
22816 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 PyObject
*resultobj
= 0;
22818 wxDC
*arg1
= (wxDC
*) 0 ;
22822 PyObject
*swig_obj
[1] ;
22824 if (!args
) SWIG_fail
;
22825 swig_obj
[0] = args
;
22826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22827 if (!SWIG_IsOK(res1
)) {
22828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_From_int(static_cast< int >(result
));
22844 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxDC
*arg1
= (wxDC
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char * kwnames
[] = {
22855 (char *) "self",(char *) "mode", NULL
22858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22860 if (!SWIG_IsOK(res1
)) {
22861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22865 if (!SWIG_IsOK(ecode2
)) {
22866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22868 arg2
= static_cast< int >(val2
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->SetMapMode(arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_Py_Void();
22882 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22885 double *arg2
= (double *) 0 ;
22886 double *arg3
= (double *) 0 ;
22890 int res2
= SWIG_TMPOBJ
;
22892 int res3
= SWIG_TMPOBJ
;
22893 PyObject
*swig_obj
[1] ;
22897 if (!args
) SWIG_fail
;
22898 swig_obj
[0] = args
;
22899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_Py_Void();
22911 if (SWIG_IsTmpObj(res2
)) {
22912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22914 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22917 if (SWIG_IsTmpObj(res3
)) {
22918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22920 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22929 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
= 0;
22931 wxDC
*arg1
= (wxDC
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 PyObject
* obj2
= 0 ;
22943 char * kwnames
[] = {
22944 (char *) "self",(char *) "x",(char *) "y", NULL
22947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22949 if (!SWIG_IsOK(res1
)) {
22950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22953 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22954 if (!SWIG_IsOK(ecode2
)) {
22955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22957 arg2
= static_cast< double >(val2
);
22958 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22959 if (!SWIG_IsOK(ecode3
)) {
22960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22962 arg3
= static_cast< double >(val3
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->SetUserScale(arg2
,arg3
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22979 double *arg2
= (double *) 0 ;
22980 double *arg3
= (double *) 0 ;
22984 int res2
= SWIG_TMPOBJ
;
22986 int res3
= SWIG_TMPOBJ
;
22987 PyObject
*swig_obj
[1] ;
22991 if (!args
) SWIG_fail
;
22992 swig_obj
[0] = args
;
22993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 (arg1
)->GetLogicalScale(arg2
,arg3
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_Py_Void();
23005 if (SWIG_IsTmpObj(res2
)) {
23006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23011 if (SWIG_IsTmpObj(res3
)) {
23012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23023 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
= 0;
23025 wxDC
*arg1
= (wxDC
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char * kwnames
[] = {
23038 (char *) "self",(char *) "x",(char *) "y", NULL
23041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23048 if (!SWIG_IsOK(ecode2
)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23051 arg2
= static_cast< double >(val2
);
23052 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23053 if (!SWIG_IsOK(ecode3
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23056 arg3
= static_cast< double >(val3
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->SetLogicalScale(arg2
,arg3
);
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_Py_Void();
23070 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23071 PyObject
*resultobj
= 0;
23072 wxDC
*arg1
= (wxDC
*) 0 ;
23076 PyObject
*swig_obj
[1] ;
23078 if (!args
) SWIG_fail
;
23079 swig_obj
[0] = args
;
23080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23081 if (!SWIG_IsOK(res1
)) {
23082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23098 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 PyObject
*resultobj
= 0;
23100 wxDC
*arg1
= (wxDC
*) 0 ;
23101 int *arg2
= (int *) 0 ;
23102 int *arg3
= (int *) 0 ;
23106 int res2
= SWIG_TMPOBJ
;
23108 int res3
= SWIG_TMPOBJ
;
23109 PyObject
*swig_obj
[1] ;
23113 if (!args
) SWIG_fail
;
23114 swig_obj
[0] = args
;
23115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23116 if (!SWIG_IsOK(res1
)) {
23117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_Py_Void();
23127 if (SWIG_IsTmpObj(res2
)) {
23128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23130 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23133 if (SWIG_IsTmpObj(res3
)) {
23134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23136 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23145 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
= 0;
23147 wxDC
*arg1
= (wxDC
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 PyObject
* obj2
= 0 ;
23159 char * kwnames
[] = {
23160 (char *) "self",(char *) "x",(char *) "y", NULL
23163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23170 if (!SWIG_IsOK(ecode2
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23173 arg2
= static_cast< int >(val2
);
23174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23175 if (!SWIG_IsOK(ecode3
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23178 arg3
= static_cast< int >(val3
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_Py_Void();
23192 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23194 wxDC
*arg1
= (wxDC
*) 0 ;
23195 wxPoint
*arg2
= 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char * kwnames
[] = {
23202 (char *) "self",(char *) "point", NULL
23205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23207 if (!SWIG_IsOK(res1
)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_Py_Void();
23228 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxDC
*arg1
= (wxDC
*) 0 ;
23234 PyObject
*swig_obj
[1] ;
23236 if (!args
) SWIG_fail
;
23237 swig_obj
[0] = args
;
23238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23256 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23257 PyObject
*resultobj
= 0;
23258 wxDC
*arg1
= (wxDC
*) 0 ;
23259 int *arg2
= (int *) 0 ;
23260 int *arg3
= (int *) 0 ;
23264 int res2
= SWIG_TMPOBJ
;
23266 int res3
= SWIG_TMPOBJ
;
23267 PyObject
*swig_obj
[1] ;
23271 if (!args
) SWIG_fail
;
23272 swig_obj
[0] = args
;
23273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23274 if (!SWIG_IsOK(res1
)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_Py_Void();
23285 if (SWIG_IsTmpObj(res2
)) {
23286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23288 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23291 if (SWIG_IsTmpObj(res3
)) {
23292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23294 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23303 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
= 0;
23305 wxDC
*arg1
= (wxDC
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 PyObject
* obj2
= 0 ;
23317 char * kwnames
[] = {
23318 (char *) "self",(char *) "x",(char *) "y", NULL
23321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23323 if (!SWIG_IsOK(res1
)) {
23324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23328 if (!SWIG_IsOK(ecode2
)) {
23329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23331 arg2
= static_cast< int >(val2
);
23332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23333 if (!SWIG_IsOK(ecode3
)) {
23334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23336 arg3
= static_cast< int >(val3
);
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_Py_Void();
23350 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
= 0;
23352 wxDC
*arg1
= (wxDC
*) 0 ;
23353 wxPoint
*arg2
= 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "point", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_Py_Void();
23386 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
= 0;
23388 wxDC
*arg1
= (wxDC
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 char * kwnames
[] = {
23401 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23406 if (!SWIG_IsOK(res1
)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23411 if (!SWIG_IsOK(ecode2
)) {
23412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23414 arg2
= static_cast< bool >(val2
);
23415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23416 if (!SWIG_IsOK(ecode3
)) {
23417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23419 arg3
= static_cast< bool >(val3
);
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_Py_Void();
23433 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23434 PyObject
*resultobj
= 0;
23435 wxDC
*arg1
= (wxDC
*) 0 ;
23439 PyObject
*swig_obj
[1] ;
23441 if (!args
) SWIG_fail
;
23442 swig_obj
[0] = args
;
23443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23444 if (!SWIG_IsOK(res1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_From_int(static_cast< int >(result
));
23461 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= 0;
23463 wxDC
*arg1
= (wxDC
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char * kwnames
[] = {
23472 (char *) "self",(char *) "function", NULL
23475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23482 if (!SWIG_IsOK(ecode2
)) {
23483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23485 arg2
= static_cast< int >(val2
);
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 (arg1
)->SetLogicalFunction(arg2
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_Py_Void();
23499 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23500 PyObject
*resultobj
= 0;
23501 wxDC
*arg1
= (wxDC
*) 0 ;
23504 PyObject
*swig_obj
[1] ;
23506 if (!args
) SWIG_fail
;
23507 swig_obj
[0] = args
;
23508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 (arg1
)->ComputeScaleAndOrigin();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_Py_Void();
23526 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
= 0;
23528 wxDC
*arg1
= (wxDC
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 PyObject
* obj2
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "self",(char *) "x",(char *) "y", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23551 if (!SWIG_IsOK(ecode2
)) {
23552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23554 arg2
= static_cast< int >(val2
);
23555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23556 if (!SWIG_IsOK(ecode3
)) {
23557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23559 arg3
= static_cast< int >(val3
);
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_Py_Void();
23573 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= 0;
23575 wxDC
*arg1
= (wxDC
*) 0 ;
23576 wxPoint
*arg2
= 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "self",(char *) "point", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_Py_Void();
23609 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 PyObject
*resultobj
= 0;
23611 wxDC
*arg1
= (wxDC
*) 0 ;
23614 PyObject
*swig_obj
[1] ;
23616 if (!args
) SWIG_fail
;
23617 swig_obj
[0] = args
;
23618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->ResetBoundingBox();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_Py_Void();
23636 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23637 PyObject
*resultobj
= 0;
23638 wxDC
*arg1
= (wxDC
*) 0 ;
23642 PyObject
*swig_obj
[1] ;
23644 if (!args
) SWIG_fail
;
23645 swig_obj
[0] = args
;
23646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (int)((wxDC
const *)arg1
)->MinX();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_From_int(static_cast< int >(result
));
23664 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23665 PyObject
*resultobj
= 0;
23666 wxDC
*arg1
= (wxDC
*) 0 ;
23670 PyObject
*swig_obj
[1] ;
23672 if (!args
) SWIG_fail
;
23673 swig_obj
[0] = args
;
23674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23675 if (!SWIG_IsOK(res1
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (int)((wxDC
const *)arg1
)->MaxX();
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_From_int(static_cast< int >(result
));
23692 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23693 PyObject
*resultobj
= 0;
23694 wxDC
*arg1
= (wxDC
*) 0 ;
23698 PyObject
*swig_obj
[1] ;
23700 if (!args
) SWIG_fail
;
23701 swig_obj
[0] = args
;
23702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23703 if (!SWIG_IsOK(res1
)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (int)((wxDC
const *)arg1
)->MinY();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_From_int(static_cast< int >(result
));
23720 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23721 PyObject
*resultobj
= 0;
23722 wxDC
*arg1
= (wxDC
*) 0 ;
23726 PyObject
*swig_obj
[1] ;
23728 if (!args
) SWIG_fail
;
23729 swig_obj
[0] = args
;
23730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (int)((wxDC
const *)arg1
)->MaxY();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_From_int(static_cast< int >(result
));
23748 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23749 PyObject
*resultobj
= 0;
23750 wxDC
*arg1
= (wxDC
*) 0 ;
23751 int *arg2
= (int *) 0 ;
23752 int *arg3
= (int *) 0 ;
23753 int *arg4
= (int *) 0 ;
23754 int *arg5
= (int *) 0 ;
23758 int res2
= SWIG_TMPOBJ
;
23760 int res3
= SWIG_TMPOBJ
;
23762 int res4
= SWIG_TMPOBJ
;
23764 int res5
= SWIG_TMPOBJ
;
23765 PyObject
*swig_obj
[1] ;
23771 if (!args
) SWIG_fail
;
23772 swig_obj
[0] = args
;
23773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23774 if (!SWIG_IsOK(res1
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_Py_Void();
23785 if (SWIG_IsTmpObj(res2
)) {
23786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23788 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23791 if (SWIG_IsTmpObj(res3
)) {
23792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23794 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23797 if (SWIG_IsTmpObj(res4
)) {
23798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23800 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23803 if (SWIG_IsTmpObj(res5
)) {
23804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23806 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23815 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23816 PyObject
*resultobj
= 0;
23817 wxDC
*arg1
= (wxDC
*) 0 ;
23818 wxLayoutDirection result
;
23821 PyObject
*swig_obj
[1] ;
23823 if (!args
) SWIG_fail
;
23824 swig_obj
[0] = args
;
23825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 resultobj
= SWIG_From_int(static_cast< int >(result
));
23843 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
= 0;
23845 wxDC
*arg1
= (wxDC
*) 0 ;
23846 wxLayoutDirection arg2
;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 char * kwnames
[] = {
23854 (char *) "self",(char *) "dir", NULL
23857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23859 if (!SWIG_IsOK(res1
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23864 if (!SWIG_IsOK(ecode2
)) {
23865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23867 arg2
= static_cast< wxLayoutDirection
>(val2
);
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->SetLayoutDirection(arg2
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_Py_Void();
23881 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23882 PyObject
*resultobj
= 0;
23883 wxDC
*arg1
= (wxDC
*) 0 ;
23887 PyObject
*swig_obj
[1] ;
23889 if (!args
) SWIG_fail
;
23890 swig_obj
[0] = args
;
23891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23892 if (!SWIG_IsOK(res1
)) {
23893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (long)(arg1
)->GetHDC();
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= SWIG_From_long(static_cast< long >(result
));
23909 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
= 0;
23911 wxDC
*arg1
= (wxDC
*) 0 ;
23912 PyObject
*arg2
= (PyObject
*) 0 ;
23913 PyObject
*arg3
= (PyObject
*) 0 ;
23914 PyObject
*arg4
= (PyObject
*) 0 ;
23915 PyObject
*result
= 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 PyObject
* obj2
= 0 ;
23921 PyObject
* obj3
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= result
;
23948 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= 0;
23950 wxDC
*arg1
= (wxDC
*) 0 ;
23951 PyObject
*arg2
= (PyObject
*) 0 ;
23952 PyObject
*arg3
= (PyObject
*) 0 ;
23953 PyObject
*arg4
= (PyObject
*) 0 ;
23954 PyObject
*result
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 PyObject
* obj2
= 0 ;
23960 PyObject
* obj3
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23967 if (!SWIG_IsOK(res1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
;
23987 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23989 wxDC
*arg1
= (wxDC
*) 0 ;
23990 PyObject
*arg2
= (PyObject
*) 0 ;
23991 PyObject
*arg3
= (PyObject
*) 0 ;
23992 PyObject
*arg4
= (PyObject
*) 0 ;
23993 PyObject
*result
= 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 char * kwnames
[] = {
24001 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24006 if (!SWIG_IsOK(res1
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= result
;
24026 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxDC
*arg1
= (wxDC
*) 0 ;
24029 PyObject
*arg2
= (PyObject
*) 0 ;
24030 PyObject
*arg3
= (PyObject
*) 0 ;
24031 PyObject
*arg4
= (PyObject
*) 0 ;
24032 PyObject
*result
= 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 PyObject
* obj2
= 0 ;
24038 PyObject
* obj3
= 0 ;
24039 char * kwnames
[] = {
24040 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
;
24065 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
= 0;
24067 wxDC
*arg1
= (wxDC
*) 0 ;
24068 PyObject
*arg2
= (PyObject
*) 0 ;
24069 PyObject
*arg3
= (PyObject
*) 0 ;
24070 PyObject
*arg4
= (PyObject
*) 0 ;
24071 PyObject
*result
= 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 PyObject
* obj2
= 0 ;
24077 PyObject
* obj3
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= result
;
24104 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxDC
*arg1
= (wxDC
*) 0 ;
24107 PyObject
*arg2
= (PyObject
*) 0 ;
24108 PyObject
*arg3
= (PyObject
*) 0 ;
24109 PyObject
*arg4
= (PyObject
*) 0 ;
24110 PyObject
*arg5
= (PyObject
*) 0 ;
24111 PyObject
*result
= 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 PyObject
* obj3
= 0 ;
24118 PyObject
* obj4
= 0 ;
24119 char * kwnames
[] = {
24120 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= result
;
24146 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24149 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24150 return SWIG_Py_Void();
24153 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
= 0;
24156 wxColour
*arg2
= 0 ;
24157 wxDCTextColourChanger
*result
= 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char * kwnames
[] = {
24164 (char *) "dc",(char *) "col", NULL
24167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24168 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24193 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24198 PyObject
*swig_obj
[1] ;
24200 if (!args
) SWIG_fail
;
24201 swig_obj
[0] = args
;
24202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24206 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_Py_Void();
24221 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24224 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24225 return SWIG_Py_Void();
24228 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 return SWIG_Python_InitShadowInstance(args
);
24232 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24236 wxDCPenChanger
*result
= 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 char * kwnames
[] = {
24244 (char *) "dc",(char *) "pen", NULL
24247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24248 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24257 if (!SWIG_IsOK(res2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24263 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24277 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24278 PyObject
*resultobj
= 0;
24279 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24282 PyObject
*swig_obj
[1] ;
24284 if (!args
) SWIG_fail
;
24285 swig_obj
[0] = args
;
24286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24290 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_Py_Void();
24305 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24308 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24309 return SWIG_Py_Void();
24312 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24313 return SWIG_Python_InitShadowInstance(args
);
24316 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
= 0;
24319 wxBrush
*arg2
= 0 ;
24320 wxDCBrushChanger
*result
= 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char * kwnames
[] = {
24328 (char *) "dc",(char *) "brush", NULL
24331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24332 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24333 if (!SWIG_IsOK(res1
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24341 if (!SWIG_IsOK(res2
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24347 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24361 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24362 PyObject
*resultobj
= 0;
24363 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24366 PyObject
*swig_obj
[1] ;
24368 if (!args
) SWIG_fail
;
24369 swig_obj
[0] = args
;
24370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24374 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_Py_Void();
24389 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24392 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24393 return SWIG_Py_Void();
24396 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24397 return SWIG_Python_InitShadowInstance(args
);
24400 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24401 PyObject
*resultobj
= 0;
24403 wxRegion
*arg2
= 0 ;
24404 wxDCClipper
*result
= 0 ;
24410 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24419 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24420 if (!SWIG_IsOK(res2
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24426 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24440 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24441 PyObject
*resultobj
= 0;
24444 wxDCClipper
*result
= 0 ;
24449 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24460 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24475 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24476 PyObject
*resultobj
= 0;
24482 wxDCClipper
*result
= 0 ;
24494 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24503 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24504 if (!SWIG_IsOK(ecode2
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24507 arg2
= static_cast< int >(val2
);
24508 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24509 if (!SWIG_IsOK(ecode3
)) {
24510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24512 arg3
= static_cast< int >(val3
);
24513 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24514 if (!SWIG_IsOK(ecode4
)) {
24515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24517 arg4
= static_cast< int >(val4
);
24518 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24519 if (!SWIG_IsOK(ecode5
)) {
24520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24522 arg5
= static_cast< int >(val5
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24536 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24545 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24546 _v
= SWIG_CheckState(res
);
24548 if (!_v
) goto check_1
;
24549 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24554 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24557 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24561 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24566 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24567 PyObject
*resultobj
= 0;
24568 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24571 PyObject
*swig_obj
[1] ;
24573 if (!args
) SWIG_fail
;
24574 swig_obj
[0] = args
;
24575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24579 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_Py_Void();
24594 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24597 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24598 return SWIG_Py_Void();
24601 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24602 return SWIG_Python_InitShadowInstance(args
);
24605 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= 0;
24607 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24608 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24609 wxMemoryDC
*result
= 0 ;
24612 PyObject
* obj0
= 0 ;
24613 char * kwnames
[] = {
24614 (char *) "bitmap", NULL
24617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24619 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24626 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24629 if (!wxPyCheckForApp()) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24642 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
= 0;
24644 wxDC
*arg1
= (wxDC
*) 0 ;
24645 wxMemoryDC
*result
= 0 ;
24648 PyObject
* obj0
= 0 ;
24649 char * kwnames
[] = {
24650 (char *) "oldDC", NULL
24653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24660 if (!wxPyCheckForApp()) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24673 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= 0;
24675 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24676 wxBitmap
*arg2
= 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char * kwnames
[] = {
24684 (char *) "self",(char *) "bitmap", NULL
24687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24692 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24694 if (!SWIG_IsOK(res2
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24700 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->SelectObject(*arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_Py_Void();
24714 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24717 wxBitmap
*arg2
= 0 ;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "self",(char *) "bmp", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24733 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24735 if (!SWIG_IsOK(res2
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24741 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24755 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24758 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24759 return SWIG_Py_Void();
24762 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24763 return SWIG_Python_InitShadowInstance(args
);
24766 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24767 PyObject
*resultobj
= 0;
24768 wxScreenDC
*result
= 0 ;
24770 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24772 if (!wxPyCheckForApp()) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (wxScreenDC
*)new wxScreenDC();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24785 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24787 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24788 wxWindow
*arg2
= (wxWindow
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "self",(char *) "window", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24805 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24807 if (!SWIG_IsOK(res2
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24810 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= 0;
24828 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24829 wxRect
*arg2
= (wxRect
*) NULL
;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj1
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "self",(char *) "rect", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24846 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24849 if (!SWIG_IsOK(res2
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24852 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24869 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24870 PyObject
*resultobj
= 0;
24871 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24875 PyObject
*swig_obj
[1] ;
24877 if (!args
) SWIG_fail
;
24878 swig_obj
[0] = args
;
24879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24880 if (!SWIG_IsOK(res1
)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24883 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (bool)(arg1
)->EndDrawingOnTop();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24899 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24902 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24903 return SWIG_Py_Void();
24906 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24907 return SWIG_Python_InitShadowInstance(args
);
24910 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
= 0;
24912 wxWindow
*arg1
= (wxWindow
*) 0 ;
24913 wxWindowDC
*result
= 0 ;
24916 PyObject
* obj0
= 0 ;
24917 char * kwnames
[] = {
24918 (char *) "win", NULL
24921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24923 if (!SWIG_IsOK(res1
)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24928 if (!wxPyCheckForApp()) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24941 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24944 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24945 return SWIG_Py_Void();
24948 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24949 return SWIG_Python_InitShadowInstance(args
);
24952 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
= 0;
24954 wxWindow
*arg1
= (wxWindow
*) 0 ;
24955 wxClientDC
*result
= 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char * kwnames
[] = {
24960 (char *) "win", NULL
24963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24965 if (!SWIG_IsOK(res1
)) {
24966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24970 if (!wxPyCheckForApp()) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (wxClientDC
*)new wxClientDC(arg1
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24983 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24986 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24987 return SWIG_Py_Void();
24990 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 return SWIG_Python_InitShadowInstance(args
);
24994 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24997 wxPaintDC
*result
= 0 ;
25000 PyObject
* obj0
= 0 ;
25001 char * kwnames
[] = {
25002 (char *) "win", NULL
25005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
25006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25012 if (!wxPyCheckForApp()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
25025 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
25029 return SWIG_Py_Void();
25032 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 return SWIG_Python_InitShadowInstance(args
);
25036 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25037 PyObject
*resultobj
= 0;
25038 wxDC
*arg1
= (wxDC
*) 0 ;
25039 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25040 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25041 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25042 wxBufferedDC
*result
= 0 ;
25050 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25057 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25058 if (!SWIG_IsOK(res2
)) {
25059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25064 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25067 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25068 if (!SWIG_IsOK(ecode3
)) {
25069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25071 arg3
= static_cast< int >(val3
);
25074 if (!wxPyCheckForApp()) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25087 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25088 PyObject
*resultobj
= 0;
25089 wxDC
*arg1
= (wxDC
*) 0 ;
25091 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25092 wxBufferedDC
*result
= 0 ;
25099 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25107 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25110 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25111 if (!SWIG_IsOK(ecode3
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25114 arg3
= static_cast< int >(val3
);
25117 if (!wxPyCheckForApp()) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25130 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25134 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25136 if ((argc
>= 1) && (argc
<= 3)) {
25141 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25142 _v
= SWIG_CheckState(res
);
25144 if (!_v
) goto check_1
;
25146 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25150 if ((argc
>= 2) && (argc
<= 3)) {
25151 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25155 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25160 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25161 PyObject
*resultobj
= 0;
25162 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25165 PyObject
*swig_obj
[1] ;
25167 if (!args
) SWIG_fail
;
25168 swig_obj
[0] = args
;
25169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25173 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_Py_Void();
25188 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25189 PyObject
*resultobj
= 0;
25190 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25193 PyObject
*swig_obj
[1] ;
25195 if (!args
) SWIG_fail
;
25196 swig_obj
[0] = args
;
25197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25198 if (!SWIG_IsOK(res1
)) {
25199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25201 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25208 resultobj
= SWIG_Py_Void();
25215 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
= 0;
25217 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 char * kwnames
[] = {
25226 (char *) "self",(char *) "style", NULL
25229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25234 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25236 if (!SWIG_IsOK(ecode2
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25239 arg2
= static_cast< int >(val2
);
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 (arg1
)->SetStyle(arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= SWIG_Py_Void();
25253 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25254 PyObject
*resultobj
= 0;
25255 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25259 PyObject
*swig_obj
[1] ;
25261 if (!args
) SWIG_fail
;
25262 swig_obj
[0] = args
;
25263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25264 if (!SWIG_IsOK(res1
)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25267 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 resultobj
= SWIG_From_int(static_cast< int >(result
));
25281 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25284 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25285 return SWIG_Py_Void();
25288 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25289 return SWIG_Python_InitShadowInstance(args
);
25292 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
= 0;
25294 wxWindow
*arg1
= (wxWindow
*) 0 ;
25295 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25296 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25297 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25298 wxBufferedPaintDC
*result
= 0 ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 PyObject
* obj2
= 0 ;
25308 char * kwnames
[] = {
25309 (char *) "window",(char *) "buffer",(char *) "style", NULL
25312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25314 if (!SWIG_IsOK(res1
)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25317 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25320 if (!SWIG_IsOK(res2
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25326 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25330 if (!SWIG_IsOK(ecode3
)) {
25331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25333 arg3
= static_cast< int >(val3
);
25336 if (!wxPyCheckForApp()) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25349 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25352 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25353 return SWIG_Py_Void();
25356 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 return SWIG_Python_InitShadowInstance(args
);
25360 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
= 0;
25362 wxWindow
*arg1
= (wxWindow
*) 0 ;
25363 wxAutoBufferedPaintDC
*result
= 0 ;
25366 PyObject
* obj0
= 0 ;
25367 char * kwnames
[] = {
25368 (char *) "win", NULL
25371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25390 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25393 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25394 return SWIG_Py_Void();
25397 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 return SWIG_Python_InitShadowInstance(args
);
25401 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxWindow
*arg1
= (wxWindow
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 char * kwnames
[] = {
25409 (char *) "window", NULL
25412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25433 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
= 0;
25437 wxMirrorDC
*result
= 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char * kwnames
[] = {
25445 (char *) "dc",(char *) "mirror", NULL
25448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25449 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25457 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25458 if (!SWIG_IsOK(ecode2
)) {
25459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25461 arg2
= static_cast< bool >(val2
);
25463 if (!wxPyCheckForApp()) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25476 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25479 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25480 return SWIG_Py_Void();
25483 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25484 return SWIG_Python_InitShadowInstance(args
);
25487 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
= 0;
25489 wxPrintData
*arg1
= 0 ;
25490 wxPostScriptDC
*result
= 0 ;
25493 PyObject
* obj0
= 0 ;
25494 char * kwnames
[] = {
25495 (char *) "printData", NULL
25498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25499 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25506 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25508 if (!wxPyCheckForApp()) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25521 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25522 PyObject
*resultobj
= 0;
25523 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25524 wxPrintData
*result
= 0 ;
25527 PyObject
*swig_obj
[1] ;
25529 if (!args
) SWIG_fail
;
25530 swig_obj
[0] = args
;
25531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25535 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25540 result
= (wxPrintData
*) &_result_ref
;
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25552 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25555 wxPrintData
*arg2
= 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "self",(char *) "data", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25571 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25573 if (!SWIG_IsOK(res2
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25579 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_Py_Void();
25593 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
= 0;
25598 PyObject
* obj0
= 0 ;
25599 char * kwnames
[] = {
25600 (char *) "ppi", NULL
25603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25605 if (!SWIG_IsOK(ecode1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25608 arg1
= static_cast< int >(val1
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 wxPostScriptDC::SetResolution(arg1
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_Py_Void();
25622 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 PyObject
*resultobj
= 0;
25626 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (int)wxPostScriptDC::GetResolution();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_From_int(static_cast< int >(result
));
25640 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25643 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25644 return SWIG_Py_Void();
25647 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 return SWIG_Python_InitShadowInstance(args
);
25651 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
= 0;
25653 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25654 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25655 wxMetaFile
*result
= 0 ;
25656 bool temp1
= false ;
25657 PyObject
* obj0
= 0 ;
25658 char * kwnames
[] = {
25659 (char *) "filename", NULL
25662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25665 arg1
= wxString_in_helper(obj0
);
25666 if (arg1
== NULL
) SWIG_fail
;
25671 if (!wxPyCheckForApp()) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25692 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25693 PyObject
*resultobj
= 0;
25694 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25697 PyObject
*swig_obj
[1] ;
25699 if (!args
) SWIG_fail
;
25700 swig_obj
[0] = args
;
25701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25702 if (!SWIG_IsOK(res1
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25705 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_Py_Void();
25720 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25721 PyObject
*resultobj
= 0;
25722 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25726 PyObject
*swig_obj
[1] ;
25728 if (!args
) SWIG_fail
;
25729 swig_obj
[0] = args
;
25730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25734 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (bool)(arg1
)->IsOk();
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25750 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
= 0;
25752 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25753 int arg2
= (int) 0 ;
25754 int arg3
= (int) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj1
= 0 ;
25764 PyObject
* obj2
= 0 ;
25765 char * kwnames
[] = {
25766 (char *) "self",(char *) "width",(char *) "height", NULL
25769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25774 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25777 if (!SWIG_IsOK(ecode2
)) {
25778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25780 arg2
= static_cast< int >(val2
);
25783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25784 if (!SWIG_IsOK(ecode3
)) {
25785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25787 arg3
= static_cast< int >(val3
);
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25804 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25805 PyObject
*resultobj
= 0;
25806 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25810 PyObject
*swig_obj
[1] ;
25812 if (!args
) SWIG_fail
;
25813 swig_obj
[0] = args
;
25814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25815 if (!SWIG_IsOK(res1
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25818 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (arg1
)->GetSize();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25832 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25833 PyObject
*resultobj
= 0;
25834 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25838 PyObject
*swig_obj
[1] ;
25840 if (!args
) SWIG_fail
;
25841 swig_obj
[0] = args
;
25842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25843 if (!SWIG_IsOK(res1
)) {
25844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25846 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 result
= (int)(arg1
)->GetWidth();
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_From_int(static_cast< int >(result
));
25860 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25861 PyObject
*resultobj
= 0;
25862 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25866 PyObject
*swig_obj
[1] ;
25868 if (!args
) SWIG_fail
;
25869 swig_obj
[0] = args
;
25870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25871 if (!SWIG_IsOK(res1
)) {
25872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25874 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= (int)(arg1
)->GetHeight();
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_From_int(static_cast< int >(result
));
25888 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25889 PyObject
*resultobj
= 0;
25890 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25891 wxString
*result
= 0 ;
25894 PyObject
*swig_obj
[1] ;
25896 if (!args
) SWIG_fail
;
25897 swig_obj
[0] = args
;
25898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25899 if (!SWIG_IsOK(res1
)) {
25900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25902 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25907 result
= (wxString
*) &_result_ref
;
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25916 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25925 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25928 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25929 return SWIG_Py_Void();
25932 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25933 return SWIG_Python_InitShadowInstance(args
);
25936 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
= 0;
25938 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25939 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25940 int arg2
= (int) 0 ;
25941 int arg3
= (int) 0 ;
25942 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25943 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25944 wxMetaFileDC
*result
= 0 ;
25945 bool temp1
= false ;
25950 bool temp4
= false ;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 PyObject
* obj2
= 0 ;
25954 PyObject
* obj3
= 0 ;
25955 char * kwnames
[] = {
25956 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25962 arg1
= wxString_in_helper(obj0
);
25963 if (arg1
== NULL
) SWIG_fail
;
25968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25969 if (!SWIG_IsOK(ecode2
)) {
25970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25972 arg2
= static_cast< int >(val2
);
25975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25976 if (!SWIG_IsOK(ecode3
)) {
25977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25979 arg3
= static_cast< int >(val3
);
25983 arg4
= wxString_in_helper(obj3
);
25984 if (arg4
== NULL
) SWIG_fail
;
25989 if (!wxPyCheckForApp()) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26018 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26019 PyObject
*resultobj
= 0;
26020 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26021 wxMetaFile
*result
= 0 ;
26024 PyObject
*swig_obj
[1] ;
26026 if (!args
) SWIG_fail
;
26027 swig_obj
[0] = args
;
26028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26032 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= (wxMetaFile
*)(arg1
)->Close();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26046 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26049 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26050 return SWIG_Py_Void();
26053 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26054 return SWIG_Python_InitShadowInstance(args
);
26057 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
= 0;
26059 wxPrintData
*arg1
= 0 ;
26060 wxPrinterDC
*result
= 0 ;
26063 PyObject
* obj0
= 0 ;
26064 char * kwnames
[] = {
26065 (char *) "printData", NULL
26068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26069 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26076 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26078 if (!wxPyCheckForApp()) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26091 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26094 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26095 return SWIG_Py_Void();
26098 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26099 return SWIG_Python_InitShadowInstance(args
);
26102 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
= 0;
26104 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26105 wxGraphicsObject
*result
= 0 ;
26108 PyObject
* obj0
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "renderer", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26119 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26122 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26132 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26133 PyObject
*resultobj
= 0;
26134 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26137 PyObject
*swig_obj
[1] ;
26139 if (!args
) SWIG_fail
;
26140 swig_obj
[0] = args
;
26141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26142 if (!SWIG_IsOK(res1
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26145 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_Py_Void();
26158 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26159 PyObject
*resultobj
= 0;
26160 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26164 PyObject
*swig_obj
[1] ;
26166 if (!args
) SWIG_fail
;
26167 swig_obj
[0] = args
;
26168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26169 if (!SWIG_IsOK(res1
)) {
26170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26172 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26174 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26186 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26187 PyObject
*resultobj
= 0;
26188 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26189 wxGraphicsRenderer
*result
= 0 ;
26192 PyObject
*swig_obj
[1] ;
26194 if (!args
) SWIG_fail
;
26195 swig_obj
[0] = args
;
26196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26197 if (!SWIG_IsOK(res1
)) {
26198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26200 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26202 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26212 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26215 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26216 return SWIG_Py_Void();
26219 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26220 return SWIG_Python_InitShadowInstance(args
);
26223 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26224 PyObject
*resultobj
= 0;
26225 wxGraphicsPen
*result
= 0 ;
26227 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26229 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26239 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26240 PyObject
*resultobj
= 0;
26241 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26244 PyObject
*swig_obj
[1] ;
26246 if (!args
) SWIG_fail
;
26247 swig_obj
[0] = args
;
26248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26249 if (!SWIG_IsOK(res1
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26252 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_Py_Void();
26265 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26268 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26269 return SWIG_Py_Void();
26272 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26273 return SWIG_Python_InitShadowInstance(args
);
26276 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26277 PyObject
*resultobj
= 0;
26278 wxGraphicsBrush
*result
= 0 ;
26280 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26282 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26292 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26293 PyObject
*resultobj
= 0;
26294 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26297 PyObject
*swig_obj
[1] ;
26299 if (!args
) SWIG_fail
;
26300 swig_obj
[0] = args
;
26301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26302 if (!SWIG_IsOK(res1
)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26305 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_Py_Void();
26318 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26321 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26322 return SWIG_Py_Void();
26325 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26326 return SWIG_Python_InitShadowInstance(args
);
26329 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26330 PyObject
*resultobj
= 0;
26331 wxGraphicsFont
*result
= 0 ;
26333 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26335 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26345 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26346 PyObject
*resultobj
= 0;
26347 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26350 PyObject
*swig_obj
[1] ;
26352 if (!args
) SWIG_fail
;
26353 swig_obj
[0] = args
;
26354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26358 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_Py_Void();
26371 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26375 return SWIG_Py_Void();
26378 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 return SWIG_Python_InitShadowInstance(args
);
26382 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxGraphicsMatrix
*result
= 0 ;
26386 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26388 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26398 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26399 PyObject
*resultobj
= 0;
26400 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26403 PyObject
*swig_obj
[1] ;
26405 if (!args
) SWIG_fail
;
26406 swig_obj
[0] = args
;
26407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26408 if (!SWIG_IsOK(res1
)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26411 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_Py_Void();
26424 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
= 0;
26426 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26427 wxGraphicsMatrix
*arg2
= 0 ;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 char * kwnames
[] = {
26435 (char *) "self",(char *) "t", NULL
26438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26443 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26445 if (!SWIG_IsOK(res2
)) {
26446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26451 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26453 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_Py_Void();
26463 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26466 wxGraphicsMatrix
*arg2
= 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char * kwnames
[] = {
26474 (char *) "self",(char *) "t", NULL
26477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26482 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26484 if (!SWIG_IsOK(res2
)) {
26485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26490 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26492 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_Py_Void();
26502 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
= 0;
26504 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26505 wxDouble arg2
= (wxDouble
) 1.0 ;
26506 wxDouble arg3
= (wxDouble
) 0.0 ;
26507 wxDouble arg4
= (wxDouble
) 0.0 ;
26508 wxDouble arg5
= (wxDouble
) 1.0 ;
26509 wxDouble arg6
= (wxDouble
) 0.0 ;
26510 wxDouble arg7
= (wxDouble
) 0.0 ;
26525 PyObject
* obj0
= 0 ;
26526 PyObject
* obj1
= 0 ;
26527 PyObject
* obj2
= 0 ;
26528 PyObject
* obj3
= 0 ;
26529 PyObject
* obj4
= 0 ;
26530 PyObject
* obj5
= 0 ;
26531 PyObject
* obj6
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26541 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26543 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26544 if (!SWIG_IsOK(ecode2
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26547 arg2
= static_cast< wxDouble
>(val2
);
26550 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26551 if (!SWIG_IsOK(ecode3
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26554 arg3
= static_cast< wxDouble
>(val3
);
26557 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26558 if (!SWIG_IsOK(ecode4
)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26561 arg4
= static_cast< wxDouble
>(val4
);
26564 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26565 if (!SWIG_IsOK(ecode5
)) {
26566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26568 arg5
= static_cast< wxDouble
>(val5
);
26571 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26572 if (!SWIG_IsOK(ecode6
)) {
26573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26575 arg6
= static_cast< wxDouble
>(val6
);
26578 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26579 if (!SWIG_IsOK(ecode7
)) {
26580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26582 arg7
= static_cast< wxDouble
>(val7
);
26585 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26596 PyObject
*resultobj
= 0;
26597 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26608 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_Py_Void();
26620 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
= 0;
26622 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26623 wxGraphicsMatrix
*arg2
= 0 ;
26629 PyObject
* obj0
= 0 ;
26630 PyObject
* obj1
= 0 ;
26631 char * kwnames
[] = {
26632 (char *) "self",(char *) "t", NULL
26635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26640 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26642 if (!SWIG_IsOK(res2
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26648 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26650 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26662 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26676 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26678 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26690 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= 0;
26692 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 PyObject
* obj2
= 0 ;
26704 char * kwnames
[] = {
26705 (char *) "self",(char *) "dx",(char *) "dy", NULL
26708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26713 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26714 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26715 if (!SWIG_IsOK(ecode2
)) {
26716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26718 arg2
= static_cast< wxDouble
>(val2
);
26719 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26720 if (!SWIG_IsOK(ecode3
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26723 arg3
= static_cast< wxDouble
>(val3
);
26725 (arg1
)->Translate(arg2
,arg3
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_Py_Void();
26735 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
= 0;
26737 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 PyObject
* obj2
= 0 ;
26749 char * kwnames
[] = {
26750 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26755 if (!SWIG_IsOK(res1
)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26758 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26759 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26760 if (!SWIG_IsOK(ecode2
)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26763 arg2
= static_cast< wxDouble
>(val2
);
26764 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26765 if (!SWIG_IsOK(ecode3
)) {
26766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26768 arg3
= static_cast< wxDouble
>(val3
);
26770 (arg1
)->Scale(arg2
,arg3
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_Py_Void();
26780 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= 0;
26782 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 char * kwnames
[] = {
26791 (char *) "self",(char *) "angle", NULL
26794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26799 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26800 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26801 if (!SWIG_IsOK(ecode2
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26804 arg2
= static_cast< wxDouble
>(val2
);
26806 (arg1
)->Rotate(arg2
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_Py_Void();
26816 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
= 0;
26818 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26819 wxDouble
*arg2
= (wxDouble
*) 0 ;
26820 wxDouble
*arg3
= (wxDouble
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 PyObject
* obj2
= 0 ;
26830 char * kwnames
[] = {
26831 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26839 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26840 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26842 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26843 if (!SWIG_IsOK(ecode
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26846 temp2
= static_cast< wxDouble
>(val
);
26848 res2
= SWIG_AddTmpMask(ecode
);
26850 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26852 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26853 if (!SWIG_IsOK(ecode
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26856 temp3
= static_cast< wxDouble
>(val
);
26858 res3
= SWIG_AddTmpMask(ecode
);
26861 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_Py_Void();
26865 if (SWIG_IsTmpObj(res2
)) {
26866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26871 if (SWIG_IsTmpObj(res3
)) {
26872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26883 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
= 0;
26885 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26886 wxDouble
*arg2
= (wxDouble
*) 0 ;
26887 wxDouble
*arg3
= (wxDouble
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 PyObject
* obj2
= 0 ;
26897 char * kwnames
[] = {
26898 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26903 if (!SWIG_IsOK(res1
)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26906 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26907 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26909 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26910 if (!SWIG_IsOK(ecode
)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26913 temp2
= static_cast< wxDouble
>(val
);
26915 res2
= SWIG_AddTmpMask(ecode
);
26917 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26919 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26920 if (!SWIG_IsOK(ecode
)) {
26921 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26923 temp3
= static_cast< wxDouble
>(val
);
26925 res3
= SWIG_AddTmpMask(ecode
);
26928 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_Py_Void();
26932 if (SWIG_IsTmpObj(res2
)) {
26933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26935 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26938 if (SWIG_IsTmpObj(res3
)) {
26939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26941 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26950 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26951 PyObject
*resultobj
= 0;
26952 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26956 PyObject
*swig_obj
[1] ;
26958 if (!args
) SWIG_fail
;
26959 swig_obj
[0] = args
;
26960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26964 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26966 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26976 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26979 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26980 return SWIG_Py_Void();
26983 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26984 return SWIG_Python_InitShadowInstance(args
);
26987 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26988 PyObject
*resultobj
= 0;
26989 wxGraphicsPath
*result
= 0 ;
26991 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26993 if (!wxPyCheckForApp()) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27006 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27007 PyObject
*resultobj
= 0;
27008 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27011 PyObject
*swig_obj
[1] ;
27013 if (!args
) SWIG_fail
;
27014 swig_obj
[0] = args
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27019 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_Py_Void();
27032 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27033 PyObject
*resultobj
= 0;
27034 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27044 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27049 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27050 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27051 if (!SWIG_IsOK(ecode2
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27054 arg2
= static_cast< wxDouble
>(val2
);
27055 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27056 if (!SWIG_IsOK(ecode3
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27059 arg3
= static_cast< wxDouble
>(val3
);
27061 (arg1
)->MoveToPoint(arg2
,arg3
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_Py_Void();
27071 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27072 PyObject
*resultobj
= 0;
27073 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27074 wxPoint2D
*arg2
= 0 ;
27079 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27081 if (!SWIG_IsOK(res1
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27084 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27087 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27090 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_Py_Void();
27100 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27104 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27107 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27110 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27114 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27119 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27120 PyObject
*resultobj
= 0;
27121 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27131 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27133 if (!SWIG_IsOK(res1
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27136 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27137 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27138 if (!SWIG_IsOK(ecode2
)) {
27139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27141 arg2
= static_cast< wxDouble
>(val2
);
27142 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27143 if (!SWIG_IsOK(ecode3
)) {
27144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27146 arg3
= static_cast< wxDouble
>(val3
);
27148 (arg1
)->AddLineToPoint(arg2
,arg3
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_Py_Void();
27158 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27159 PyObject
*resultobj
= 0;
27160 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27161 wxPoint2D
*arg2
= 0 ;
27166 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27171 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27174 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27177 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_Py_Void();
27187 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27191 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27194 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27197 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27201 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27206 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27207 PyObject
*resultobj
= 0;
27208 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27230 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27232 if (!SWIG_IsOK(res1
)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27235 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27236 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27237 if (!SWIG_IsOK(ecode2
)) {
27238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27240 arg2
= static_cast< wxDouble
>(val2
);
27241 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27242 if (!SWIG_IsOK(ecode3
)) {
27243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27245 arg3
= static_cast< wxDouble
>(val3
);
27246 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27247 if (!SWIG_IsOK(ecode4
)) {
27248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27250 arg4
= static_cast< wxDouble
>(val4
);
27251 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27252 if (!SWIG_IsOK(ecode5
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27255 arg5
= static_cast< wxDouble
>(val5
);
27256 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27257 if (!SWIG_IsOK(ecode6
)) {
27258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27260 arg6
= static_cast< wxDouble
>(val6
);
27261 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27262 if (!SWIG_IsOK(ecode7
)) {
27263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27265 arg7
= static_cast< wxDouble
>(val7
);
27267 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_Py_Void();
27277 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27278 PyObject
*resultobj
= 0;
27279 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27280 wxPoint2D
*arg2
= 0 ;
27281 wxPoint2D
*arg3
= 0 ;
27282 wxPoint2D
*arg4
= 0 ;
27289 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27294 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27297 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27301 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27305 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27308 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_Py_Void();
27318 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27322 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27325 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27328 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27337 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
= 0;
27339 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27340 wxGraphicsPath
*arg2
= 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 char * kwnames
[] = {
27348 (char *) "self",(char *) "path", NULL
27351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27356 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27358 if (!SWIG_IsOK(res2
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27364 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27366 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_Py_Void();
27376 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27377 PyObject
*resultobj
= 0;
27378 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27381 PyObject
*swig_obj
[1] ;
27383 if (!args
) SWIG_fail
;
27384 swig_obj
[0] = args
;
27385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27389 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27391 (arg1
)->CloseSubpath();
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_Py_Void();
27401 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27415 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27417 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27427 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27428 PyObject
*resultobj
= 0;
27429 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27451 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27456 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27457 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27458 if (!SWIG_IsOK(ecode2
)) {
27459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27461 arg2
= static_cast< wxDouble
>(val2
);
27462 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27463 if (!SWIG_IsOK(ecode3
)) {
27464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27466 arg3
= static_cast< wxDouble
>(val3
);
27467 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27468 if (!SWIG_IsOK(ecode4
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27471 arg4
= static_cast< wxDouble
>(val4
);
27472 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27473 if (!SWIG_IsOK(ecode5
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27476 arg5
= static_cast< wxDouble
>(val5
);
27477 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27478 if (!SWIG_IsOK(ecode6
)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27481 arg6
= static_cast< wxDouble
>(val6
);
27482 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27483 if (!SWIG_IsOK(ecode7
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27486 arg7
= static_cast< bool >(val7
);
27488 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_Py_Void();
27498 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27499 PyObject
*resultobj
= 0;
27500 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27501 wxPoint2D
*arg2
= 0 ;
27518 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27523 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27526 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27528 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27529 if (!SWIG_IsOK(ecode3
)) {
27530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27532 arg3
= static_cast< wxDouble
>(val3
);
27533 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27534 if (!SWIG_IsOK(ecode4
)) {
27535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27537 arg4
= static_cast< wxDouble
>(val4
);
27538 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27539 if (!SWIG_IsOK(ecode5
)) {
27540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27542 arg5
= static_cast< wxDouble
>(val5
);
27543 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27544 if (!SWIG_IsOK(ecode6
)) {
27545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27547 arg6
= static_cast< bool >(val6
);
27549 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= SWIG_Py_Void();
27559 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27563 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27566 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27569 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27573 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27578 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
= 0;
27580 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 PyObject
* obj2
= 0 ;
27598 PyObject
* obj3
= 0 ;
27599 PyObject
* obj4
= 0 ;
27600 char * kwnames
[] = {
27601 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27609 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27610 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27611 if (!SWIG_IsOK(ecode2
)) {
27612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27614 arg2
= static_cast< wxDouble
>(val2
);
27615 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27616 if (!SWIG_IsOK(ecode3
)) {
27617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27619 arg3
= static_cast< wxDouble
>(val3
);
27620 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27621 if (!SWIG_IsOK(ecode4
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27624 arg4
= static_cast< wxDouble
>(val4
);
27625 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27626 if (!SWIG_IsOK(ecode5
)) {
27627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27629 arg5
= static_cast< wxDouble
>(val5
);
27631 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_Py_Void();
27641 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
= 0;
27643 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 PyObject
* obj2
= 0 ;
27661 PyObject
* obj3
= 0 ;
27662 PyObject
* obj4
= 0 ;
27663 char * kwnames
[] = {
27664 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27672 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27673 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27677 arg2
= static_cast< wxDouble
>(val2
);
27678 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27679 if (!SWIG_IsOK(ecode3
)) {
27680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27682 arg3
= static_cast< wxDouble
>(val3
);
27683 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27684 if (!SWIG_IsOK(ecode4
)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27687 arg4
= static_cast< wxDouble
>(val4
);
27688 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27689 if (!SWIG_IsOK(ecode5
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27692 arg5
= static_cast< wxDouble
>(val5
);
27694 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_Py_Void();
27704 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
= 0;
27706 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 PyObject
* obj2
= 0 ;
27721 PyObject
* obj3
= 0 ;
27722 char * kwnames
[] = {
27723 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27731 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27732 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27733 if (!SWIG_IsOK(ecode2
)) {
27734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27736 arg2
= static_cast< wxDouble
>(val2
);
27737 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27738 if (!SWIG_IsOK(ecode3
)) {
27739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27741 arg3
= static_cast< wxDouble
>(val3
);
27742 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27743 if (!SWIG_IsOK(ecode4
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27746 arg4
= static_cast< wxDouble
>(val4
);
27748 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_Py_Void();
27758 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
= 0;
27760 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 PyObject
* obj2
= 0 ;
27781 PyObject
* obj3
= 0 ;
27782 PyObject
* obj4
= 0 ;
27783 PyObject
* obj5
= 0 ;
27784 char * kwnames
[] = {
27785 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27793 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27794 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27795 if (!SWIG_IsOK(ecode2
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27798 arg2
= static_cast< wxDouble
>(val2
);
27799 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27800 if (!SWIG_IsOK(ecode3
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27803 arg3
= static_cast< wxDouble
>(val3
);
27804 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27805 if (!SWIG_IsOK(ecode4
)) {
27806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27808 arg4
= static_cast< wxDouble
>(val4
);
27809 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27810 if (!SWIG_IsOK(ecode5
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27813 arg5
= static_cast< wxDouble
>(val5
);
27814 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27815 if (!SWIG_IsOK(ecode6
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27818 arg6
= static_cast< wxDouble
>(val6
);
27820 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27823 resultobj
= SWIG_Py_Void();
27830 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
= 0;
27832 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 PyObject
* obj2
= 0 ;
27850 PyObject
* obj3
= 0 ;
27851 PyObject
* obj4
= 0 ;
27852 char * kwnames
[] = {
27853 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27861 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27862 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27866 arg2
= static_cast< wxDouble
>(val2
);
27867 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27868 if (!SWIG_IsOK(ecode3
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27871 arg3
= static_cast< wxDouble
>(val3
);
27872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27873 if (!SWIG_IsOK(ecode4
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27876 arg4
= static_cast< wxDouble
>(val4
);
27877 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27878 if (!SWIG_IsOK(ecode5
)) {
27879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27881 arg5
= static_cast< wxDouble
>(val5
);
27883 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= SWIG_Py_Void();
27893 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
= 0;
27895 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 PyObject
* obj1
= 0 ;
27915 PyObject
* obj2
= 0 ;
27916 PyObject
* obj3
= 0 ;
27917 PyObject
* obj4
= 0 ;
27918 PyObject
* obj5
= 0 ;
27919 char * kwnames
[] = {
27920 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27928 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27929 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27930 if (!SWIG_IsOK(ecode2
)) {
27931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27933 arg2
= static_cast< wxDouble
>(val2
);
27934 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27935 if (!SWIG_IsOK(ecode3
)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27938 arg3
= static_cast< wxDouble
>(val3
);
27939 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27940 if (!SWIG_IsOK(ecode4
)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27943 arg4
= static_cast< wxDouble
>(val4
);
27944 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27945 if (!SWIG_IsOK(ecode5
)) {
27946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27948 arg5
= static_cast< wxDouble
>(val5
);
27949 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27950 if (!SWIG_IsOK(ecode6
)) {
27951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27953 arg6
= static_cast< wxDouble
>(val6
);
27955 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27981 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27991 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
= 0;
27993 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27994 void *arg2
= (void *) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char * kwnames
[] = {
28001 (char *) "self",(char *) "p", NULL
28004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28009 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28010 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28011 if (!SWIG_IsOK(res2
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28015 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_Py_Void();
28025 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
= 0;
28027 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28028 wxGraphicsMatrix
*arg2
= 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 char * kwnames
[] = {
28036 (char *) "self",(char *) "matrix", NULL
28039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28044 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28046 if (!SWIG_IsOK(res2
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28052 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28054 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_Py_Void();
28064 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28067 wxRect2DDouble result
;
28070 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28078 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28080 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28090 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28091 PyObject
*resultobj
= 0;
28092 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28095 int arg4
= (int) wxODDEVEN_RULE
;
28106 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28111 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28112 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28113 if (!SWIG_IsOK(ecode2
)) {
28114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28116 arg2
= static_cast< wxDouble
>(val2
);
28117 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28118 if (!SWIG_IsOK(ecode3
)) {
28119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28121 arg3
= static_cast< wxDouble
>(val3
);
28123 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28124 if (!SWIG_IsOK(ecode4
)) {
28125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28127 arg4
= static_cast< int >(val4
);
28130 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28142 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28143 PyObject
*resultobj
= 0;
28144 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28145 wxPoint2DDouble
*arg2
= 0 ;
28146 int arg3
= (int) wxODDEVEN_RULE
;
28155 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28160 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28161 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28162 if (!SWIG_IsOK(res2
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28168 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28170 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28171 if (!SWIG_IsOK(ecode3
)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28174 arg3
= static_cast< int >(val3
);
28177 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28189 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28193 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28195 if ((argc
>= 2) && (argc
<= 3)) {
28198 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28199 _v
= SWIG_CheckState(res
);
28201 if (!_v
) goto check_1
;
28205 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28206 _v
= SWIG_CheckState(res
);
28209 if (!_v
) goto check_1
;
28211 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28215 if ((argc
>= 3) && (argc
<= 4)) {
28216 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28220 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28225 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28228 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28229 return SWIG_Py_Void();
28232 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28233 return SWIG_Python_InitShadowInstance(args
);
28236 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28237 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28242 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28243 PyObject
*pyobj
= 0;
28245 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28250 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28251 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28256 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28257 PyObject
*pyobj
= 0;
28259 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28264 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28265 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28270 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28271 PyObject
*pyobj
= 0;
28273 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28278 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28279 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28284 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28285 PyObject
*pyobj
= 0;
28287 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28292 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28293 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28298 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28299 PyObject
*pyobj
= 0;
28301 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28306 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28311 PyObject
*swig_obj
[1] ;
28313 if (!args
) SWIG_fail
;
28314 swig_obj
[0] = args
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28319 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_Py_Void();
28332 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28333 PyObject
*resultobj
= 0;
28334 wxWindowDC
*arg1
= 0 ;
28335 wxGraphicsContext
*result
= 0 ;
28339 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28347 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28349 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28359 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28360 PyObject
*resultobj
= 0;
28361 wxWindow
*arg1
= (wxWindow
*) 0 ;
28362 wxGraphicsContext
*result
= 0 ;
28366 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28368 if (!SWIG_IsOK(res1
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28373 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28383 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28387 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28392 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28393 _v
= SWIG_CheckState(res
);
28395 if (!_v
) goto check_1
;
28396 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28401 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28405 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28410 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
= 0;
28412 void *arg1
= (void *) 0 ;
28413 wxGraphicsContext
*result
= 0 ;
28415 PyObject
* obj0
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "context", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28426 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28436 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
= 0;
28438 void *arg1
= (void *) 0 ;
28439 wxGraphicsContext
*result
= 0 ;
28441 PyObject
* obj0
= 0 ;
28442 char * kwnames
[] = {
28443 (char *) "window", NULL
28446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28447 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28452 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28462 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28463 PyObject
*resultobj
= 0;
28464 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28465 wxGraphicsPath result
;
28468 PyObject
*swig_obj
[1] ;
28470 if (!args
) SWIG_fail
;
28471 swig_obj
[0] = args
;
28472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28476 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28478 result
= (arg1
)->CreatePath();
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28488 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
= 0;
28490 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28492 wxGraphicsPen result
;
28497 PyObject
* obj0
= 0 ;
28498 PyObject
* obj1
= 0 ;
28499 char * kwnames
[] = {
28500 (char *) "self",(char *) "pen", NULL
28503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28508 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28510 if (!SWIG_IsOK(res2
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28516 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28518 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28528 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
= 0;
28530 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28531 wxBrush
*arg2
= 0 ;
28532 wxGraphicsBrush result
;
28537 PyObject
* obj0
= 0 ;
28538 PyObject
* obj1
= 0 ;
28539 char * kwnames
[] = {
28540 (char *) "self",(char *) "brush", NULL
28543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28548 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28550 if (!SWIG_IsOK(res2
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28556 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28558 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28568 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28569 PyObject
*resultobj
= 0;
28570 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28575 wxColour
*arg6
= 0 ;
28576 wxColour
*arg7
= 0 ;
28577 wxGraphicsBrush result
;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 PyObject
* obj2
= 0 ;
28593 PyObject
* obj3
= 0 ;
28594 PyObject
* obj4
= 0 ;
28595 PyObject
* obj5
= 0 ;
28596 PyObject
* obj6
= 0 ;
28597 char * kwnames
[] = {
28598 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28607 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28608 if (!SWIG_IsOK(ecode2
)) {
28609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28611 arg2
= static_cast< wxDouble
>(val2
);
28612 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28613 if (!SWIG_IsOK(ecode3
)) {
28614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28616 arg3
= static_cast< wxDouble
>(val3
);
28617 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28618 if (!SWIG_IsOK(ecode4
)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28621 arg4
= static_cast< wxDouble
>(val4
);
28622 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28623 if (!SWIG_IsOK(ecode5
)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28626 arg5
= static_cast< wxDouble
>(val5
);
28629 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28633 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28636 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28646 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28647 PyObject
*resultobj
= 0;
28648 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28654 wxColour
*arg7
= 0 ;
28655 wxColour
*arg8
= 0 ;
28656 wxGraphicsBrush result
;
28671 PyObject
* obj0
= 0 ;
28672 PyObject
* obj1
= 0 ;
28673 PyObject
* obj2
= 0 ;
28674 PyObject
* obj3
= 0 ;
28675 PyObject
* obj4
= 0 ;
28676 PyObject
* obj5
= 0 ;
28677 PyObject
* obj6
= 0 ;
28678 PyObject
* obj7
= 0 ;
28679 char * kwnames
[] = {
28680 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28688 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28689 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28690 if (!SWIG_IsOK(ecode2
)) {
28691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28693 arg2
= static_cast< wxDouble
>(val2
);
28694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28695 if (!SWIG_IsOK(ecode3
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28698 arg3
= static_cast< wxDouble
>(val3
);
28699 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28700 if (!SWIG_IsOK(ecode4
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28703 arg4
= static_cast< wxDouble
>(val4
);
28704 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28705 if (!SWIG_IsOK(ecode5
)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28708 arg5
= static_cast< wxDouble
>(val5
);
28709 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28710 if (!SWIG_IsOK(ecode6
)) {
28711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28713 arg6
= static_cast< wxDouble
>(val6
);
28716 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28720 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28723 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28733 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
= 0;
28735 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28737 wxColour
const &arg3_defvalue
= *wxBLACK
;
28738 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28739 wxGraphicsFont result
;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 PyObject
* obj2
= 0 ;
28748 char * kwnames
[] = {
28749 (char *) "self",(char *) "font",(char *) "col", NULL
28752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28754 if (!SWIG_IsOK(res1
)) {
28755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28757 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28759 if (!SWIG_IsOK(res2
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28765 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28769 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28773 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28783 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
= 0;
28785 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28786 wxDouble arg2
= (wxDouble
) 1.0 ;
28787 wxDouble arg3
= (wxDouble
) 0.0 ;
28788 wxDouble arg4
= (wxDouble
) 0.0 ;
28789 wxDouble arg5
= (wxDouble
) 1.0 ;
28790 wxDouble arg6
= (wxDouble
) 0.0 ;
28791 wxDouble arg7
= (wxDouble
) 0.0 ;
28792 wxGraphicsMatrix result
;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 PyObject
* obj2
= 0 ;
28810 PyObject
* obj3
= 0 ;
28811 PyObject
* obj4
= 0 ;
28812 PyObject
* obj5
= 0 ;
28813 PyObject
* obj6
= 0 ;
28814 char * kwnames
[] = {
28815 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28820 if (!SWIG_IsOK(res1
)) {
28821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28823 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28825 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28826 if (!SWIG_IsOK(ecode2
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28829 arg2
= static_cast< wxDouble
>(val2
);
28832 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28833 if (!SWIG_IsOK(ecode3
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28836 arg3
= static_cast< wxDouble
>(val3
);
28839 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28840 if (!SWIG_IsOK(ecode4
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28843 arg4
= static_cast< wxDouble
>(val4
);
28846 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28847 if (!SWIG_IsOK(ecode5
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28850 arg5
= static_cast< wxDouble
>(val5
);
28853 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28854 if (!SWIG_IsOK(ecode6
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28857 arg6
= static_cast< wxDouble
>(val6
);
28860 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28861 if (!SWIG_IsOK(ecode7
)) {
28862 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28864 arg7
= static_cast< wxDouble
>(val7
);
28867 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28877 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28878 PyObject
*resultobj
= 0;
28879 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28882 PyObject
*swig_obj
[1] ;
28884 if (!args
) SWIG_fail
;
28885 swig_obj
[0] = args
;
28886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28887 if (!SWIG_IsOK(res1
)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28892 (arg1
)->PushState();
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= SWIG_Py_Void();
28902 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28903 PyObject
*resultobj
= 0;
28904 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28907 PyObject
*swig_obj
[1] ;
28909 if (!args
) SWIG_fail
;
28910 swig_obj
[0] = args
;
28911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28915 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28917 (arg1
)->PopState();
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_Py_Void();
28927 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
= 0;
28929 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28930 wxRegion
*arg2
= 0 ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char * kwnames
[] = {
28938 (char *) "self",(char *) "region", NULL
28941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28943 if (!SWIG_IsOK(res1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28946 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28948 if (!SWIG_IsOK(res2
)) {
28949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28954 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28956 (arg1
)->Clip((wxRegion
const &)*arg2
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 resultobj
= SWIG_Py_Void();
28966 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
= 0;
28968 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 PyObject
* obj2
= 0 ;
28986 PyObject
* obj3
= 0 ;
28987 PyObject
* obj4
= 0 ;
28988 char * kwnames
[] = {
28989 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28994 if (!SWIG_IsOK(res1
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28998 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28999 if (!SWIG_IsOK(ecode2
)) {
29000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29002 arg2
= static_cast< wxDouble
>(val2
);
29003 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29004 if (!SWIG_IsOK(ecode3
)) {
29005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29007 arg3
= static_cast< wxDouble
>(val3
);
29008 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29009 if (!SWIG_IsOK(ecode4
)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29012 arg4
= static_cast< wxDouble
>(val4
);
29013 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29014 if (!SWIG_IsOK(ecode5
)) {
29015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29017 arg5
= static_cast< wxDouble
>(val5
);
29019 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29030 PyObject
*resultobj
= 0;
29031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29034 PyObject
*swig_obj
[1] ;
29036 if (!args
) SWIG_fail
;
29037 swig_obj
[0] = args
;
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_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29042 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29044 (arg1
)->ResetClip();
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_Py_Void();
29054 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29055 PyObject
*resultobj
= 0;
29056 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29060 PyObject
*swig_obj
[1] ;
29062 if (!args
) SWIG_fail
;
29063 swig_obj
[0] = args
;
29064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29068 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29070 result
= (void *)(arg1
)->GetNativeContext();
29071 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29080 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
= 0;
29082 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29091 PyObject
* obj0
= 0 ;
29092 PyObject
* obj1
= 0 ;
29093 PyObject
* obj2
= 0 ;
29094 char * kwnames
[] = {
29095 (char *) "self",(char *) "dx",(char *) "dy", NULL
29098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29100 if (!SWIG_IsOK(res1
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29103 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29104 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29105 if (!SWIG_IsOK(ecode2
)) {
29106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29108 arg2
= static_cast< wxDouble
>(val2
);
29109 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29110 if (!SWIG_IsOK(ecode3
)) {
29111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29113 arg3
= static_cast< wxDouble
>(val3
);
29115 (arg1
)->Translate(arg2
,arg3
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_Py_Void();
29125 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
= 0;
29127 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29136 PyObject
* obj0
= 0 ;
29137 PyObject
* obj1
= 0 ;
29138 PyObject
* obj2
= 0 ;
29139 char * kwnames
[] = {
29140 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29145 if (!SWIG_IsOK(res1
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29148 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29149 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29150 if (!SWIG_IsOK(ecode2
)) {
29151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29153 arg2
= static_cast< wxDouble
>(val2
);
29154 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29155 if (!SWIG_IsOK(ecode3
)) {
29156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29158 arg3
= static_cast< wxDouble
>(val3
);
29160 (arg1
)->Scale(arg2
,arg3
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 resultobj
= SWIG_Py_Void();
29170 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
= 0;
29172 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29178 PyObject
* obj0
= 0 ;
29179 PyObject
* obj1
= 0 ;
29180 char * kwnames
[] = {
29181 (char *) "self",(char *) "angle", NULL
29184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29186 if (!SWIG_IsOK(res1
)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29189 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29190 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29191 if (!SWIG_IsOK(ecode2
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29194 arg2
= static_cast< wxDouble
>(val2
);
29196 (arg1
)->Rotate(arg2
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= SWIG_Py_Void();
29206 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
= 0;
29208 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29209 wxGraphicsMatrix
*arg2
= 0 ;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 char * kwnames
[] = {
29217 (char *) "self",(char *) "matrix", NULL
29220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29222 if (!SWIG_IsOK(res1
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29225 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29227 if (!SWIG_IsOK(res2
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29233 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29235 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= SWIG_Py_Void();
29245 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
= 0;
29247 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29248 wxGraphicsMatrix
*arg2
= 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 char * kwnames
[] = {
29256 (char *) "self",(char *) "matrix", NULL
29259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29264 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29266 if (!SWIG_IsOK(res2
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29272 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29274 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= SWIG_Py_Void();
29284 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29285 PyObject
*resultobj
= 0;
29286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29287 wxGraphicsMatrix result
;
29290 PyObject
*swig_obj
[1] ;
29292 if (!args
) SWIG_fail
;
29293 swig_obj
[0] = args
;
29294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29295 if (!SWIG_IsOK(res1
)) {
29296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29298 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29300 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29310 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29311 PyObject
*resultobj
= 0;
29312 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29313 wxGraphicsPen
*arg2
= 0 ;
29319 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29321 if (!SWIG_IsOK(res1
)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29324 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29325 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29326 if (!SWIG_IsOK(res2
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29332 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29334 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_Py_Void();
29344 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29345 PyObject
*resultobj
= 0;
29346 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29353 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29355 if (!SWIG_IsOK(res1
)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29358 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29359 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29360 if (!SWIG_IsOK(res2
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29366 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29368 (arg1
)->SetPen((wxPen
const &)*arg2
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_Py_Void();
29378 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29382 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29387 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29388 _v
= SWIG_CheckState(res
);
29390 if (!_v
) goto check_1
;
29391 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29396 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29400 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29405 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29406 PyObject
*resultobj
= 0;
29407 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29408 wxGraphicsBrush
*arg2
= 0 ;
29414 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29416 if (!SWIG_IsOK(res1
)) {
29417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29419 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29420 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29421 if (!SWIG_IsOK(res2
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29427 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29429 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= SWIG_Py_Void();
29439 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29440 PyObject
*resultobj
= 0;
29441 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29442 wxBrush
*arg2
= 0 ;
29448 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29453 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29454 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29455 if (!SWIG_IsOK(res2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29461 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29463 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_Py_Void();
29473 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29477 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29482 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29483 _v
= SWIG_CheckState(res
);
29485 if (!_v
) goto check_1
;
29486 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29491 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29495 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29500 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29501 PyObject
*resultobj
= 0;
29502 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29503 wxGraphicsFont
*arg2
= 0 ;
29509 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29511 if (!SWIG_IsOK(res1
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29514 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29515 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29516 if (!SWIG_IsOK(res2
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29522 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29524 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_Py_Void();
29534 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29535 PyObject
*resultobj
= 0;
29536 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29538 wxColour
const &arg3_defvalue
= *wxBLACK
;
29539 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29546 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29548 if (!SWIG_IsOK(res1
)) {
29549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29551 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29552 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29553 if (!SWIG_IsOK(res2
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29559 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29563 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29567 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_Py_Void();
29577 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29581 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29586 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29587 _v
= SWIG_CheckState(res
);
29589 if (!_v
) goto check_1
;
29590 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29594 if ((argc
>= 2) && (argc
<= 3)) {
29595 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29599 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29604 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
= 0;
29606 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29607 wxGraphicsPath
*arg2
= 0 ;
29612 PyObject
* obj0
= 0 ;
29613 PyObject
* obj1
= 0 ;
29614 char * kwnames
[] = {
29615 (char *) "self",(char *) "path", NULL
29618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29623 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29625 if (!SWIG_IsOK(res2
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29631 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29633 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_Py_Void();
29643 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29646 wxGraphicsPath
*arg2
= 0 ;
29647 int arg3
= (int) wxODDEVEN_RULE
;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 PyObject
* obj2
= 0 ;
29657 char * kwnames
[] = {
29658 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29666 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29668 if (!SWIG_IsOK(res2
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29674 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29677 if (!SWIG_IsOK(ecode3
)) {
29678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29680 arg3
= static_cast< int >(val3
);
29683 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29696 wxGraphicsPath
*arg2
= 0 ;
29697 int arg3
= (int) wxODDEVEN_RULE
;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 PyObject
* obj2
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29716 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29718 if (!SWIG_IsOK(res2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29724 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29727 if (!SWIG_IsOK(ecode3
)) {
29728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29730 arg3
= static_cast< int >(val3
);
29733 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= SWIG_Py_Void();
29743 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
= 0;
29745 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29746 wxString
*arg2
= 0 ;
29751 bool temp2
= false ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 PyObject
* obj3
= 0 ;
29760 char * kwnames
[] = {
29761 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29769 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29771 arg2
= wxString_in_helper(obj1
);
29772 if (arg2
== NULL
) SWIG_fail
;
29775 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29776 if (!SWIG_IsOK(ecode3
)) {
29777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29779 arg3
= static_cast< wxDouble
>(val3
);
29780 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29781 if (!SWIG_IsOK(ecode4
)) {
29782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29784 arg4
= static_cast< wxDouble
>(val4
);
29786 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_Py_Void();
29804 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29807 wxString
*arg2
= 0 ;
29813 bool temp2
= false ;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 PyObject
* obj2
= 0 ;
29823 PyObject
* obj3
= 0 ;
29824 PyObject
* obj4
= 0 ;
29825 char * kwnames
[] = {
29826 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29831 if (!SWIG_IsOK(res1
)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29834 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29836 arg2
= wxString_in_helper(obj1
);
29837 if (arg2
== NULL
) SWIG_fail
;
29840 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29841 if (!SWIG_IsOK(ecode3
)) {
29842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29844 arg3
= static_cast< wxDouble
>(val3
);
29845 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29846 if (!SWIG_IsOK(ecode4
)) {
29847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29849 arg4
= static_cast< wxDouble
>(val4
);
29850 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29851 if (!SWIG_IsOK(ecode5
)) {
29852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29854 arg5
= static_cast< wxDouble
>(val5
);
29856 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= SWIG_Py_Void();
29874 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
= 0;
29876 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29877 wxString
*arg2
= 0 ;
29878 wxDouble
*arg3
= (wxDouble
*) 0 ;
29879 wxDouble
*arg4
= (wxDouble
*) 0 ;
29880 wxDouble
*arg5
= (wxDouble
*) 0 ;
29881 wxDouble
*arg6
= (wxDouble
*) 0 ;
29884 bool temp2
= false ;
29886 int res3
= SWIG_TMPOBJ
;
29888 int res4
= SWIG_TMPOBJ
;
29890 int res5
= SWIG_TMPOBJ
;
29892 int res6
= SWIG_TMPOBJ
;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 char * kwnames
[] = {
29896 (char *) "self",(char *) "text", NULL
29903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29908 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29910 arg2
= wxString_in_helper(obj1
);
29911 if (arg2
== NULL
) SWIG_fail
;
29915 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= SWIG_Py_Void();
29919 if (SWIG_IsTmpObj(res3
)) {
29920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29922 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29925 if (SWIG_IsTmpObj(res4
)) {
29926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29928 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29931 if (SWIG_IsTmpObj(res5
)) {
29932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29934 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29937 if (SWIG_IsTmpObj(res6
)) {
29938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29940 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29957 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
= 0;
29959 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29960 wxString
*arg2
= 0 ;
29961 PyObject
*result
= 0 ;
29964 bool temp2
= false ;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 char * kwnames
[] = {
29968 (char *) "self",(char *) "text", NULL
29971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) 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_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29976 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29978 arg2
= wxString_in_helper(obj1
);
29979 if (arg2
== NULL
) SWIG_fail
;
29983 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= result
;
30001 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
= 0;
30003 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30004 wxString
*arg2
= 0 ;
30005 wxArrayDouble result
;
30008 bool temp2
= false ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "text", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30020 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30022 arg2
= wxString_in_helper(obj1
);
30023 if (arg2
== NULL
) SWIG_fail
;
30027 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30031 resultobj
= wxArrayDouble2PyList_helper(result
);
30047 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30050 wxBitmap
*arg2
= 0 ;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 PyObject
* obj2
= 0 ;
30070 PyObject
* obj3
= 0 ;
30071 PyObject
* obj4
= 0 ;
30072 PyObject
* obj5
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30082 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30084 if (!SWIG_IsOK(res2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30090 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30091 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30092 if (!SWIG_IsOK(ecode3
)) {
30093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30095 arg3
= static_cast< wxDouble
>(val3
);
30096 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30097 if (!SWIG_IsOK(ecode4
)) {
30098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30100 arg4
= static_cast< wxDouble
>(val4
);
30101 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30102 if (!SWIG_IsOK(ecode5
)) {
30103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30105 arg5
= static_cast< wxDouble
>(val5
);
30106 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30107 if (!SWIG_IsOK(ecode6
)) {
30108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30110 arg6
= static_cast< wxDouble
>(val6
);
30112 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_Py_Void();
30122 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
= 0;
30124 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 PyObject
* obj2
= 0 ;
30145 PyObject
* obj3
= 0 ;
30146 PyObject
* obj4
= 0 ;
30147 PyObject
* obj5
= 0 ;
30148 char * kwnames
[] = {
30149 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30157 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30159 if (!SWIG_IsOK(res2
)) {
30160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30165 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30166 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30167 if (!SWIG_IsOK(ecode3
)) {
30168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30170 arg3
= static_cast< wxDouble
>(val3
);
30171 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30172 if (!SWIG_IsOK(ecode4
)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30175 arg4
= static_cast< wxDouble
>(val4
);
30176 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30177 if (!SWIG_IsOK(ecode5
)) {
30178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30180 arg5
= static_cast< wxDouble
>(val5
);
30181 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30182 if (!SWIG_IsOK(ecode6
)) {
30183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30185 arg6
= static_cast< wxDouble
>(val6
);
30187 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_Py_Void();
30197 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 PyObject
* obj2
= 0 ;
30217 PyObject
* obj3
= 0 ;
30218 PyObject
* obj4
= 0 ;
30219 char * kwnames
[] = {
30220 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30228 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30229 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30230 if (!SWIG_IsOK(ecode2
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30233 arg2
= static_cast< wxDouble
>(val2
);
30234 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30235 if (!SWIG_IsOK(ecode3
)) {
30236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30238 arg3
= static_cast< wxDouble
>(val3
);
30239 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30240 if (!SWIG_IsOK(ecode4
)) {
30241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30243 arg4
= static_cast< wxDouble
>(val4
);
30244 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30245 if (!SWIG_IsOK(ecode5
)) {
30246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30248 arg5
= static_cast< wxDouble
>(val5
);
30250 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_Py_Void();
30260 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
= 0;
30262 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30264 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "points", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30278 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30280 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30281 if (arg3
== NULL
) SWIG_fail
;
30284 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_Py_Void();
30289 if (arg3
) delete [] arg3
;
30294 if (arg3
) delete [] arg3
;
30300 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
= 0;
30302 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30303 PyObject
*arg2
= (PyObject
*) 0 ;
30304 PyObject
*arg3
= (PyObject
*) 0 ;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 PyObject
* obj2
= 0 ;
30310 char * kwnames
[] = {
30311 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30316 if (!SWIG_IsOK(res1
)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30319 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30323 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_Py_Void();
30333 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= 0;
30335 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30337 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30338 int arg4
= (int) wxODDEVEN_RULE
;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 PyObject
* obj2
= 0 ;
30346 char * kwnames
[] = {
30347 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30352 if (!SWIG_IsOK(res1
)) {
30353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30355 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30357 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30358 if (arg3
== NULL
) SWIG_fail
;
30361 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30362 if (!SWIG_IsOK(ecode4
)) {
30363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30365 arg4
= static_cast< int >(val4
);
30368 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= SWIG_Py_Void();
30373 if (arg3
) delete [] arg3
;
30378 if (arg3
) delete [] arg3
;
30384 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
= 0;
30386 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 PyObject
* obj2
= 0 ;
30404 PyObject
* obj3
= 0 ;
30405 PyObject
* obj4
= 0 ;
30406 char * kwnames
[] = {
30407 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30412 if (!SWIG_IsOK(res1
)) {
30413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30415 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30416 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30417 if (!SWIG_IsOK(ecode2
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30420 arg2
= static_cast< wxDouble
>(val2
);
30421 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30422 if (!SWIG_IsOK(ecode3
)) {
30423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30425 arg3
= static_cast< wxDouble
>(val3
);
30426 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30427 if (!SWIG_IsOK(ecode4
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30430 arg4
= static_cast< wxDouble
>(val4
);
30431 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30432 if (!SWIG_IsOK(ecode5
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30435 arg5
= static_cast< wxDouble
>(val5
);
30437 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= SWIG_Py_Void();
30447 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
= 0;
30449 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 PyObject
* obj2
= 0 ;
30467 PyObject
* obj3
= 0 ;
30468 PyObject
* obj4
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30478 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30479 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30480 if (!SWIG_IsOK(ecode2
)) {
30481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30483 arg2
= static_cast< wxDouble
>(val2
);
30484 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30485 if (!SWIG_IsOK(ecode3
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30488 arg3
= static_cast< wxDouble
>(val3
);
30489 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30490 if (!SWIG_IsOK(ecode4
)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30493 arg4
= static_cast< wxDouble
>(val4
);
30494 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30495 if (!SWIG_IsOK(ecode5
)) {
30496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30498 arg5
= static_cast< wxDouble
>(val5
);
30500 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_Py_Void();
30510 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30512 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30530 PyObject
* obj0
= 0 ;
30531 PyObject
* obj1
= 0 ;
30532 PyObject
* obj2
= 0 ;
30533 PyObject
* obj3
= 0 ;
30534 PyObject
* obj4
= 0 ;
30535 PyObject
* obj5
= 0 ;
30536 char * kwnames
[] = {
30537 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30542 if (!SWIG_IsOK(res1
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30545 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30546 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30547 if (!SWIG_IsOK(ecode2
)) {
30548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30550 arg2
= static_cast< wxDouble
>(val2
);
30551 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30552 if (!SWIG_IsOK(ecode3
)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30555 arg3
= static_cast< wxDouble
>(val3
);
30556 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30557 if (!SWIG_IsOK(ecode4
)) {
30558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30560 arg4
= static_cast< wxDouble
>(val4
);
30561 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30562 if (!SWIG_IsOK(ecode5
)) {
30563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30565 arg5
= static_cast< wxDouble
>(val5
);
30566 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30567 if (!SWIG_IsOK(ecode6
)) {
30568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30570 arg6
= static_cast< wxDouble
>(val6
);
30572 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_Py_Void();
30582 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 PyObject
*resultobj
= 0;
30584 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30596 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30598 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30599 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30610 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30613 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30614 return SWIG_Py_Void();
30617 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30618 PyObject
*resultobj
= 0;
30619 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30622 PyObject
*swig_obj
[1] ;
30624 if (!args
) SWIG_fail
;
30625 swig_obj
[0] = args
;
30626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30627 if (!SWIG_IsOK(res1
)) {
30628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30630 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= SWIG_Py_Void();
30643 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30644 PyObject
*resultobj
= 0;
30645 wxGraphicsRenderer
*result
= 0 ;
30647 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30649 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30659 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30660 PyObject
*resultobj
= 0;
30661 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30662 wxWindowDC
*arg2
= 0 ;
30663 wxGraphicsContext
*result
= 0 ;
30669 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30674 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30675 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30676 if (!SWIG_IsOK(res2
)) {
30677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30682 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30684 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30694 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30695 PyObject
*resultobj
= 0;
30696 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30697 wxWindow
*arg2
= (wxWindow
*) 0 ;
30698 wxGraphicsContext
*result
= 0 ;
30704 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30706 if (!SWIG_IsOK(res1
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30709 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30710 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30711 if (!SWIG_IsOK(res2
)) {
30712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30716 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30726 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30730 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30735 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30736 _v
= SWIG_CheckState(res
);
30738 if (!_v
) goto check_1
;
30739 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30744 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30748 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30753 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
= 0;
30755 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30756 void *arg2
= (void *) 0 ;
30757 wxGraphicsContext
*result
= 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 char * kwnames
[] = {
30764 (char *) "self",(char *) "context", NULL
30767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30769 if (!SWIG_IsOK(res1
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30772 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30773 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30774 if (!SWIG_IsOK(res2
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30778 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30788 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30791 void *arg2
= (void *) 0 ;
30792 wxGraphicsContext
*result
= 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 char * kwnames
[] = {
30799 (char *) "self",(char *) "window", NULL
30802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30804 if (!SWIG_IsOK(res1
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30807 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30808 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30809 if (!SWIG_IsOK(res2
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30813 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30823 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30824 PyObject
*resultobj
= 0;
30825 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30826 wxGraphicsPath result
;
30829 PyObject
*swig_obj
[1] ;
30831 if (!args
) SWIG_fail
;
30832 swig_obj
[0] = args
;
30833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30834 if (!SWIG_IsOK(res1
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30837 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30839 result
= (arg1
)->CreatePath();
30840 if (PyErr_Occurred()) SWIG_fail
;
30842 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30849 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
= 0;
30851 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30852 wxDouble arg2
= (wxDouble
) 1.0 ;
30853 wxDouble arg3
= (wxDouble
) 0.0 ;
30854 wxDouble arg4
= (wxDouble
) 0.0 ;
30855 wxDouble arg5
= (wxDouble
) 1.0 ;
30856 wxDouble arg6
= (wxDouble
) 0.0 ;
30857 wxDouble arg7
= (wxDouble
) 0.0 ;
30858 wxGraphicsMatrix result
;
30873 PyObject
* obj0
= 0 ;
30874 PyObject
* obj1
= 0 ;
30875 PyObject
* obj2
= 0 ;
30876 PyObject
* obj3
= 0 ;
30877 PyObject
* obj4
= 0 ;
30878 PyObject
* obj5
= 0 ;
30879 PyObject
* obj6
= 0 ;
30880 char * kwnames
[] = {
30881 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30886 if (!SWIG_IsOK(res1
)) {
30887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30889 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30891 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30892 if (!SWIG_IsOK(ecode2
)) {
30893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30895 arg2
= static_cast< wxDouble
>(val2
);
30898 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30899 if (!SWIG_IsOK(ecode3
)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30902 arg3
= static_cast< wxDouble
>(val3
);
30905 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30906 if (!SWIG_IsOK(ecode4
)) {
30907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30909 arg4
= static_cast< wxDouble
>(val4
);
30912 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30913 if (!SWIG_IsOK(ecode5
)) {
30914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30916 arg5
= static_cast< wxDouble
>(val5
);
30919 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30920 if (!SWIG_IsOK(ecode6
)) {
30921 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30923 arg6
= static_cast< wxDouble
>(val6
);
30926 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30927 if (!SWIG_IsOK(ecode7
)) {
30928 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30930 arg7
= static_cast< wxDouble
>(val7
);
30933 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30943 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
= 0;
30945 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30947 wxGraphicsPen result
;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 char * kwnames
[] = {
30955 (char *) "self",(char *) "pen", NULL
30958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30963 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30965 if (!SWIG_IsOK(res2
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30971 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30973 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30983 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
= 0;
30985 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30986 wxBrush
*arg2
= 0 ;
30987 wxGraphicsBrush result
;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 char * kwnames
[] = {
30995 (char *) "self",(char *) "brush", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31000 if (!SWIG_IsOK(res1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31003 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31005 if (!SWIG_IsOK(res2
)) {
31006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31011 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31013 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31023 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31030 wxColour
*arg6
= 0 ;
31031 wxColour
*arg7
= 0 ;
31032 wxGraphicsBrush result
;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 PyObject
* obj2
= 0 ;
31048 PyObject
* obj3
= 0 ;
31049 PyObject
* obj4
= 0 ;
31050 PyObject
* obj5
= 0 ;
31051 PyObject
* obj6
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31061 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31062 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31066 arg2
= static_cast< wxDouble
>(val2
);
31067 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31068 if (!SWIG_IsOK(ecode3
)) {
31069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31071 arg3
= static_cast< wxDouble
>(val3
);
31072 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31073 if (!SWIG_IsOK(ecode4
)) {
31074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31076 arg4
= static_cast< wxDouble
>(val4
);
31077 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31078 if (!SWIG_IsOK(ecode5
)) {
31079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31081 arg5
= static_cast< wxDouble
>(val5
);
31084 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31088 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31091 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31101 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
= 0;
31103 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31109 wxColour
*arg7
= 0 ;
31110 wxColour
*arg8
= 0 ;
31111 wxGraphicsBrush result
;
31126 PyObject
* obj0
= 0 ;
31127 PyObject
* obj1
= 0 ;
31128 PyObject
* obj2
= 0 ;
31129 PyObject
* obj3
= 0 ;
31130 PyObject
* obj4
= 0 ;
31131 PyObject
* obj5
= 0 ;
31132 PyObject
* obj6
= 0 ;
31133 PyObject
* obj7
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31143 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31144 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31145 if (!SWIG_IsOK(ecode2
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31148 arg2
= static_cast< wxDouble
>(val2
);
31149 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31150 if (!SWIG_IsOK(ecode3
)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31153 arg3
= static_cast< wxDouble
>(val3
);
31154 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31155 if (!SWIG_IsOK(ecode4
)) {
31156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31158 arg4
= static_cast< wxDouble
>(val4
);
31159 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31160 if (!SWIG_IsOK(ecode5
)) {
31161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31163 arg5
= static_cast< wxDouble
>(val5
);
31164 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31165 if (!SWIG_IsOK(ecode6
)) {
31166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31168 arg6
= static_cast< wxDouble
>(val6
);
31171 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31175 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31178 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31188 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
= 0;
31190 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31192 wxColour
const &arg3_defvalue
= *wxBLACK
;
31193 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31194 wxGraphicsFont result
;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 PyObject
* obj2
= 0 ;
31203 char * kwnames
[] = {
31204 (char *) "self",(char *) "font",(char *) "col", NULL
31207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31209 if (!SWIG_IsOK(res1
)) {
31210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31212 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31214 if (!SWIG_IsOK(res2
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31220 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31224 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31228 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31238 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31241 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31242 return SWIG_Py_Void();
31245 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
= 0;
31247 wxWindowDC
*arg1
= 0 ;
31248 wxGCDC
*result
= 0 ;
31251 PyObject
* obj0
= 0 ;
31252 char * kwnames
[] = {
31253 (char *) "dc", NULL
31256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
31257 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31258 if (!SWIG_IsOK(res1
)) {
31259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31264 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31266 if (!wxPyCheckForApp()) SWIG_fail
;
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31279 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31280 PyObject
*resultobj
= 0;
31281 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31284 PyObject
*swig_obj
[1] ;
31286 if (!args
) SWIG_fail
;
31287 swig_obj
[0] = args
;
31288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31289 if (!SWIG_IsOK(res1
)) {
31290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31292 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= SWIG_Py_Void();
31305 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31306 PyObject
*resultobj
= 0;
31307 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31308 wxGraphicsContext
*result
= 0 ;
31311 PyObject
*swig_obj
[1] ;
31313 if (!args
) SWIG_fail
;
31314 swig_obj
[0] = args
;
31315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31316 if (!SWIG_IsOK(res1
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31319 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31321 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31331 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31333 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31334 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31339 PyObject
* obj0
= 0 ;
31340 PyObject
* obj1
= 0 ;
31341 char * kwnames
[] = {
31342 (char *) "self",(char *) "ctx", NULL
31345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31347 if (!SWIG_IsOK(res1
)) {
31348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31350 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31352 if (!SWIG_IsOK(res2
)) {
31353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31355 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31357 (arg1
)->SetGraphicsContext(arg2
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_Py_Void();
31367 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31370 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31371 return SWIG_Py_Void();
31374 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31375 return SWIG_Python_InitShadowInstance(args
);
31378 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31379 PyObject
*resultobj
= 0;
31380 wxOverlay
*result
= 0 ;
31382 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (wxOverlay
*)new wxOverlay();
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31396 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31397 PyObject
*resultobj
= 0;
31398 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31401 PyObject
*swig_obj
[1] ;
31403 if (!args
) SWIG_fail
;
31404 swig_obj
[0] = args
;
31405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31406 if (!SWIG_IsOK(res1
)) {
31407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31409 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31417 resultobj
= SWIG_Py_Void();
31424 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31425 PyObject
*resultobj
= 0;
31426 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31429 PyObject
*swig_obj
[1] ;
31431 if (!args
) SWIG_fail
;
31432 swig_obj
[0] = args
;
31433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31434 if (!SWIG_IsOK(res1
)) {
31435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31437 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_Py_Void();
31451 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31454 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31455 return SWIG_Py_Void();
31458 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31459 return SWIG_Python_InitShadowInstance(args
);
31462 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31463 PyObject
*resultobj
= 0;
31464 wxOverlay
*arg1
= 0 ;
31465 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31470 wxDCOverlay
*result
= 0 ;
31484 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31486 if (!SWIG_IsOK(res1
)) {
31487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31492 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31493 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31494 if (!SWIG_IsOK(res2
)) {
31495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31497 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31498 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31499 if (!SWIG_IsOK(ecode3
)) {
31500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31502 arg3
= static_cast< int >(val3
);
31503 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31504 if (!SWIG_IsOK(ecode4
)) {
31505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31507 arg4
= static_cast< int >(val4
);
31508 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31509 if (!SWIG_IsOK(ecode5
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31512 arg5
= static_cast< int >(val5
);
31513 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31514 if (!SWIG_IsOK(ecode6
)) {
31515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31517 arg6
= static_cast< int >(val6
);
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31531 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31532 PyObject
*resultobj
= 0;
31533 wxOverlay
*arg1
= 0 ;
31534 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31535 wxDCOverlay
*result
= 0 ;
31541 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31543 if (!SWIG_IsOK(res1
)) {
31544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31549 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31550 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31551 if (!SWIG_IsOK(res2
)) {
31552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31554 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31568 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31572 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31575 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31578 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31582 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31587 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31588 PyObject
*resultobj
= 0;
31589 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31592 PyObject
*swig_obj
[1] ;
31594 if (!args
) SWIG_fail
;
31595 swig_obj
[0] = args
;
31596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31597 if (!SWIG_IsOK(res1
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31600 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_Py_Void();
31615 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31616 PyObject
*resultobj
= 0;
31617 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31620 PyObject
*swig_obj
[1] ;
31622 if (!args
) SWIG_fail
;
31623 swig_obj
[0] = args
;
31624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31625 if (!SWIG_IsOK(res1
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31628 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= SWIG_Py_Void();
31642 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31645 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31646 return SWIG_Py_Void();
31649 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31650 return SWIG_Python_InitShadowInstance(args
);
31653 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
= 0;
31657 int arg3
= (int) true ;
31658 int arg4
= (int) 1 ;
31659 wxImageList
*result
= 0 ;
31668 PyObject
* obj0
= 0 ;
31669 PyObject
* obj1
= 0 ;
31670 PyObject
* obj2
= 0 ;
31671 PyObject
* obj3
= 0 ;
31672 char * kwnames
[] = {
31673 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31677 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31678 if (!SWIG_IsOK(ecode1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31681 arg1
= static_cast< int >(val1
);
31682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31683 if (!SWIG_IsOK(ecode2
)) {
31684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31686 arg2
= static_cast< int >(val2
);
31688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31689 if (!SWIG_IsOK(ecode3
)) {
31690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31692 arg3
= static_cast< int >(val3
);
31695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31696 if (!SWIG_IsOK(ecode4
)) {
31697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31699 arg4
= static_cast< int >(val4
);
31702 if (!wxPyCheckForApp()) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31715 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31716 PyObject
*resultobj
= 0;
31717 wxImageList
*arg1
= (wxImageList
*) 0 ;
31720 PyObject
*swig_obj
[1] ;
31722 if (!args
) SWIG_fail
;
31723 swig_obj
[0] = args
;
31724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31728 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31736 resultobj
= SWIG_Py_Void();
31743 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31744 PyObject
*resultobj
= 0;
31745 wxImageList
*arg1
= (wxImageList
*) 0 ;
31746 wxBitmap
*arg2
= 0 ;
31747 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31748 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31756 PyObject
* obj0
= 0 ;
31757 PyObject
* obj1
= 0 ;
31758 PyObject
* obj2
= 0 ;
31759 char * kwnames
[] = {
31760 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31765 if (!SWIG_IsOK(res1
)) {
31766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31768 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31770 if (!SWIG_IsOK(res2
)) {
31771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31776 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31778 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31779 if (!SWIG_IsOK(res3
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31785 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 resultobj
= SWIG_From_int(static_cast< int >(result
));
31800 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
= 0;
31802 wxImageList
*arg1
= (wxImageList
*) 0 ;
31803 wxBitmap
*arg2
= 0 ;
31804 wxColour
*arg3
= 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 PyObject
* obj2
= 0 ;
31814 char * kwnames
[] = {
31815 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31820 if (!SWIG_IsOK(res1
)) {
31821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31823 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31825 if (!SWIG_IsOK(res2
)) {
31826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31831 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31834 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31842 resultobj
= SWIG_From_int(static_cast< int >(result
));
31849 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
= 0;
31851 wxImageList
*arg1
= (wxImageList
*) 0 ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char * kwnames
[] = {
31861 (char *) "self",(char *) "icon", NULL
31864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31866 if (!SWIG_IsOK(res1
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31869 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31871 if (!SWIG_IsOK(res2
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31877 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_From_int(static_cast< int >(result
));
31891 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxImageList
*arg1
= (wxImageList
*) 0 ;
31895 SwigValueWrapper
<wxBitmap
> result
;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 char * kwnames
[] = {
31903 (char *) "self",(char *) "index", NULL
31906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31908 if (!SWIG_IsOK(res1
)) {
31909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31911 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31913 if (!SWIG_IsOK(ecode2
)) {
31914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31916 arg2
= static_cast< int >(val2
);
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31930 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31931 PyObject
*resultobj
= 0;
31932 wxImageList
*arg1
= (wxImageList
*) 0 ;
31939 PyObject
* obj0
= 0 ;
31940 PyObject
* obj1
= 0 ;
31941 char * kwnames
[] = {
31942 (char *) "self",(char *) "index", NULL
31945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31947 if (!SWIG_IsOK(res1
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31950 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31952 if (!SWIG_IsOK(ecode2
)) {
31953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31955 arg2
= static_cast< int >(val2
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31969 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxImageList
*arg1
= (wxImageList
*) 0 ;
31973 wxBitmap
*arg3
= 0 ;
31974 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31975 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31985 PyObject
* obj0
= 0 ;
31986 PyObject
* obj1
= 0 ;
31987 PyObject
* obj2
= 0 ;
31988 PyObject
* obj3
= 0 ;
31989 char * kwnames
[] = {
31990 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31995 if (!SWIG_IsOK(res1
)) {
31996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31998 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32000 if (!SWIG_IsOK(ecode2
)) {
32001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32003 arg2
= static_cast< int >(val2
);
32004 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32005 if (!SWIG_IsOK(res3
)) {
32006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32011 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32013 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32014 if (!SWIG_IsOK(res4
)) {
32015 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32020 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32037 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32038 PyObject
*resultobj
= 0;
32039 wxImageList
*arg1
= (wxImageList
*) 0 ;
32044 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32045 bool arg7
= (bool) (bool)false ;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 PyObject
* obj2
= 0 ;
32064 PyObject
* obj3
= 0 ;
32065 PyObject
* obj4
= 0 ;
32066 PyObject
* obj5
= 0 ;
32067 PyObject
* obj6
= 0 ;
32068 char * kwnames
[] = {
32069 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32077 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32079 if (!SWIG_IsOK(ecode2
)) {
32080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32082 arg2
= static_cast< int >(val2
);
32083 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32084 if (!SWIG_IsOK(res3
)) {
32085 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32090 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32092 if (!SWIG_IsOK(ecode4
)) {
32093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32095 arg4
= static_cast< int >(val4
);
32096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32097 if (!SWIG_IsOK(ecode5
)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32100 arg5
= static_cast< int >(val5
);
32102 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32103 if (!SWIG_IsOK(ecode6
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32106 arg6
= static_cast< int >(val6
);
32109 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32110 if (!SWIG_IsOK(ecode7
)) {
32111 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32113 arg7
= static_cast< bool >(val7
);
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32130 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32131 PyObject
*resultobj
= 0;
32132 wxImageList
*arg1
= (wxImageList
*) 0 ;
32136 PyObject
*swig_obj
[1] ;
32138 if (!args
) SWIG_fail
;
32139 swig_obj
[0] = args
;
32140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32141 if (!SWIG_IsOK(res1
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32144 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= (int)(arg1
)->GetImageCount();
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_From_int(static_cast< int >(result
));
32158 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
= 0;
32160 wxImageList
*arg1
= (wxImageList
*) 0 ;
32167 PyObject
* obj0
= 0 ;
32168 PyObject
* obj1
= 0 ;
32169 char * kwnames
[] = {
32170 (char *) "self",(char *) "index", NULL
32173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32175 if (!SWIG_IsOK(res1
)) {
32176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32178 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32180 if (!SWIG_IsOK(ecode2
)) {
32181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32183 arg2
= static_cast< int >(val2
);
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (bool)(arg1
)->Remove(arg2
);
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32199 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32200 PyObject
*resultobj
= 0;
32201 wxImageList
*arg1
= (wxImageList
*) 0 ;
32205 PyObject
*swig_obj
[1] ;
32207 if (!args
) SWIG_fail
;
32208 swig_obj
[0] = args
;
32209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32210 if (!SWIG_IsOK(res1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32213 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (bool)(arg1
)->RemoveAll();
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32229 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
= 0;
32231 wxImageList
*arg1
= (wxImageList
*) 0 ;
32240 int res3
= SWIG_TMPOBJ
;
32242 int res4
= SWIG_TMPOBJ
;
32243 PyObject
* obj0
= 0 ;
32244 PyObject
* obj1
= 0 ;
32245 char * kwnames
[] = {
32246 (char *) "self",(char *) "index", NULL
32251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32253 if (!SWIG_IsOK(res1
)) {
32254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32256 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32258 if (!SWIG_IsOK(ecode2
)) {
32259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32261 arg2
= static_cast< int >(val2
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= SWIG_Py_Void();
32269 if (SWIG_IsTmpObj(res3
)) {
32270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32272 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32275 if (SWIG_IsTmpObj(res4
)) {
32276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32278 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32287 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32290 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32291 return SWIG_Py_Void();
32294 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32295 return SWIG_Python_InitShadowInstance(args
);
32298 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32299 PyObject
*resultobj
= 0;
32300 wxStockGDI
*result
= 0 ;
32302 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 result
= (wxStockGDI
*)new wxStockGDI();
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32316 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32317 PyObject
*resultobj
= 0;
32318 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32321 PyObject
*swig_obj
[1] ;
32323 if (!args
) SWIG_fail
;
32324 swig_obj
[0] = args
;
32325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32326 if (!SWIG_IsOK(res1
)) {
32327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32329 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_Py_Void();
32344 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32345 PyObject
*resultobj
= 0;
32347 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 wxStockGDI::DeleteAll();
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= SWIG_Py_Void();
32361 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32362 PyObject
*resultobj
= 0;
32363 wxStockGDI
*result
= 0 ;
32365 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32370 result
= (wxStockGDI
*) &_result_ref
;
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32382 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32383 PyObject
*resultobj
= 0;
32384 wxStockGDI::Item arg1
;
32385 wxBrush
*result
= 0 ;
32388 PyObject
* obj0
= 0 ;
32389 char * kwnames
[] = {
32390 (char *) "item", NULL
32393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32395 if (!SWIG_IsOK(ecode1
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32398 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32412 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxStockGDI::Item arg1
;
32415 wxColour
*result
= 0 ;
32418 PyObject
* obj0
= 0 ;
32419 char * kwnames
[] = {
32420 (char *) "item", NULL
32423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32425 if (!SWIG_IsOK(ecode1
)) {
32426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32428 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32442 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32443 PyObject
*resultobj
= 0;
32444 wxStockGDI::Item arg1
;
32445 wxCursor
*result
= 0 ;
32448 PyObject
* obj0
= 0 ;
32449 char * kwnames
[] = {
32450 (char *) "item", NULL
32453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32454 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32455 if (!SWIG_IsOK(ecode1
)) {
32456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32458 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32472 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32473 PyObject
*resultobj
= 0;
32474 wxStockGDI::Item arg1
;
32475 wxPen
*result
= 0 ;
32478 PyObject
* obj0
= 0 ;
32479 char * kwnames
[] = {
32480 (char *) "item", NULL
32483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32484 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32485 if (!SWIG_IsOK(ecode1
)) {
32486 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32488 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32502 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32505 wxStockGDI::Item arg2
;
32506 wxFont
*result
= 0 ;
32511 PyObject
* obj0
= 0 ;
32512 PyObject
* obj1
= 0 ;
32513 char * kwnames
[] = {
32514 (char *) "self",(char *) "item", NULL
32517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32519 if (!SWIG_IsOK(res1
)) {
32520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32522 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32524 if (!SWIG_IsOK(ecode2
)) {
32525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32527 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32541 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32544 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32545 return SWIG_Py_Void();
32548 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32549 return SWIG_Python_InitShadowInstance(args
);
32552 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32553 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32558 SWIGINTERN PyObject
*NullBitmap_get(void) {
32559 PyObject
*pyobj
= 0;
32561 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32566 SWIGINTERN
int NullIcon_set(PyObject
*) {
32567 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32572 SWIGINTERN PyObject
*NullIcon_get(void) {
32573 PyObject
*pyobj
= 0;
32575 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32580 SWIGINTERN
int NullCursor_set(PyObject
*) {
32581 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32586 SWIGINTERN PyObject
*NullCursor_get(void) {
32587 PyObject
*pyobj
= 0;
32589 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32594 SWIGINTERN
int NullPen_set(PyObject
*) {
32595 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32600 SWIGINTERN PyObject
*NullPen_get(void) {
32601 PyObject
*pyobj
= 0;
32603 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32608 SWIGINTERN
int NullBrush_set(PyObject
*) {
32609 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32614 SWIGINTERN PyObject
*NullBrush_get(void) {
32615 PyObject
*pyobj
= 0;
32617 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32622 SWIGINTERN
int NullPalette_set(PyObject
*) {
32623 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32628 SWIGINTERN PyObject
*NullPalette_get(void) {
32629 PyObject
*pyobj
= 0;
32631 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32636 SWIGINTERN
int NullFont_set(PyObject
*) {
32637 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32642 SWIGINTERN PyObject
*NullFont_get(void) {
32643 PyObject
*pyobj
= 0;
32645 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32650 SWIGINTERN
int NullColour_set(PyObject
*) {
32651 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32656 SWIGINTERN PyObject
*NullColour_get(void) {
32657 PyObject
*pyobj
= 0;
32659 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32664 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32665 PyObject
*resultobj
= 0;
32666 wxGDIObjListBase
*result
= 0 ;
32668 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32682 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32683 PyObject
*resultobj
= 0;
32684 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32687 PyObject
*swig_obj
[1] ;
32689 if (!args
) SWIG_fail
;
32690 swig_obj
[0] = args
;
32691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32692 if (!SWIG_IsOK(res1
)) {
32693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32695 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= SWIG_Py_Void();
32710 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32713 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32714 return SWIG_Py_Void();
32717 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32718 return SWIG_Python_InitShadowInstance(args
);
32721 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
= 0;
32723 wxPenList
*arg1
= (wxPenList
*) 0 ;
32724 wxColour
*arg2
= 0 ;
32727 wxPen
*result
= 0 ;
32735 PyObject
* obj0
= 0 ;
32736 PyObject
* obj1
= 0 ;
32737 PyObject
* obj2
= 0 ;
32738 PyObject
* obj3
= 0 ;
32739 char * kwnames
[] = {
32740 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32745 if (!SWIG_IsOK(res1
)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32748 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32751 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32754 if (!SWIG_IsOK(ecode3
)) {
32755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32757 arg3
= static_cast< int >(val3
);
32758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32759 if (!SWIG_IsOK(ecode4
)) {
32760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32762 arg4
= static_cast< int >(val4
);
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32776 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32777 PyObject
*resultobj
= 0;
32778 wxPenList
*arg1
= (wxPenList
*) 0 ;
32779 wxPen
*arg2
= (wxPen
*) 0 ;
32784 PyObject
* obj0
= 0 ;
32785 PyObject
* obj1
= 0 ;
32786 char * kwnames
[] = {
32787 (char *) "self",(char *) "pen", NULL
32790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32792 if (!SWIG_IsOK(res1
)) {
32793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32795 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32797 if (!SWIG_IsOK(res2
)) {
32798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32800 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 (arg1
)->AddPen(arg2
);
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 resultobj
= SWIG_Py_Void();
32814 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
= 0;
32816 wxPenList
*arg1
= (wxPenList
*) 0 ;
32817 wxPen
*arg2
= (wxPen
*) 0 ;
32822 PyObject
* obj0
= 0 ;
32823 PyObject
* obj1
= 0 ;
32824 char * kwnames
[] = {
32825 (char *) "self",(char *) "pen", NULL
32828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32830 if (!SWIG_IsOK(res1
)) {
32831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32833 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32835 if (!SWIG_IsOK(res2
)) {
32836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32838 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 (arg1
)->RemovePen(arg2
);
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 resultobj
= SWIG_Py_Void();
32852 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32855 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32856 return SWIG_Py_Void();
32859 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32860 PyObject
*resultobj
= 0;
32861 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32862 wxColour
*arg2
= 0 ;
32863 int arg3
= (int) wxSOLID
;
32864 wxBrush
*result
= 0 ;
32870 PyObject
* obj0
= 0 ;
32871 PyObject
* obj1
= 0 ;
32872 PyObject
* obj2
= 0 ;
32873 char * kwnames
[] = {
32874 (char *) "self",(char *) "colour",(char *) "style", NULL
32877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32882 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32889 if (!SWIG_IsOK(ecode3
)) {
32890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32892 arg3
= static_cast< int >(val3
);
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32907 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
= 0;
32909 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32910 wxBrush
*arg2
= (wxBrush
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 char * kwnames
[] = {
32918 (char *) "self",(char *) "brush", NULL
32921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32923 if (!SWIG_IsOK(res1
)) {
32924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32926 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32928 if (!SWIG_IsOK(res2
)) {
32929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32931 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32934 (arg1
)->AddBrush(arg2
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= SWIG_Py_Void();
32945 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
= 0;
32947 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32948 wxBrush
*arg2
= (wxBrush
*) 0 ;
32953 PyObject
* obj0
= 0 ;
32954 PyObject
* obj1
= 0 ;
32955 char * kwnames
[] = {
32956 (char *) "self",(char *) "brush", NULL
32959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32961 if (!SWIG_IsOK(res1
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32964 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32966 if (!SWIG_IsOK(res2
)) {
32967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32969 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 (arg1
)->RemoveBrush(arg2
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_Py_Void();
32983 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32986 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32987 return SWIG_Py_Void();
32990 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32991 PyObject
*resultobj
= 0;
32992 wxFontList
*arg1
= (wxFontList
*) 0 ;
32997 bool arg6
= (bool) false ;
32998 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32999 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33000 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33001 wxFont
*result
= 0 ;
33014 bool temp7
= false ;
33017 PyObject
* obj0
= 0 ;
33018 PyObject
* obj1
= 0 ;
33019 PyObject
* obj2
= 0 ;
33020 PyObject
* obj3
= 0 ;
33021 PyObject
* obj4
= 0 ;
33022 PyObject
* obj5
= 0 ;
33023 PyObject
* obj6
= 0 ;
33024 PyObject
* obj7
= 0 ;
33025 char * kwnames
[] = {
33026 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33031 if (!SWIG_IsOK(res1
)) {
33032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33034 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33036 if (!SWIG_IsOK(ecode2
)) {
33037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33039 arg2
= static_cast< int >(val2
);
33040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33041 if (!SWIG_IsOK(ecode3
)) {
33042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33044 arg3
= static_cast< int >(val3
);
33045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33046 if (!SWIG_IsOK(ecode4
)) {
33047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33049 arg4
= static_cast< int >(val4
);
33050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33051 if (!SWIG_IsOK(ecode5
)) {
33052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33054 arg5
= static_cast< int >(val5
);
33056 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33057 if (!SWIG_IsOK(ecode6
)) {
33058 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33060 arg6
= static_cast< bool >(val6
);
33064 arg7
= wxString_in_helper(obj6
);
33065 if (arg7
== NULL
) SWIG_fail
;
33070 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33071 if (!SWIG_IsOK(ecode8
)) {
33072 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33074 arg8
= static_cast< wxFontEncoding
>(val8
);
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33097 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
= 0;
33099 wxFontList
*arg1
= (wxFontList
*) 0 ;
33100 wxFont
*arg2
= (wxFont
*) 0 ;
33105 PyObject
* obj0
= 0 ;
33106 PyObject
* obj1
= 0 ;
33107 char * kwnames
[] = {
33108 (char *) "self",(char *) "font", NULL
33111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33113 if (!SWIG_IsOK(res1
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33116 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33118 if (!SWIG_IsOK(res2
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33121 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 (arg1
)->AddFont(arg2
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_Py_Void();
33135 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
= 0;
33137 wxFontList
*arg1
= (wxFontList
*) 0 ;
33138 wxFont
*arg2
= (wxFont
*) 0 ;
33143 PyObject
* obj0
= 0 ;
33144 PyObject
* obj1
= 0 ;
33145 char * kwnames
[] = {
33146 (char *) "self",(char *) "font", NULL
33149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33154 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33156 if (!SWIG_IsOK(res2
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33159 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 (arg1
)->RemoveFont(arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_Py_Void();
33173 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33176 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33177 return SWIG_Py_Void();
33180 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33181 PyObject
*resultobj
= 0;
33182 wxColourDatabase
*result
= 0 ;
33184 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33186 if (!wxPyCheckForApp()) SWIG_fail
;
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (wxColourDatabase
*)new wxColourDatabase();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33199 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33200 PyObject
*resultobj
= 0;
33201 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33204 PyObject
*swig_obj
[1] ;
33206 if (!args
) SWIG_fail
;
33207 swig_obj
[0] = args
;
33208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33209 if (!SWIG_IsOK(res1
)) {
33210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33212 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_Py_Void();
33227 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
= 0;
33229 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33230 wxString
*arg2
= 0 ;
33234 bool temp2
= false ;
33235 PyObject
* obj0
= 0 ;
33236 PyObject
* obj1
= 0 ;
33237 char * kwnames
[] = {
33238 (char *) "self",(char *) "name", NULL
33241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33243 if (!SWIG_IsOK(res1
)) {
33244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33246 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33248 arg2
= wxString_in_helper(obj1
);
33249 if (arg2
== NULL
) SWIG_fail
;
33253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33254 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33255 wxPyEndAllowThreads(__tstate
);
33256 if (PyErr_Occurred()) SWIG_fail
;
33258 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33273 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
= 0;
33275 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33276 wxColour
*arg2
= 0 ;
33281 PyObject
* obj0
= 0 ;
33282 PyObject
* obj1
= 0 ;
33283 char * kwnames
[] = {
33284 (char *) "self",(char *) "colour", NULL
33287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33292 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33316 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
= 0;
33318 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33319 wxString
*arg2
= 0 ;
33320 wxColour
*arg3
= 0 ;
33323 bool temp2
= false ;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 PyObject
* obj2
= 0 ;
33328 char * kwnames
[] = {
33329 (char *) "self",(char *) "name",(char *) "colour", NULL
33332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33337 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33339 arg2
= wxString_in_helper(obj1
);
33340 if (arg2
== NULL
) SWIG_fail
;
33345 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33349 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33350 wxPyEndAllowThreads(__tstate
);
33351 if (PyErr_Occurred()) SWIG_fail
;
33353 resultobj
= SWIG_Py_Void();
33368 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
= 0;
33370 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33371 wxString
*arg2
= 0 ;
33377 bool temp2
= false ;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 PyObject
* obj2
= 0 ;
33387 PyObject
* obj3
= 0 ;
33388 PyObject
* obj4
= 0 ;
33389 char * kwnames
[] = {
33390 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33395 if (!SWIG_IsOK(res1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33398 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33400 arg2
= wxString_in_helper(obj1
);
33401 if (arg2
== NULL
) SWIG_fail
;
33404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33405 if (!SWIG_IsOK(ecode3
)) {
33406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33408 arg3
= static_cast< int >(val3
);
33409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33410 if (!SWIG_IsOK(ecode4
)) {
33411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33413 arg4
= static_cast< int >(val4
);
33414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33415 if (!SWIG_IsOK(ecode5
)) {
33416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33418 arg5
= static_cast< int >(val5
);
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33422 wxPyEndAllowThreads(__tstate
);
33423 if (PyErr_Occurred()) SWIG_fail
;
33425 resultobj
= SWIG_Py_Void();
33440 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33443 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33444 return SWIG_Py_Void();
33447 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33448 return SWIG_Python_InitShadowInstance(args
);
33451 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33452 PyObject
*resultobj
= 0;
33453 wxFontList
*result
= 0 ;
33455 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33458 result
= (wxFontList
*)_wxPyInitTheFontList();
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33469 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33470 PyObject
*resultobj
= 0;
33471 wxPenList
*result
= 0 ;
33473 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 result
= (wxPenList
*)_wxPyInitThePenList();
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33487 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33488 PyObject
*resultobj
= 0;
33489 wxBrushList
*result
= 0 ;
33491 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33494 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33495 wxPyEndAllowThreads(__tstate
);
33496 if (PyErr_Occurred()) SWIG_fail
;
33498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33505 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33506 PyObject
*resultobj
= 0;
33507 wxColourDatabase
*result
= 0 ;
33509 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33513 wxPyEndAllowThreads(__tstate
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33523 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33524 PyObject
*resultobj
= 0;
33525 wxEffects
*result
= 0 ;
33527 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33530 result
= (wxEffects
*)new wxEffects();
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33541 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33542 PyObject
*resultobj
= 0;
33543 wxEffects
*arg1
= (wxEffects
*) 0 ;
33547 PyObject
*swig_obj
[1] ;
33549 if (!args
) SWIG_fail
;
33550 swig_obj
[0] = args
;
33551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33552 if (!SWIG_IsOK(res1
)) {
33553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33555 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33558 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33562 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33569 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33570 PyObject
*resultobj
= 0;
33571 wxEffects
*arg1
= (wxEffects
*) 0 ;
33575 PyObject
*swig_obj
[1] ;
33577 if (!args
) SWIG_fail
;
33578 swig_obj
[0] = args
;
33579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33580 if (!SWIG_IsOK(res1
)) {
33581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33583 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33586 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33587 wxPyEndAllowThreads(__tstate
);
33588 if (PyErr_Occurred()) SWIG_fail
;
33590 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33597 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33598 PyObject
*resultobj
= 0;
33599 wxEffects
*arg1
= (wxEffects
*) 0 ;
33603 PyObject
*swig_obj
[1] ;
33605 if (!args
) SWIG_fail
;
33606 swig_obj
[0] = args
;
33607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33608 if (!SWIG_IsOK(res1
)) {
33609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33611 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33625 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33626 PyObject
*resultobj
= 0;
33627 wxEffects
*arg1
= (wxEffects
*) 0 ;
33631 PyObject
*swig_obj
[1] ;
33633 if (!args
) SWIG_fail
;
33634 swig_obj
[0] = args
;
33635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33636 if (!SWIG_IsOK(res1
)) {
33637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33639 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33646 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33653 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33654 PyObject
*resultobj
= 0;
33655 wxEffects
*arg1
= (wxEffects
*) 0 ;
33659 PyObject
*swig_obj
[1] ;
33661 if (!args
) SWIG_fail
;
33662 swig_obj
[0] = args
;
33663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33664 if (!SWIG_IsOK(res1
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33667 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33670 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33671 wxPyEndAllowThreads(__tstate
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33674 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33681 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33682 PyObject
*resultobj
= 0;
33683 wxEffects
*arg1
= (wxEffects
*) 0 ;
33684 wxColour
*arg2
= 0 ;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 char * kwnames
[] = {
33691 (char *) "self",(char *) "c", NULL
33694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33699 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_Py_Void();
33717 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
= 0;
33719 wxEffects
*arg1
= (wxEffects
*) 0 ;
33720 wxColour
*arg2
= 0 ;
33724 PyObject
* obj0
= 0 ;
33725 PyObject
* obj1
= 0 ;
33726 char * kwnames
[] = {
33727 (char *) "self",(char *) "c", NULL
33730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33735 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33738 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_Py_Void();
33753 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33754 PyObject
*resultobj
= 0;
33755 wxEffects
*arg1
= (wxEffects
*) 0 ;
33756 wxColour
*arg2
= 0 ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char * kwnames
[] = {
33763 (char *) "self",(char *) "c", NULL
33766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33771 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33774 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= SWIG_Py_Void();
33789 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
= 0;
33791 wxEffects
*arg1
= (wxEffects
*) 0 ;
33792 wxColour
*arg2
= 0 ;
33796 PyObject
* obj0
= 0 ;
33797 PyObject
* obj1
= 0 ;
33798 char * kwnames
[] = {
33799 (char *) "self",(char *) "c", NULL
33802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33804 if (!SWIG_IsOK(res1
)) {
33805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33807 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_Py_Void();
33825 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
= 0;
33827 wxEffects
*arg1
= (wxEffects
*) 0 ;
33828 wxColour
*arg2
= 0 ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char * kwnames
[] = {
33835 (char *) "self",(char *) "c", NULL
33838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33843 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_Py_Void();
33861 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
= 0;
33863 wxEffects
*arg1
= (wxEffects
*) 0 ;
33864 wxColour
*arg2
= 0 ;
33865 wxColour
*arg3
= 0 ;
33866 wxColour
*arg4
= 0 ;
33867 wxColour
*arg5
= 0 ;
33868 wxColour
*arg6
= 0 ;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 PyObject
* obj2
= 0 ;
33879 PyObject
* obj3
= 0 ;
33880 PyObject
* obj4
= 0 ;
33881 PyObject
* obj5
= 0 ;
33882 char * kwnames
[] = {
33883 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33891 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33898 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33902 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33906 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33910 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33915 wxPyEndAllowThreads(__tstate
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33918 resultobj
= SWIG_Py_Void();
33925 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33926 PyObject
*resultobj
= 0;
33927 wxEffects
*arg1
= (wxEffects
*) 0 ;
33930 int arg4
= (int) 1 ;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 PyObject
* obj2
= 0 ;
33941 PyObject
* obj3
= 0 ;
33942 char * kwnames
[] = {
33943 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33948 if (!SWIG_IsOK(res1
)) {
33949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33951 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33953 if (!SWIG_IsOK(res2
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33959 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33962 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33966 if (!SWIG_IsOK(ecode4
)) {
33967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33969 arg4
= static_cast< int >(val4
);
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 resultobj
= SWIG_Py_Void();
33984 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33985 PyObject
*resultobj
= 0;
33986 wxEffects
*arg1
= (wxEffects
*) 0 ;
33989 wxBitmap
*arg4
= 0 ;
33998 PyObject
* obj0
= 0 ;
33999 PyObject
* obj1
= 0 ;
34000 PyObject
* obj2
= 0 ;
34001 PyObject
* obj3
= 0 ;
34002 char * kwnames
[] = {
34003 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34008 if (!SWIG_IsOK(res1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34011 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34014 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34017 if (!SWIG_IsOK(res3
)) {
34018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34023 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34024 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34025 if (!SWIG_IsOK(res4
)) {
34026 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34031 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34047 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34050 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34051 return SWIG_Py_Void();
34054 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34055 return SWIG_Python_InitShadowInstance(args
);
34058 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
= 0;
34063 wxSplitterRenderParams
*result
= 0 ;
34070 PyObject
* obj0
= 0 ;
34071 PyObject
* obj1
= 0 ;
34072 PyObject
* obj2
= 0 ;
34073 char * kwnames
[] = {
34074 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34079 if (!SWIG_IsOK(ecode1
)) {
34080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34082 arg1
= static_cast< int >(val1
);
34083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34084 if (!SWIG_IsOK(ecode2
)) {
34085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34087 arg2
= static_cast< int >(val2
);
34088 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34089 if (!SWIG_IsOK(ecode3
)) {
34090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34092 arg3
= static_cast< bool >(val3
);
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34106 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34107 PyObject
*resultobj
= 0;
34108 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 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_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34116 if (!SWIG_IsOK(res1
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34119 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34127 resultobj
= SWIG_Py_Void();
34134 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34135 PyObject
*resultobj
= 0;
34136 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34140 PyObject
*swig_obj
[1] ;
34142 if (!args
) SWIG_fail
;
34143 swig_obj
[0] = args
;
34144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34148 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34149 result
= (int)(int) ((arg1
)->widthSash
);
34150 resultobj
= SWIG_From_int(static_cast< int >(result
));
34157 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34158 PyObject
*resultobj
= 0;
34159 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34163 PyObject
*swig_obj
[1] ;
34165 if (!args
) SWIG_fail
;
34166 swig_obj
[0] = args
;
34167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34168 if (!SWIG_IsOK(res1
)) {
34169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34171 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34172 result
= (int)(int) ((arg1
)->border
);
34173 resultobj
= SWIG_From_int(static_cast< int >(result
));
34180 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34181 PyObject
*resultobj
= 0;
34182 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34186 PyObject
*swig_obj
[1] ;
34188 if (!args
) SWIG_fail
;
34189 swig_obj
[0] = args
;
34190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34191 if (!SWIG_IsOK(res1
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34194 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34195 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34196 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34203 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34206 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34207 return SWIG_Py_Void();
34210 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34211 return SWIG_Python_InitShadowInstance(args
);
34214 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34215 PyObject
*resultobj
= 0;
34216 wxHeaderButtonParams
*result
= 0 ;
34218 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34232 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34233 PyObject
*resultobj
= 0;
34234 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34237 PyObject
*swig_obj
[1] ;
34239 if (!args
) SWIG_fail
;
34240 swig_obj
[0] = args
;
34241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34242 if (!SWIG_IsOK(res1
)) {
34243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34245 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= SWIG_Py_Void();
34260 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34261 PyObject
*resultobj
= 0;
34262 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34263 wxColour
*arg2
= (wxColour
*) 0 ;
34267 PyObject
*swig_obj
[2] ;
34269 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34274 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34277 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34279 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34281 resultobj
= SWIG_Py_Void();
34288 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34289 PyObject
*resultobj
= 0;
34290 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34291 wxColour
*result
= 0 ;
34294 PyObject
*swig_obj
[1] ;
34296 if (!args
) SWIG_fail
;
34297 swig_obj
[0] = args
;
34298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34299 if (!SWIG_IsOK(res1
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34302 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34303 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34311 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34312 PyObject
*resultobj
= 0;
34313 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34314 wxColour
*arg2
= (wxColour
*) 0 ;
34318 PyObject
*swig_obj
[2] ;
34320 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34322 if (!SWIG_IsOK(res1
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34325 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34328 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34330 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34332 resultobj
= SWIG_Py_Void();
34339 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34340 PyObject
*resultobj
= 0;
34341 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34342 wxColour
*result
= 0 ;
34345 PyObject
*swig_obj
[1] ;
34347 if (!args
) SWIG_fail
;
34348 swig_obj
[0] = args
;
34349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34350 if (!SWIG_IsOK(res1
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34353 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34354 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34362 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34363 PyObject
*resultobj
= 0;
34364 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34365 wxString
*arg2
= (wxString
*) 0 ;
34368 bool temp2
= false ;
34369 PyObject
*swig_obj
[2] ;
34371 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34373 if (!SWIG_IsOK(res1
)) {
34374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34376 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34378 arg2
= wxString_in_helper(swig_obj
[1]);
34379 if (arg2
== NULL
) SWIG_fail
;
34382 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34384 resultobj
= SWIG_Py_Void();
34399 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34400 PyObject
*resultobj
= 0;
34401 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34402 wxString
*result
= 0 ;
34405 PyObject
*swig_obj
[1] ;
34407 if (!args
) SWIG_fail
;
34408 swig_obj
[0] = args
;
34409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34410 if (!SWIG_IsOK(res1
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34413 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34414 result
= (wxString
*)& ((arg1
)->m_labelText
);
34417 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34419 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34428 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34429 PyObject
*resultobj
= 0;
34430 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34431 wxFont
*arg2
= (wxFont
*) 0 ;
34436 PyObject
*swig_obj
[2] ;
34438 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34440 if (!SWIG_IsOK(res1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34443 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34444 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34445 if (!SWIG_IsOK(res2
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34448 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34449 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34451 resultobj
= SWIG_Py_Void();
34458 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34459 PyObject
*resultobj
= 0;
34460 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34461 wxFont
*result
= 0 ;
34464 PyObject
*swig_obj
[1] ;
34466 if (!args
) SWIG_fail
;
34467 swig_obj
[0] = args
;
34468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34469 if (!SWIG_IsOK(res1
)) {
34470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34472 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34473 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34481 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34482 PyObject
*resultobj
= 0;
34483 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34484 wxColour
*arg2
= (wxColour
*) 0 ;
34488 PyObject
*swig_obj
[2] ;
34490 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34492 if (!SWIG_IsOK(res1
)) {
34493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34495 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34498 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34500 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34502 resultobj
= SWIG_Py_Void();
34509 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34510 PyObject
*resultobj
= 0;
34511 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34512 wxColour
*result
= 0 ;
34515 PyObject
*swig_obj
[1] ;
34517 if (!args
) SWIG_fail
;
34518 swig_obj
[0] = args
;
34519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34520 if (!SWIG_IsOK(res1
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34523 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34524 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34532 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34533 PyObject
*resultobj
= 0;
34534 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34535 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34540 PyObject
*swig_obj
[2] ;
34542 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34544 if (!SWIG_IsOK(res1
)) {
34545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34547 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34548 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34549 if (!SWIG_IsOK(res2
)) {
34550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34552 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34553 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34555 resultobj
= SWIG_Py_Void();
34562 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34563 PyObject
*resultobj
= 0;
34564 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34565 wxBitmap
*result
= 0 ;
34568 PyObject
*swig_obj
[1] ;
34570 if (!args
) SWIG_fail
;
34571 swig_obj
[0] = args
;
34572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34573 if (!SWIG_IsOK(res1
)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34576 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34577 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34585 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34586 PyObject
*resultobj
= 0;
34587 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34593 PyObject
*swig_obj
[2] ;
34595 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34597 if (!SWIG_IsOK(res1
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34600 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34601 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34602 if (!SWIG_IsOK(ecode2
)) {
34603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34605 arg2
= static_cast< int >(val2
);
34606 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34608 resultobj
= SWIG_Py_Void();
34615 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34616 PyObject
*resultobj
= 0;
34617 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34621 PyObject
*swig_obj
[1] ;
34623 if (!args
) SWIG_fail
;
34624 swig_obj
[0] = args
;
34625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34626 if (!SWIG_IsOK(res1
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34629 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34630 result
= (int) ((arg1
)->m_labelAlignment
);
34631 resultobj
= SWIG_From_int(static_cast< int >(result
));
34638 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34641 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34642 return SWIG_Py_Void();
34645 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34646 return SWIG_Python_InitShadowInstance(args
);
34649 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
= 0;
34653 wxRendererVersion
*result
= 0 ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 char * kwnames
[] = {
34661 (char *) "version_",(char *) "age_", NULL
34664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34666 if (!SWIG_IsOK(ecode1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34669 arg1
= static_cast< int >(val1
);
34670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34671 if (!SWIG_IsOK(ecode2
)) {
34672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34674 arg2
= static_cast< int >(val2
);
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34688 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34689 PyObject
*resultobj
= 0;
34690 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34693 PyObject
*swig_obj
[1] ;
34695 if (!args
) SWIG_fail
;
34696 swig_obj
[0] = args
;
34697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34698 if (!SWIG_IsOK(res1
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34701 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_Py_Void();
34716 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
= 0;
34718 wxRendererVersion
*arg1
= 0 ;
34722 PyObject
* obj0
= 0 ;
34723 char * kwnames
[] = {
34724 (char *) "ver", NULL
34727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34728 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34729 if (!SWIG_IsOK(res1
)) {
34730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34735 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34738 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34739 wxPyEndAllowThreads(__tstate
);
34740 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34751 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34752 PyObject
*resultobj
= 0;
34753 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34757 PyObject
*swig_obj
[1] ;
34759 if (!args
) SWIG_fail
;
34760 swig_obj
[0] = args
;
34761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34762 if (!SWIG_IsOK(res1
)) {
34763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34765 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34766 result
= (int)(int) ((arg1
)->version
);
34767 resultobj
= SWIG_From_int(static_cast< int >(result
));
34774 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34775 PyObject
*resultobj
= 0;
34776 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34780 PyObject
*swig_obj
[1] ;
34782 if (!args
) SWIG_fail
;
34783 swig_obj
[0] = args
;
34784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34785 if (!SWIG_IsOK(res1
)) {
34786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34788 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34789 result
= (int)(int) ((arg1
)->age
);
34790 resultobj
= SWIG_From_int(static_cast< int >(result
));
34797 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34800 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34801 return SWIG_Py_Void();
34804 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34805 return SWIG_Python_InitShadowInstance(args
);
34808 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34809 PyObject
*resultobj
= 0;
34810 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34811 wxWindow
*arg2
= (wxWindow
*) 0 ;
34814 int arg5
= (int) 0 ;
34815 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34816 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34830 PyObject
* obj0
= 0 ;
34831 PyObject
* obj1
= 0 ;
34832 PyObject
* obj2
= 0 ;
34833 PyObject
* obj3
= 0 ;
34834 PyObject
* obj4
= 0 ;
34835 PyObject
* obj5
= 0 ;
34836 PyObject
* obj6
= 0 ;
34837 char * kwnames
[] = {
34838 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34843 if (!SWIG_IsOK(res1
)) {
34844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34846 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34848 if (!SWIG_IsOK(res2
)) {
34849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34852 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34853 if (!SWIG_IsOK(res3
)) {
34854 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34859 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34862 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34866 if (!SWIG_IsOK(ecode5
)) {
34867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34869 arg5
= static_cast< int >(val5
);
34872 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34873 if (!SWIG_IsOK(ecode6
)) {
34874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34876 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34879 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34880 if (!SWIG_IsOK(res7
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34883 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_Py_Void();
34898 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
= 0;
34900 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34901 wxWindow
*arg2
= (wxWindow
*) 0 ;
34904 int arg5
= (int) 0 ;
34905 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34906 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34920 PyObject
* obj0
= 0 ;
34921 PyObject
* obj1
= 0 ;
34922 PyObject
* obj2
= 0 ;
34923 PyObject
* obj3
= 0 ;
34924 PyObject
* obj4
= 0 ;
34925 PyObject
* obj5
= 0 ;
34926 PyObject
* obj6
= 0 ;
34927 char * kwnames
[] = {
34928 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34933 if (!SWIG_IsOK(res1
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34936 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34938 if (!SWIG_IsOK(res2
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34942 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34943 if (!SWIG_IsOK(res3
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34949 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34952 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34956 if (!SWIG_IsOK(ecode5
)) {
34957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34959 arg5
= static_cast< int >(val5
);
34962 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34963 if (!SWIG_IsOK(ecode6
)) {
34964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34966 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34969 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34970 if (!SWIG_IsOK(res7
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34973 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34977 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34981 resultobj
= SWIG_Py_Void();
34988 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34989 PyObject
*resultobj
= 0;
34990 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34991 wxWindow
*arg2
= (wxWindow
*) 0 ;
34997 PyObject
* obj0
= 0 ;
34998 PyObject
* obj1
= 0 ;
34999 char * kwnames
[] = {
35000 (char *) "self",(char *) "win", NULL
35003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35005 if (!SWIG_IsOK(res1
)) {
35006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35008 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35010 if (!SWIG_IsOK(res2
)) {
35011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35013 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35016 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 resultobj
= SWIG_From_int(static_cast< int >(result
));
35027 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
= 0;
35029 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35030 wxWindow
*arg2
= (wxWindow
*) 0 ;
35033 int arg5
= (int) 0 ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 PyObject
* obj3
= 0 ;
35047 PyObject
* obj4
= 0 ;
35048 char * kwnames
[] = {
35049 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35054 if (!SWIG_IsOK(res1
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35057 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35059 if (!SWIG_IsOK(res2
)) {
35060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35063 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35064 if (!SWIG_IsOK(res3
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35070 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35073 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35076 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35077 if (!SWIG_IsOK(ecode5
)) {
35078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35080 arg5
= static_cast< int >(val5
);
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35085 wxPyEndAllowThreads(__tstate
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35088 resultobj
= SWIG_Py_Void();
35095 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
= 0;
35097 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35098 wxWindow
*arg2
= (wxWindow
*) 0 ;
35101 int arg5
= (int) 0 ;
35111 PyObject
* obj0
= 0 ;
35112 PyObject
* obj1
= 0 ;
35113 PyObject
* obj2
= 0 ;
35114 PyObject
* obj3
= 0 ;
35115 PyObject
* obj4
= 0 ;
35116 char * kwnames
[] = {
35117 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35122 if (!SWIG_IsOK(res1
)) {
35123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35125 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35127 if (!SWIG_IsOK(res2
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35131 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35132 if (!SWIG_IsOK(res3
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35138 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35141 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35144 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35145 if (!SWIG_IsOK(ecode5
)) {
35146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35148 arg5
= static_cast< int >(val5
);
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35153 wxPyEndAllowThreads(__tstate
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35156 resultobj
= SWIG_Py_Void();
35163 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35164 PyObject
*resultobj
= 0;
35165 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35166 wxWindow
*arg2
= (wxWindow
*) 0 ;
35170 wxOrientation arg6
;
35171 int arg7
= (int) 0 ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 PyObject
* obj2
= 0 ;
35188 PyObject
* obj3
= 0 ;
35189 PyObject
* obj4
= 0 ;
35190 PyObject
* obj5
= 0 ;
35191 PyObject
* obj6
= 0 ;
35192 char * kwnames
[] = {
35193 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35198 if (!SWIG_IsOK(res1
)) {
35199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35201 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35203 if (!SWIG_IsOK(res2
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35207 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35208 if (!SWIG_IsOK(res3
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35214 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35219 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35220 if (!SWIG_IsOK(ecode5
)) {
35221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35223 arg5
= static_cast< int >(val5
);
35224 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35225 if (!SWIG_IsOK(ecode6
)) {
35226 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35228 arg6
= static_cast< wxOrientation
>(val6
);
35230 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35231 if (!SWIG_IsOK(ecode7
)) {
35232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35234 arg7
= static_cast< int >(val7
);
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= SWIG_Py_Void();
35249 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
= 0;
35251 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35252 wxWindow
*arg2
= (wxWindow
*) 0 ;
35255 int arg5
= (int) 0 ;
35265 PyObject
* obj0
= 0 ;
35266 PyObject
* obj1
= 0 ;
35267 PyObject
* obj2
= 0 ;
35268 PyObject
* obj3
= 0 ;
35269 PyObject
* obj4
= 0 ;
35270 char * kwnames
[] = {
35271 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35279 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35281 if (!SWIG_IsOK(res2
)) {
35282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35285 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35286 if (!SWIG_IsOK(res3
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35292 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35295 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35298 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35299 if (!SWIG_IsOK(ecode5
)) {
35300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35302 arg5
= static_cast< int >(val5
);
35305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35306 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35307 wxPyEndAllowThreads(__tstate
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35310 resultobj
= SWIG_Py_Void();
35317 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
= 0;
35319 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35320 wxWindow
*arg2
= (wxWindow
*) 0 ;
35323 int arg5
= (int) 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 PyObject
* obj2
= 0 ;
35336 PyObject
* obj3
= 0 ;
35337 PyObject
* obj4
= 0 ;
35338 char * kwnames
[] = {
35339 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35347 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35349 if (!SWIG_IsOK(res2
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35354 if (!SWIG_IsOK(res3
)) {
35355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35360 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35363 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35367 if (!SWIG_IsOK(ecode5
)) {
35368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35370 arg5
= static_cast< int >(val5
);
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 resultobj
= SWIG_Py_Void();
35385 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
= 0;
35387 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35388 wxWindow
*arg2
= (wxWindow
*) 0 ;
35391 int arg5
= (int) 0 ;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 PyObject
* obj2
= 0 ;
35404 PyObject
* obj3
= 0 ;
35405 PyObject
* obj4
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35415 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35417 if (!SWIG_IsOK(res2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35421 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35422 if (!SWIG_IsOK(res3
)) {
35423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35428 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35431 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35435 if (!SWIG_IsOK(ecode5
)) {
35436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35438 arg5
= static_cast< int >(val5
);
35441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35442 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= SWIG_Py_Void();
35453 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
= 0;
35455 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35456 wxWindow
*arg2
= (wxWindow
*) 0 ;
35459 int arg5
= (int) 0 ;
35469 PyObject
* obj0
= 0 ;
35470 PyObject
* obj1
= 0 ;
35471 PyObject
* obj2
= 0 ;
35472 PyObject
* obj3
= 0 ;
35473 PyObject
* obj4
= 0 ;
35474 char * kwnames
[] = {
35475 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35483 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35485 if (!SWIG_IsOK(res2
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35490 if (!SWIG_IsOK(res3
)) {
35491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35496 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35499 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35503 if (!SWIG_IsOK(ecode5
)) {
35504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35506 arg5
= static_cast< int >(val5
);
35509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35510 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35511 wxPyEndAllowThreads(__tstate
);
35512 if (PyErr_Occurred()) SWIG_fail
;
35514 resultobj
= SWIG_Py_Void();
35521 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35524 wxWindow
*arg2
= (wxWindow
*) 0 ;
35527 int arg5
= (int) 0 ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 PyObject
* obj2
= 0 ;
35540 PyObject
* obj3
= 0 ;
35541 PyObject
* obj4
= 0 ;
35542 char * kwnames
[] = {
35543 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35548 if (!SWIG_IsOK(res1
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35551 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35553 if (!SWIG_IsOK(res2
)) {
35554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35557 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35558 if (!SWIG_IsOK(res3
)) {
35559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35564 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35567 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35571 if (!SWIG_IsOK(ecode5
)) {
35572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35574 arg5
= static_cast< int >(val5
);
35577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35578 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35582 resultobj
= SWIG_Py_Void();
35589 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
= 0;
35591 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35592 wxWindow
*arg2
= (wxWindow
*) 0 ;
35593 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35598 PyObject
* obj0
= 0 ;
35599 PyObject
* obj1
= 0 ;
35600 char * kwnames
[] = {
35601 (char *) "self",(char *) "win", NULL
35604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35606 if (!SWIG_IsOK(res1
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35609 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35611 if (!SWIG_IsOK(res2
)) {
35612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35614 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35618 wxPyEndAllowThreads(__tstate
);
35619 if (PyErr_Occurred()) SWIG_fail
;
35621 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35628 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35629 PyObject
*resultobj
= 0;
35630 wxRendererNative
*result
= 0 ;
35632 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35634 if (!wxPyCheckForApp()) SWIG_fail
;
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35637 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35638 result
= (wxRendererNative
*) &_result_ref
;
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35650 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35651 PyObject
*resultobj
= 0;
35652 wxRendererNative
*result
= 0 ;
35654 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35656 if (!wxPyCheckForApp()) SWIG_fail
;
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35659 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35660 result
= (wxRendererNative
*) &_result_ref
;
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35672 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35673 PyObject
*resultobj
= 0;
35674 wxRendererNative
*result
= 0 ;
35676 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35678 if (!wxPyCheckForApp()) SWIG_fail
;
35679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35681 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35682 result
= (wxRendererNative
*) &_result_ref
;
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35694 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35695 PyObject
*resultobj
= 0;
35696 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35697 wxRendererNative
*result
= 0 ;
35700 PyObject
* obj0
= 0 ;
35701 char * kwnames
[] = {
35702 (char *) "renderer", NULL
35705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35707 if (!SWIG_IsOK(res1
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35710 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35712 if (!wxPyCheckForApp()) SWIG_fail
;
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35725 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35726 PyObject
*resultobj
= 0;
35727 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35728 SwigValueWrapper
<wxRendererVersion
> result
;
35731 PyObject
*swig_obj
[1] ;
35733 if (!args
) SWIG_fail
;
35734 swig_obj
[0] = args
;
35735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35736 if (!SWIG_IsOK(res1
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35739 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35742 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35753 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35756 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35757 return SWIG_Py_Void();
35760 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35761 PyObject
*resultobj
= 0;
35762 wxPseudoDC
*result
= 0 ;
35764 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 result
= (wxPseudoDC
*)new wxPseudoDC();
35768 wxPyEndAllowThreads(__tstate
);
35769 if (PyErr_Occurred()) SWIG_fail
;
35771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35778 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35779 PyObject
*resultobj
= 0;
35780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35783 PyObject
*swig_obj
[1] ;
35785 if (!args
) SWIG_fail
;
35786 swig_obj
[0] = args
;
35787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35788 if (!SWIG_IsOK(res1
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 (arg1
)->BeginDrawing();
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35798 resultobj
= SWIG_Py_Void();
35805 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35806 PyObject
*resultobj
= 0;
35807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35810 PyObject
*swig_obj
[1] ;
35812 if (!args
) SWIG_fail
;
35813 swig_obj
[0] = args
;
35814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35815 if (!SWIG_IsOK(res1
)) {
35816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35818 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 (arg1
)->EndDrawing();
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 resultobj
= SWIG_Py_Void();
35832 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35833 PyObject
*resultobj
= 0;
35834 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35837 PyObject
*swig_obj
[1] ;
35839 if (!args
) SWIG_fail
;
35840 swig_obj
[0] = args
;
35841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35842 if (!SWIG_IsOK(res1
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35845 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 wxPyEndAllowThreads(__tstate
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35853 resultobj
= SWIG_Py_Void();
35860 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35861 PyObject
*resultobj
= 0;
35862 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35865 PyObject
*swig_obj
[1] ;
35867 if (!args
) SWIG_fail
;
35868 swig_obj
[0] = args
;
35869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35870 if (!SWIG_IsOK(res1
)) {
35871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35873 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 (arg1
)->RemoveAll();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= SWIG_Py_Void();
35887 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35888 PyObject
*resultobj
= 0;
35889 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35893 PyObject
*swig_obj
[1] ;
35895 if (!args
) SWIG_fail
;
35896 swig_obj
[0] = args
;
35897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35898 if (!SWIG_IsOK(res1
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35901 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= (int)(arg1
)->GetLen();
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_From_int(static_cast< int >(result
));
35915 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
= 0;
35917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35923 PyObject
* obj0
= 0 ;
35924 PyObject
* obj1
= 0 ;
35925 char * kwnames
[] = {
35926 (char *) "self",(char *) "id", NULL
35929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35931 if (!SWIG_IsOK(res1
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35936 if (!SWIG_IsOK(ecode2
)) {
35937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35939 arg2
= static_cast< int >(val2
);
35941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35942 (arg1
)->SetId(arg2
);
35943 wxPyEndAllowThreads(__tstate
);
35944 if (PyErr_Occurred()) SWIG_fail
;
35946 resultobj
= SWIG_Py_Void();
35953 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35954 PyObject
*resultobj
= 0;
35955 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35961 PyObject
* obj0
= 0 ;
35962 PyObject
* obj1
= 0 ;
35963 char * kwnames
[] = {
35964 (char *) "self",(char *) "id", NULL
35967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35969 if (!SWIG_IsOK(res1
)) {
35970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35972 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35974 if (!SWIG_IsOK(ecode2
)) {
35975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35977 arg2
= static_cast< int >(val2
);
35979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35980 (arg1
)->ClearId(arg2
);
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35984 resultobj
= SWIG_Py_Void();
35991 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35992 PyObject
*resultobj
= 0;
35993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35999 PyObject
* obj0
= 0 ;
36000 PyObject
* obj1
= 0 ;
36001 char * kwnames
[] = {
36002 (char *) "self",(char *) "id", NULL
36005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36007 if (!SWIG_IsOK(res1
)) {
36008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36012 if (!SWIG_IsOK(ecode2
)) {
36013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36015 arg2
= static_cast< int >(val2
);
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 (arg1
)->RemoveId(arg2
);
36019 wxPyEndAllowThreads(__tstate
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= SWIG_Py_Void();
36029 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36030 PyObject
*resultobj
= 0;
36031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36043 PyObject
* obj0
= 0 ;
36044 PyObject
* obj1
= 0 ;
36045 PyObject
* obj2
= 0 ;
36046 PyObject
* obj3
= 0 ;
36047 char * kwnames
[] = {
36048 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36053 if (!SWIG_IsOK(res1
)) {
36054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36056 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36058 if (!SWIG_IsOK(ecode2
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36061 arg2
= static_cast< int >(val2
);
36062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36063 if (!SWIG_IsOK(ecode3
)) {
36064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36066 arg3
= static_cast< int >(val3
);
36067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36068 if (!SWIG_IsOK(ecode4
)) {
36069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36071 arg4
= static_cast< int >(val4
);
36073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36074 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36075 wxPyEndAllowThreads(__tstate
);
36076 if (PyErr_Occurred()) SWIG_fail
;
36078 resultobj
= SWIG_Py_Void();
36085 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36086 PyObject
*resultobj
= 0;
36087 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36089 bool arg3
= (bool) true ;
36096 PyObject
* obj0
= 0 ;
36097 PyObject
* obj1
= 0 ;
36098 PyObject
* obj2
= 0 ;
36099 char * kwnames
[] = {
36100 (char *) "self",(char *) "id",(char *) "greyout", NULL
36103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36105 if (!SWIG_IsOK(res1
)) {
36106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36110 if (!SWIG_IsOK(ecode2
)) {
36111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36113 arg2
= static_cast< int >(val2
);
36115 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36116 if (!SWIG_IsOK(ecode3
)) {
36117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36119 arg3
= static_cast< bool >(val3
);
36122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36123 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36124 wxPyEndAllowThreads(__tstate
);
36125 if (PyErr_Occurred()) SWIG_fail
;
36127 resultobj
= SWIG_Py_Void();
36134 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36135 PyObject
*resultobj
= 0;
36136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36143 PyObject
* obj0
= 0 ;
36144 PyObject
* obj1
= 0 ;
36145 char * kwnames
[] = {
36146 (char *) "self",(char *) "id", NULL
36149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36151 if (!SWIG_IsOK(res1
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36156 if (!SWIG_IsOK(ecode2
)) {
36157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36159 arg2
= static_cast< int >(val2
);
36161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36162 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36163 wxPyEndAllowThreads(__tstate
);
36164 if (PyErr_Occurred()) SWIG_fail
;
36167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36175 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36176 PyObject
*resultobj
= 0;
36177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36180 int arg4
= (int) 1 ;
36181 wxColor
const &arg5_defvalue
= *wxWHITE
;
36182 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36183 PyObject
*result
= 0 ;
36194 PyObject
* obj0
= 0 ;
36195 PyObject
* obj1
= 0 ;
36196 PyObject
* obj2
= 0 ;
36197 PyObject
* obj3
= 0 ;
36198 PyObject
* obj4
= 0 ;
36199 char * kwnames
[] = {
36200 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36205 if (!SWIG_IsOK(res1
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36210 if (!SWIG_IsOK(ecode2
)) {
36211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36213 arg2
= static_cast< int >(val2
);
36214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36215 if (!SWIG_IsOK(ecode3
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36218 arg3
= static_cast< int >(val3
);
36220 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36221 if (!SWIG_IsOK(ecode4
)) {
36222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36224 arg4
= static_cast< int >(val4
);
36227 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36228 if (!SWIG_IsOK(res5
)) {
36229 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36234 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36237 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= result
;
36247 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
= 0;
36249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36252 PyObject
*result
= 0 ;
36259 PyObject
* obj0
= 0 ;
36260 PyObject
* obj1
= 0 ;
36261 PyObject
* obj2
= 0 ;
36262 char * kwnames
[] = {
36263 (char *) "self",(char *) "x",(char *) "y", NULL
36266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36268 if (!SWIG_IsOK(res1
)) {
36269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36271 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36273 if (!SWIG_IsOK(ecode2
)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36276 arg2
= static_cast< int >(val2
);
36277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36278 if (!SWIG_IsOK(ecode3
)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36281 arg3
= static_cast< int >(val3
);
36283 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= result
;
36293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
= 0;
36295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36297 wxDC
*arg3
= (wxDC
*) 0 ;
36304 PyObject
* obj0
= 0 ;
36305 PyObject
* obj1
= 0 ;
36306 PyObject
* obj2
= 0 ;
36307 char * kwnames
[] = {
36308 (char *) "self",(char *) "id",(char *) "dc", NULL
36311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36313 if (!SWIG_IsOK(res1
)) {
36314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36316 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36318 if (!SWIG_IsOK(ecode2
)) {
36319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36321 arg2
= static_cast< int >(val2
);
36322 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36323 if (!SWIG_IsOK(res3
)) {
36324 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36326 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36329 (arg1
)->DrawIdToDC(arg2
,arg3
);
36330 wxPyEndAllowThreads(__tstate
);
36331 if (PyErr_Occurred()) SWIG_fail
;
36333 resultobj
= SWIG_Py_Void();
36340 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36341 PyObject
*resultobj
= 0;
36342 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36350 PyObject
* obj0
= 0 ;
36351 PyObject
* obj1
= 0 ;
36352 PyObject
* obj2
= 0 ;
36353 char * kwnames
[] = {
36354 (char *) "self",(char *) "id",(char *) "rect", NULL
36357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36359 if (!SWIG_IsOK(res1
)) {
36360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36364 if (!SWIG_IsOK(ecode2
)) {
36365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36367 arg2
= static_cast< int >(val2
);
36370 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->SetIdBounds(arg2
,*arg3
);
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36378 resultobj
= SWIG_Py_Void();
36385 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
= 0;
36387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36394 PyObject
* obj0
= 0 ;
36395 PyObject
* obj1
= 0 ;
36396 char * kwnames
[] = {
36397 (char *) "self",(char *) "id", NULL
36400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36402 if (!SWIG_IsOK(res1
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36405 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36407 if (!SWIG_IsOK(ecode2
)) {
36408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36410 arg2
= static_cast< int >(val2
);
36412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36413 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36414 wxPyEndAllowThreads(__tstate
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36417 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36424 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36425 PyObject
*resultobj
= 0;
36426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36427 wxDC
*arg2
= (wxDC
*) 0 ;
36434 PyObject
* obj0
= 0 ;
36435 PyObject
* obj1
= 0 ;
36436 PyObject
* obj2
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "dc",(char *) "rect", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36448 if (!SWIG_IsOK(res2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36451 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36454 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36459 wxPyEndAllowThreads(__tstate
);
36460 if (PyErr_Occurred()) SWIG_fail
;
36462 resultobj
= SWIG_Py_Void();
36469 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
= 0;
36471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36472 wxDC
*arg2
= (wxDC
*) 0 ;
36473 wxRegion
*arg3
= 0 ;
36480 PyObject
* obj0
= 0 ;
36481 PyObject
* obj1
= 0 ;
36482 PyObject
* obj2
= 0 ;
36483 char * kwnames
[] = {
36484 (char *) "self",(char *) "dc",(char *) "region", NULL
36487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36489 if (!SWIG_IsOK(res1
)) {
36490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36494 if (!SWIG_IsOK(res2
)) {
36495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36497 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36498 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36499 if (!SWIG_IsOK(res3
)) {
36500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36505 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36508 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36512 resultobj
= SWIG_Py_Void();
36519 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
= 0;
36521 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36522 wxDC
*arg2
= (wxDC
*) 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 char * kwnames
[] = {
36530 (char *) "self",(char *) "dc", NULL
36533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36535 if (!SWIG_IsOK(res1
)) {
36536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36538 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36540 if (!SWIG_IsOK(res2
)) {
36541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36543 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 (arg1
)->DrawToDC(arg2
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= SWIG_Py_Void();
36557 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36558 PyObject
*resultobj
= 0;
36559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36562 wxColour
*arg4
= 0 ;
36563 int arg5
= (int) wxFLOOD_SURFACE
;
36573 PyObject
* obj0
= 0 ;
36574 PyObject
* obj1
= 0 ;
36575 PyObject
* obj2
= 0 ;
36576 PyObject
* obj3
= 0 ;
36577 PyObject
* obj4
= 0 ;
36578 char * kwnames
[] = {
36579 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36584 if (!SWIG_IsOK(res1
)) {
36585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36587 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36589 if (!SWIG_IsOK(ecode2
)) {
36590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36592 arg2
= static_cast< int >(val2
);
36593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36594 if (!SWIG_IsOK(ecode3
)) {
36595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36597 arg3
= static_cast< int >(val3
);
36600 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36603 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36604 if (!SWIG_IsOK(ecode5
)) {
36605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36607 arg5
= static_cast< int >(val5
);
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= SWIG_Py_Void();
36622 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36623 PyObject
*resultobj
= 0;
36624 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36625 wxPoint
*arg2
= 0 ;
36626 wxColour
*arg3
= 0 ;
36627 int arg4
= (int) wxFLOOD_SURFACE
;
36634 PyObject
* obj0
= 0 ;
36635 PyObject
* obj1
= 0 ;
36636 PyObject
* obj2
= 0 ;
36637 PyObject
* obj3
= 0 ;
36638 char * kwnames
[] = {
36639 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36644 if (!SWIG_IsOK(res1
)) {
36645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36658 if (!SWIG_IsOK(ecode4
)) {
36659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36661 arg4
= static_cast< int >(val4
);
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36666 wxPyEndAllowThreads(__tstate
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36669 resultobj
= SWIG_Py_Void();
36676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
= 0;
36678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36693 PyObject
* obj0
= 0 ;
36694 PyObject
* obj1
= 0 ;
36695 PyObject
* obj2
= 0 ;
36696 PyObject
* obj3
= 0 ;
36697 PyObject
* obj4
= 0 ;
36698 char * kwnames
[] = {
36699 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36704 if (!SWIG_IsOK(res1
)) {
36705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36709 if (!SWIG_IsOK(ecode2
)) {
36710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36712 arg2
= static_cast< int >(val2
);
36713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36714 if (!SWIG_IsOK(ecode3
)) {
36715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36717 arg3
= static_cast< int >(val3
);
36718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36719 if (!SWIG_IsOK(ecode4
)) {
36720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36722 arg4
= static_cast< int >(val4
);
36723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36724 if (!SWIG_IsOK(ecode5
)) {
36725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36727 arg5
= static_cast< int >(val5
);
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36734 resultobj
= SWIG_Py_Void();
36741 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36742 PyObject
*resultobj
= 0;
36743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36744 wxPoint
*arg2
= 0 ;
36745 wxPoint
*arg3
= 0 ;
36750 PyObject
* obj0
= 0 ;
36751 PyObject
* obj1
= 0 ;
36752 PyObject
* obj2
= 0 ;
36753 char * kwnames
[] = {
36754 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36759 if (!SWIG_IsOK(res1
)) {
36760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36762 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_Py_Void();
36784 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36785 PyObject
*resultobj
= 0;
36786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36795 PyObject
* obj0
= 0 ;
36796 PyObject
* obj1
= 0 ;
36797 PyObject
* obj2
= 0 ;
36798 char * kwnames
[] = {
36799 (char *) "self",(char *) "x",(char *) "y", NULL
36802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36804 if (!SWIG_IsOK(res1
)) {
36805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36807 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36809 if (!SWIG_IsOK(ecode2
)) {
36810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36812 arg2
= static_cast< int >(val2
);
36813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36814 if (!SWIG_IsOK(ecode3
)) {
36815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36817 arg3
= static_cast< int >(val3
);
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36820 (arg1
)->CrossHair(arg2
,arg3
);
36821 wxPyEndAllowThreads(__tstate
);
36822 if (PyErr_Occurred()) SWIG_fail
;
36824 resultobj
= SWIG_Py_Void();
36831 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36832 PyObject
*resultobj
= 0;
36833 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36834 wxPoint
*arg2
= 0 ;
36838 PyObject
* obj0
= 0 ;
36839 PyObject
* obj1
= 0 ;
36840 char * kwnames
[] = {
36841 (char *) "self",(char *) "pt", NULL
36844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36846 if (!SWIG_IsOK(res1
)) {
36847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36856 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36857 wxPyEndAllowThreads(__tstate
);
36858 if (PyErr_Occurred()) SWIG_fail
;
36860 resultobj
= SWIG_Py_Void();
36867 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36868 PyObject
*resultobj
= 0;
36869 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36890 PyObject
* obj0
= 0 ;
36891 PyObject
* obj1
= 0 ;
36892 PyObject
* obj2
= 0 ;
36893 PyObject
* obj3
= 0 ;
36894 PyObject
* obj4
= 0 ;
36895 PyObject
* obj5
= 0 ;
36896 PyObject
* obj6
= 0 ;
36897 char * kwnames
[] = {
36898 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36903 if (!SWIG_IsOK(res1
)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36908 if (!SWIG_IsOK(ecode2
)) {
36909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36911 arg2
= static_cast< int >(val2
);
36912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36913 if (!SWIG_IsOK(ecode3
)) {
36914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36916 arg3
= static_cast< int >(val3
);
36917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36918 if (!SWIG_IsOK(ecode4
)) {
36919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36921 arg4
= static_cast< int >(val4
);
36922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36923 if (!SWIG_IsOK(ecode5
)) {
36924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36926 arg5
= static_cast< int >(val5
);
36927 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36928 if (!SWIG_IsOK(ecode6
)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36931 arg6
= static_cast< int >(val6
);
36932 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36933 if (!SWIG_IsOK(ecode7
)) {
36934 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36936 arg7
= static_cast< int >(val7
);
36938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36939 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= SWIG_Py_Void();
36950 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
= 0;
36952 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36953 wxPoint
*arg2
= 0 ;
36954 wxPoint
*arg3
= 0 ;
36955 wxPoint
*arg4
= 0 ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 PyObject
* obj2
= 0 ;
36964 PyObject
* obj3
= 0 ;
36965 char * kwnames
[] = {
36966 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36971 if (!SWIG_IsOK(res1
)) {
36972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36974 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36989 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36990 wxPyEndAllowThreads(__tstate
);
36991 if (PyErr_Occurred()) SWIG_fail
;
36993 resultobj
= SWIG_Py_Void();
37000 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37001 PyObject
*resultobj
= 0;
37002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37017 PyObject
* obj0
= 0 ;
37018 PyObject
* obj1
= 0 ;
37019 PyObject
* obj2
= 0 ;
37020 PyObject
* obj3
= 0 ;
37021 PyObject
* obj4
= 0 ;
37022 char * kwnames
[] = {
37023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37028 if (!SWIG_IsOK(res1
)) {
37029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37031 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37033 if (!SWIG_IsOK(ecode2
)) {
37034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37036 arg2
= static_cast< int >(val2
);
37037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37038 if (!SWIG_IsOK(ecode3
)) {
37039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37041 arg3
= static_cast< int >(val3
);
37042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37043 if (!SWIG_IsOK(ecode4
)) {
37044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37046 arg4
= static_cast< int >(val4
);
37047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37048 if (!SWIG_IsOK(ecode5
)) {
37049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37051 arg5
= static_cast< int >(val5
);
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37058 resultobj
= SWIG_Py_Void();
37065 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37066 PyObject
*resultobj
= 0;
37067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37072 PyObject
* obj0
= 0 ;
37073 PyObject
* obj1
= 0 ;
37074 char * kwnames
[] = {
37075 (char *) "self",(char *) "rect", NULL
37078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37080 if (!SWIG_IsOK(res1
)) {
37081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37086 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37090 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37091 wxPyEndAllowThreads(__tstate
);
37092 if (PyErr_Occurred()) SWIG_fail
;
37094 resultobj
= SWIG_Py_Void();
37101 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
= 0;
37103 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37124 PyObject
* obj0
= 0 ;
37125 PyObject
* obj1
= 0 ;
37126 PyObject
* obj2
= 0 ;
37127 PyObject
* obj3
= 0 ;
37128 PyObject
* obj4
= 0 ;
37129 PyObject
* obj5
= 0 ;
37130 PyObject
* obj6
= 0 ;
37131 char * kwnames
[] = {
37132 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37137 if (!SWIG_IsOK(res1
)) {
37138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37142 if (!SWIG_IsOK(ecode2
)) {
37143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37145 arg2
= static_cast< int >(val2
);
37146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37147 if (!SWIG_IsOK(ecode3
)) {
37148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37150 arg3
= static_cast< int >(val3
);
37151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37152 if (!SWIG_IsOK(ecode4
)) {
37153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37155 arg4
= static_cast< int >(val4
);
37156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37157 if (!SWIG_IsOK(ecode5
)) {
37158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37160 arg5
= static_cast< int >(val5
);
37161 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37162 if (!SWIG_IsOK(ecode6
)) {
37163 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37165 arg6
= static_cast< double >(val6
);
37166 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37167 if (!SWIG_IsOK(ecode7
)) {
37168 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37170 arg7
= static_cast< double >(val7
);
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37177 resultobj
= SWIG_Py_Void();
37184 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
= 0;
37186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37187 wxPoint
*arg2
= 0 ;
37199 PyObject
* obj0
= 0 ;
37200 PyObject
* obj1
= 0 ;
37201 PyObject
* obj2
= 0 ;
37202 PyObject
* obj3
= 0 ;
37203 PyObject
* obj4
= 0 ;
37204 char * kwnames
[] = {
37205 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37210 if (!SWIG_IsOK(res1
)) {
37211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37213 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37220 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37222 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37223 if (!SWIG_IsOK(ecode4
)) {
37224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37226 arg4
= static_cast< double >(val4
);
37227 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37228 if (!SWIG_IsOK(ecode5
)) {
37229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37231 arg5
= static_cast< double >(val5
);
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= SWIG_Py_Void();
37245 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
= 0;
37247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 PyObject
* obj2
= 0 ;
37259 char * kwnames
[] = {
37260 (char *) "self",(char *) "x",(char *) "y", NULL
37263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37265 if (!SWIG_IsOK(res1
)) {
37266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37270 if (!SWIG_IsOK(ecode2
)) {
37271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37273 arg2
= static_cast< int >(val2
);
37274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37275 if (!SWIG_IsOK(ecode3
)) {
37276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37278 arg3
= static_cast< int >(val3
);
37280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37281 (arg1
)->DrawPoint(arg2
,arg3
);
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 resultobj
= SWIG_Py_Void();
37292 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37293 PyObject
*resultobj
= 0;
37294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37295 wxPoint
*arg2
= 0 ;
37299 PyObject
* obj0
= 0 ;
37300 PyObject
* obj1
= 0 ;
37301 char * kwnames
[] = {
37302 (char *) "self",(char *) "pt", NULL
37305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37307 if (!SWIG_IsOK(res1
)) {
37308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37317 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= SWIG_Py_Void();
37328 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
= 0;
37330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 PyObject
* obj2
= 0 ;
37348 PyObject
* obj3
= 0 ;
37349 PyObject
* obj4
= 0 ;
37350 char * kwnames
[] = {
37351 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37356 if (!SWIG_IsOK(res1
)) {
37357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37359 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37361 if (!SWIG_IsOK(ecode2
)) {
37362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37364 arg2
= static_cast< int >(val2
);
37365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37366 if (!SWIG_IsOK(ecode3
)) {
37367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37369 arg3
= static_cast< int >(val3
);
37370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37371 if (!SWIG_IsOK(ecode4
)) {
37372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37374 arg4
= static_cast< int >(val4
);
37375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37376 if (!SWIG_IsOK(ecode5
)) {
37377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37379 arg5
= static_cast< int >(val5
);
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37386 resultobj
= SWIG_Py_Void();
37393 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
= 0;
37395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37400 PyObject
* obj0
= 0 ;
37401 PyObject
* obj1
= 0 ;
37402 char * kwnames
[] = {
37403 (char *) "self",(char *) "rect", NULL
37406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37408 if (!SWIG_IsOK(res1
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37411 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37419 wxPyEndAllowThreads(__tstate
);
37420 if (PyErr_Occurred()) SWIG_fail
;
37422 resultobj
= SWIG_Py_Void();
37429 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37430 PyObject
*resultobj
= 0;
37431 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37432 wxPoint
*arg2
= 0 ;
37438 PyObject
* obj0
= 0 ;
37439 PyObject
* obj1
= 0 ;
37440 PyObject
* obj2
= 0 ;
37441 char * kwnames
[] = {
37442 (char *) "self",(char *) "pt",(char *) "sz", NULL
37445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37447 if (!SWIG_IsOK(res1
)) {
37448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37453 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37457 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37461 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37462 wxPyEndAllowThreads(__tstate
);
37463 if (PyErr_Occurred()) SWIG_fail
;
37465 resultobj
= SWIG_Py_Void();
37472 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37473 PyObject
*resultobj
= 0;
37474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37492 PyObject
* obj0
= 0 ;
37493 PyObject
* obj1
= 0 ;
37494 PyObject
* obj2
= 0 ;
37495 PyObject
* obj3
= 0 ;
37496 PyObject
* obj4
= 0 ;
37497 PyObject
* obj5
= 0 ;
37498 char * kwnames
[] = {
37499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37504 if (!SWIG_IsOK(res1
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37509 if (!SWIG_IsOK(ecode2
)) {
37510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37512 arg2
= static_cast< int >(val2
);
37513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37514 if (!SWIG_IsOK(ecode3
)) {
37515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37517 arg3
= static_cast< int >(val3
);
37518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37519 if (!SWIG_IsOK(ecode4
)) {
37520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37522 arg4
= static_cast< int >(val4
);
37523 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37524 if (!SWIG_IsOK(ecode5
)) {
37525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37527 arg5
= static_cast< int >(val5
);
37528 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37529 if (!SWIG_IsOK(ecode6
)) {
37530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37532 arg6
= static_cast< double >(val6
);
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_Py_Void();
37546 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
= 0;
37548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37556 PyObject
* obj0
= 0 ;
37557 PyObject
* obj1
= 0 ;
37558 PyObject
* obj2
= 0 ;
37559 char * kwnames
[] = {
37560 (char *) "self",(char *) "r",(char *) "radius", NULL
37563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37565 if (!SWIG_IsOK(res1
)) {
37566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37568 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37571 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37573 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37574 if (!SWIG_IsOK(ecode3
)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37577 arg3
= static_cast< double >(val3
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37584 resultobj
= SWIG_Py_Void();
37591 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37592 PyObject
*resultobj
= 0;
37593 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37594 wxPoint
*arg2
= 0 ;
37603 PyObject
* obj0
= 0 ;
37604 PyObject
* obj1
= 0 ;
37605 PyObject
* obj2
= 0 ;
37606 PyObject
* obj3
= 0 ;
37607 char * kwnames
[] = {
37608 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37613 if (!SWIG_IsOK(res1
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37616 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37623 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37625 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37626 if (!SWIG_IsOK(ecode4
)) {
37627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37629 arg4
= static_cast< double >(val4
);
37631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37632 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 resultobj
= SWIG_Py_Void();
37643 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37644 PyObject
*resultobj
= 0;
37645 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37657 PyObject
* obj0
= 0 ;
37658 PyObject
* obj1
= 0 ;
37659 PyObject
* obj2
= 0 ;
37660 PyObject
* obj3
= 0 ;
37661 char * kwnames
[] = {
37662 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37667 if (!SWIG_IsOK(res1
)) {
37668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37670 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37672 if (!SWIG_IsOK(ecode2
)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37675 arg2
= static_cast< int >(val2
);
37676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37677 if (!SWIG_IsOK(ecode3
)) {
37678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37680 arg3
= static_cast< int >(val3
);
37681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37682 if (!SWIG_IsOK(ecode4
)) {
37683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37685 arg4
= static_cast< int >(val4
);
37687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37688 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37689 wxPyEndAllowThreads(__tstate
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37692 resultobj
= SWIG_Py_Void();
37699 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37700 PyObject
*resultobj
= 0;
37701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37702 wxPoint
*arg2
= 0 ;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37711 PyObject
* obj2
= 0 ;
37712 char * kwnames
[] = {
37713 (char *) "self",(char *) "pt",(char *) "radius", NULL
37716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37718 if (!SWIG_IsOK(res1
)) {
37719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37721 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37727 if (!SWIG_IsOK(ecode3
)) {
37728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37730 arg3
= static_cast< int >(val3
);
37732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37733 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37734 wxPyEndAllowThreads(__tstate
);
37735 if (PyErr_Occurred()) SWIG_fail
;
37737 resultobj
= SWIG_Py_Void();
37744 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37745 PyObject
*resultobj
= 0;
37746 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37761 PyObject
* obj0
= 0 ;
37762 PyObject
* obj1
= 0 ;
37763 PyObject
* obj2
= 0 ;
37764 PyObject
* obj3
= 0 ;
37765 PyObject
* obj4
= 0 ;
37766 char * kwnames
[] = {
37767 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37772 if (!SWIG_IsOK(res1
)) {
37773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37777 if (!SWIG_IsOK(ecode2
)) {
37778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37780 arg2
= static_cast< int >(val2
);
37781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37782 if (!SWIG_IsOK(ecode3
)) {
37783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37785 arg3
= static_cast< int >(val3
);
37786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37787 if (!SWIG_IsOK(ecode4
)) {
37788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37790 arg4
= static_cast< int >(val4
);
37791 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37792 if (!SWIG_IsOK(ecode5
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37795 arg5
= static_cast< int >(val5
);
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37799 wxPyEndAllowThreads(__tstate
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37802 resultobj
= SWIG_Py_Void();
37809 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37810 PyObject
*resultobj
= 0;
37811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37816 PyObject
* obj0
= 0 ;
37817 PyObject
* obj1
= 0 ;
37818 char * kwnames
[] = {
37819 (char *) "self",(char *) "rect", NULL
37822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37824 if (!SWIG_IsOK(res1
)) {
37825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37827 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37834 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37835 wxPyEndAllowThreads(__tstate
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37838 resultobj
= SWIG_Py_Void();
37845 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
= 0;
37847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37848 wxPoint
*arg2
= 0 ;
37854 PyObject
* obj0
= 0 ;
37855 PyObject
* obj1
= 0 ;
37856 PyObject
* obj2
= 0 ;
37857 char * kwnames
[] = {
37858 (char *) "self",(char *) "pt",(char *) "sz", NULL
37861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37863 if (!SWIG_IsOK(res1
)) {
37864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37873 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37877 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37878 wxPyEndAllowThreads(__tstate
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37881 resultobj
= SWIG_Py_Void();
37888 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37889 PyObject
*resultobj
= 0;
37890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37902 PyObject
* obj0
= 0 ;
37903 PyObject
* obj1
= 0 ;
37904 PyObject
* obj2
= 0 ;
37905 PyObject
* obj3
= 0 ;
37906 char * kwnames
[] = {
37907 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37912 if (!SWIG_IsOK(res1
)) {
37913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37915 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37917 if (!SWIG_IsOK(res2
)) {
37918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37923 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37925 if (!SWIG_IsOK(ecode3
)) {
37926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37928 arg3
= static_cast< int >(val3
);
37929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37930 if (!SWIG_IsOK(ecode4
)) {
37931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37933 arg4
= static_cast< int >(val4
);
37935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37936 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37940 resultobj
= SWIG_Py_Void();
37947 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37948 PyObject
*resultobj
= 0;
37949 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37951 wxPoint
*arg3
= 0 ;
37957 PyObject
* obj0
= 0 ;
37958 PyObject
* obj1
= 0 ;
37959 PyObject
* obj2
= 0 ;
37960 char * kwnames
[] = {
37961 (char *) "self",(char *) "icon",(char *) "pt", NULL
37964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37966 if (!SWIG_IsOK(res1
)) {
37967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37969 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37971 if (!SWIG_IsOK(res2
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37977 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37988 resultobj
= SWIG_Py_Void();
37995 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37996 PyObject
*resultobj
= 0;
37997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37998 wxBitmap
*arg2
= 0 ;
38001 bool arg5
= (bool) false ;
38012 PyObject
* obj0
= 0 ;
38013 PyObject
* obj1
= 0 ;
38014 PyObject
* obj2
= 0 ;
38015 PyObject
* obj3
= 0 ;
38016 PyObject
* obj4
= 0 ;
38017 char * kwnames
[] = {
38018 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38023 if (!SWIG_IsOK(res1
)) {
38024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38026 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38028 if (!SWIG_IsOK(res2
)) {
38029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38034 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38036 if (!SWIG_IsOK(ecode3
)) {
38037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38039 arg3
= static_cast< int >(val3
);
38040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38041 if (!SWIG_IsOK(ecode4
)) {
38042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38044 arg4
= static_cast< int >(val4
);
38046 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38047 if (!SWIG_IsOK(ecode5
)) {
38048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38050 arg5
= static_cast< bool >(val5
);
38053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38054 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38058 resultobj
= SWIG_Py_Void();
38065 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38066 PyObject
*resultobj
= 0;
38067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38068 wxBitmap
*arg2
= 0 ;
38069 wxPoint
*arg3
= 0 ;
38070 bool arg4
= (bool) false ;
38078 PyObject
* obj0
= 0 ;
38079 PyObject
* obj1
= 0 ;
38080 PyObject
* obj2
= 0 ;
38081 PyObject
* obj3
= 0 ;
38082 char * kwnames
[] = {
38083 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38088 if (!SWIG_IsOK(res1
)) {
38089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38093 if (!SWIG_IsOK(res2
)) {
38094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38099 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38105 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38106 if (!SWIG_IsOK(ecode4
)) {
38107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38109 arg4
= static_cast< bool >(val4
);
38112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38113 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38114 wxPyEndAllowThreads(__tstate
);
38115 if (PyErr_Occurred()) SWIG_fail
;
38117 resultobj
= SWIG_Py_Void();
38124 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38125 PyObject
*resultobj
= 0;
38126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38127 wxString
*arg2
= 0 ;
38132 bool temp2
= false ;
38137 PyObject
* obj0
= 0 ;
38138 PyObject
* obj1
= 0 ;
38139 PyObject
* obj2
= 0 ;
38140 PyObject
* obj3
= 0 ;
38141 char * kwnames
[] = {
38142 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38147 if (!SWIG_IsOK(res1
)) {
38148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38152 arg2
= wxString_in_helper(obj1
);
38153 if (arg2
== NULL
) SWIG_fail
;
38156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38157 if (!SWIG_IsOK(ecode3
)) {
38158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38160 arg3
= static_cast< int >(val3
);
38161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38162 if (!SWIG_IsOK(ecode4
)) {
38163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38165 arg4
= static_cast< int >(val4
);
38167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38168 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38169 wxPyEndAllowThreads(__tstate
);
38170 if (PyErr_Occurred()) SWIG_fail
;
38172 resultobj
= SWIG_Py_Void();
38187 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
= 0;
38189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38190 wxString
*arg2
= 0 ;
38191 wxPoint
*arg3
= 0 ;
38194 bool temp2
= false ;
38196 PyObject
* obj0
= 0 ;
38197 PyObject
* obj1
= 0 ;
38198 PyObject
* obj2
= 0 ;
38199 char * kwnames
[] = {
38200 (char *) "self",(char *) "text",(char *) "pt", NULL
38203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38205 if (!SWIG_IsOK(res1
)) {
38206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38210 arg2
= wxString_in_helper(obj1
);
38211 if (arg2
== NULL
) SWIG_fail
;
38216 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38220 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38221 wxPyEndAllowThreads(__tstate
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38224 resultobj
= SWIG_Py_Void();
38239 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38240 PyObject
*resultobj
= 0;
38241 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38242 wxString
*arg2
= 0 ;
38248 bool temp2
= false ;
38255 PyObject
* obj0
= 0 ;
38256 PyObject
* obj1
= 0 ;
38257 PyObject
* obj2
= 0 ;
38258 PyObject
* obj3
= 0 ;
38259 PyObject
* obj4
= 0 ;
38260 char * kwnames
[] = {
38261 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38266 if (!SWIG_IsOK(res1
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38271 arg2
= wxString_in_helper(obj1
);
38272 if (arg2
== NULL
) SWIG_fail
;
38275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38276 if (!SWIG_IsOK(ecode3
)) {
38277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38279 arg3
= static_cast< int >(val3
);
38280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38281 if (!SWIG_IsOK(ecode4
)) {
38282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38284 arg4
= static_cast< int >(val4
);
38285 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38286 if (!SWIG_IsOK(ecode5
)) {
38287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38289 arg5
= static_cast< double >(val5
);
38291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38292 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38296 resultobj
= SWIG_Py_Void();
38311 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38312 PyObject
*resultobj
= 0;
38313 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38314 wxString
*arg2
= 0 ;
38315 wxPoint
*arg3
= 0 ;
38319 bool temp2
= false ;
38323 PyObject
* obj0
= 0 ;
38324 PyObject
* obj1
= 0 ;
38325 PyObject
* obj2
= 0 ;
38326 PyObject
* obj3
= 0 ;
38327 char * kwnames
[] = {
38328 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38333 if (!SWIG_IsOK(res1
)) {
38334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38336 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38338 arg2
= wxString_in_helper(obj1
);
38339 if (arg2
== NULL
) SWIG_fail
;
38344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38346 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38347 if (!SWIG_IsOK(ecode4
)) {
38348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38350 arg4
= static_cast< double >(val4
);
38352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38353 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38354 wxPyEndAllowThreads(__tstate
);
38355 if (PyErr_Occurred()) SWIG_fail
;
38357 resultobj
= SWIG_Py_Void();
38372 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38373 PyObject
*resultobj
= 0;
38374 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38376 wxPoint
*arg3
= (wxPoint
*) 0 ;
38377 int arg4
= (int) 0 ;
38378 int arg5
= (int) 0 ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 PyObject
* obj2
= 0 ;
38388 PyObject
* obj3
= 0 ;
38389 char * kwnames
[] = {
38390 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38395 if (!SWIG_IsOK(res1
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38400 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38401 if (arg3
== NULL
) SWIG_fail
;
38404 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38405 if (!SWIG_IsOK(ecode4
)) {
38406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38408 arg4
= static_cast< int >(val4
);
38411 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38412 if (!SWIG_IsOK(ecode5
)) {
38413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38415 arg5
= static_cast< int >(val5
);
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38420 wxPyEndAllowThreads(__tstate
);
38421 if (PyErr_Occurred()) SWIG_fail
;
38423 resultobj
= SWIG_Py_Void();
38425 if (arg3
) delete [] arg3
;
38430 if (arg3
) delete [] arg3
;
38436 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
= 0;
38438 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38440 wxPoint
*arg3
= (wxPoint
*) 0 ;
38441 int arg4
= (int) 0 ;
38442 int arg5
= (int) 0 ;
38443 int arg6
= (int) wxODDEVEN_RULE
;
38452 PyObject
* obj0
= 0 ;
38453 PyObject
* obj1
= 0 ;
38454 PyObject
* obj2
= 0 ;
38455 PyObject
* obj3
= 0 ;
38456 PyObject
* obj4
= 0 ;
38457 char * kwnames
[] = {
38458 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38463 if (!SWIG_IsOK(res1
)) {
38464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38468 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38469 if (arg3
== NULL
) SWIG_fail
;
38472 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38473 if (!SWIG_IsOK(ecode4
)) {
38474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38476 arg4
= static_cast< int >(val4
);
38479 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38480 if (!SWIG_IsOK(ecode5
)) {
38481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38483 arg5
= static_cast< int >(val5
);
38486 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38487 if (!SWIG_IsOK(ecode6
)) {
38488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38490 arg6
= static_cast< int >(val6
);
38493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38494 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38495 wxPyEndAllowThreads(__tstate
);
38496 if (PyErr_Occurred()) SWIG_fail
;
38498 resultobj
= SWIG_Py_Void();
38500 if (arg3
) delete [] arg3
;
38505 if (arg3
) delete [] arg3
;
38511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38512 PyObject
*resultobj
= 0;
38513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38514 wxString
*arg2
= 0 ;
38516 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38517 int arg5
= (int) -1 ;
38520 bool temp2
= false ;
38526 PyObject
* obj0
= 0 ;
38527 PyObject
* obj1
= 0 ;
38528 PyObject
* obj2
= 0 ;
38529 PyObject
* obj3
= 0 ;
38530 PyObject
* obj4
= 0 ;
38531 char * kwnames
[] = {
38532 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38537 if (!SWIG_IsOK(res1
)) {
38538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38542 arg2
= wxString_in_helper(obj1
);
38543 if (arg2
== NULL
) SWIG_fail
;
38548 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38552 if (!SWIG_IsOK(ecode4
)) {
38553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38555 arg4
= static_cast< int >(val4
);
38558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38559 if (!SWIG_IsOK(ecode5
)) {
38560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38562 arg5
= static_cast< int >(val5
);
38565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38566 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38567 wxPyEndAllowThreads(__tstate
);
38568 if (PyErr_Occurred()) SWIG_fail
;
38570 resultobj
= SWIG_Py_Void();
38585 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38586 PyObject
*resultobj
= 0;
38587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38588 wxString
*arg2
= 0 ;
38589 wxBitmap
*arg3
= 0 ;
38591 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38592 int arg6
= (int) -1 ;
38595 bool temp2
= false ;
38603 PyObject
* obj0
= 0 ;
38604 PyObject
* obj1
= 0 ;
38605 PyObject
* obj2
= 0 ;
38606 PyObject
* obj3
= 0 ;
38607 PyObject
* obj4
= 0 ;
38608 PyObject
* obj5
= 0 ;
38609 char * kwnames
[] = {
38610 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38615 if (!SWIG_IsOK(res1
)) {
38616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38618 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38620 arg2
= wxString_in_helper(obj1
);
38621 if (arg2
== NULL
) SWIG_fail
;
38624 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38625 if (!SWIG_IsOK(res3
)) {
38626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38631 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38634 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38638 if (!SWIG_IsOK(ecode5
)) {
38639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38641 arg5
= static_cast< int >(val5
);
38644 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38645 if (!SWIG_IsOK(ecode6
)) {
38646 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38648 arg6
= static_cast< int >(val6
);
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38653 wxPyEndAllowThreads(__tstate
);
38654 if (PyErr_Occurred()) SWIG_fail
;
38656 resultobj
= SWIG_Py_Void();
38671 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38672 PyObject
*resultobj
= 0;
38673 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38675 wxPoint
*arg3
= (wxPoint
*) 0 ;
38678 PyObject
* obj0
= 0 ;
38679 PyObject
* obj1
= 0 ;
38680 char * kwnames
[] = {
38681 (char *) "self",(char *) "points", NULL
38684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38686 if (!SWIG_IsOK(res1
)) {
38687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38691 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38692 if (arg3
== NULL
) SWIG_fail
;
38695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38696 (arg1
)->DrawSpline(arg2
,arg3
);
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38700 resultobj
= SWIG_Py_Void();
38702 if (arg3
) delete [] arg3
;
38707 if (arg3
) delete [] arg3
;
38713 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38714 PyObject
*resultobj
= 0;
38715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38718 PyObject
*swig_obj
[1] ;
38720 if (!args
) SWIG_fail
;
38721 swig_obj
[0] = args
;
38722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38723 if (!SWIG_IsOK(res1
)) {
38724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 wxPyEndAllowThreads(__tstate
);
38731 if (PyErr_Occurred()) SWIG_fail
;
38733 resultobj
= SWIG_Py_Void();
38740 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38741 PyObject
*resultobj
= 0;
38742 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38748 PyObject
* obj0
= 0 ;
38749 PyObject
* obj1
= 0 ;
38750 char * kwnames
[] = {
38751 (char *) "self",(char *) "font", NULL
38754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38756 if (!SWIG_IsOK(res1
)) {
38757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38761 if (!SWIG_IsOK(res2
)) {
38762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38767 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 (arg1
)->SetFont((wxFont
const &)*arg2
);
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38774 resultobj
= SWIG_Py_Void();
38781 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38782 PyObject
*resultobj
= 0;
38783 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38789 PyObject
* obj0
= 0 ;
38790 PyObject
* obj1
= 0 ;
38791 char * kwnames
[] = {
38792 (char *) "self",(char *) "pen", NULL
38795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38797 if (!SWIG_IsOK(res1
)) {
38798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38800 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38802 if (!SWIG_IsOK(res2
)) {
38803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38808 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38811 (arg1
)->SetPen((wxPen
const &)*arg2
);
38812 wxPyEndAllowThreads(__tstate
);
38813 if (PyErr_Occurred()) SWIG_fail
;
38815 resultobj
= SWIG_Py_Void();
38822 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38823 PyObject
*resultobj
= 0;
38824 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38825 wxBrush
*arg2
= 0 ;
38830 PyObject
* obj0
= 0 ;
38831 PyObject
* obj1
= 0 ;
38832 char * kwnames
[] = {
38833 (char *) "self",(char *) "brush", NULL
38836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38838 if (!SWIG_IsOK(res1
)) {
38839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38843 if (!SWIG_IsOK(res2
)) {
38844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38849 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38852 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38853 wxPyEndAllowThreads(__tstate
);
38854 if (PyErr_Occurred()) SWIG_fail
;
38856 resultobj
= SWIG_Py_Void();
38863 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38864 PyObject
*resultobj
= 0;
38865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38866 wxBrush
*arg2
= 0 ;
38871 PyObject
* obj0
= 0 ;
38872 PyObject
* obj1
= 0 ;
38873 char * kwnames
[] = {
38874 (char *) "self",(char *) "brush", NULL
38877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38879 if (!SWIG_IsOK(res1
)) {
38880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38884 if (!SWIG_IsOK(res2
)) {
38885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38890 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38893 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38894 wxPyEndAllowThreads(__tstate
);
38895 if (PyErr_Occurred()) SWIG_fail
;
38897 resultobj
= SWIG_Py_Void();
38904 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38905 PyObject
*resultobj
= 0;
38906 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38912 PyObject
* obj0
= 0 ;
38913 PyObject
* obj1
= 0 ;
38914 char * kwnames
[] = {
38915 (char *) "self",(char *) "mode", NULL
38918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38920 if (!SWIG_IsOK(res1
)) {
38921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38923 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38925 if (!SWIG_IsOK(ecode2
)) {
38926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38928 arg2
= static_cast< int >(val2
);
38930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38931 (arg1
)->SetBackgroundMode(arg2
);
38932 wxPyEndAllowThreads(__tstate
);
38933 if (PyErr_Occurred()) SWIG_fail
;
38935 resultobj
= SWIG_Py_Void();
38942 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38943 PyObject
*resultobj
= 0;
38944 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38945 wxPalette
*arg2
= 0 ;
38950 PyObject
* obj0
= 0 ;
38951 PyObject
* obj1
= 0 ;
38952 char * kwnames
[] = {
38953 (char *) "self",(char *) "palette", NULL
38956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38958 if (!SWIG_IsOK(res1
)) {
38959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38961 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38963 if (!SWIG_IsOK(res2
)) {
38964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38969 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38972 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38973 wxPyEndAllowThreads(__tstate
);
38974 if (PyErr_Occurred()) SWIG_fail
;
38976 resultobj
= SWIG_Py_Void();
38983 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
= 0;
38985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38986 wxColour
*arg2
= 0 ;
38990 PyObject
* obj0
= 0 ;
38991 PyObject
* obj1
= 0 ;
38992 char * kwnames
[] = {
38993 (char *) "self",(char *) "colour", NULL
38996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38998 if (!SWIG_IsOK(res1
)) {
38999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39001 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39009 wxPyEndAllowThreads(__tstate
);
39010 if (PyErr_Occurred()) SWIG_fail
;
39012 resultobj
= SWIG_Py_Void();
39019 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39020 PyObject
*resultobj
= 0;
39021 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39022 wxColour
*arg2
= 0 ;
39026 PyObject
* obj0
= 0 ;
39027 PyObject
* obj1
= 0 ;
39028 char * kwnames
[] = {
39029 (char *) "self",(char *) "colour", NULL
39032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39034 if (!SWIG_IsOK(res1
)) {
39035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39040 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39044 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39045 wxPyEndAllowThreads(__tstate
);
39046 if (PyErr_Occurred()) SWIG_fail
;
39048 resultobj
= SWIG_Py_Void();
39055 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39056 PyObject
*resultobj
= 0;
39057 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39063 PyObject
* obj0
= 0 ;
39064 PyObject
* obj1
= 0 ;
39065 char * kwnames
[] = {
39066 (char *) "self",(char *) "function", NULL
39069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39071 if (!SWIG_IsOK(res1
)) {
39072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39076 if (!SWIG_IsOK(ecode2
)) {
39077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39079 arg2
= static_cast< int >(val2
);
39081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 (arg1
)->SetLogicalFunction(arg2
);
39083 wxPyEndAllowThreads(__tstate
);
39084 if (PyErr_Occurred()) SWIG_fail
;
39086 resultobj
= SWIG_Py_Void();
39093 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39096 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39097 return SWIG_Py_Void();
39100 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39101 return SWIG_Python_InitShadowInstance(args
);
39104 static PyMethodDef SwigMethods
[] = {
39105 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39106 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39107 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39108 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39109 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39110 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39114 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39115 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39116 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39117 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39118 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39119 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39124 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39128 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39129 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39130 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39132 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39135 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39136 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39137 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39138 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39140 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39141 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39142 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39143 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39144 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39145 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39146 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39153 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39155 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39156 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39160 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39161 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39164 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39168 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39169 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39170 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39171 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39172 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39173 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39174 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39176 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39182 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39184 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39185 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39186 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39187 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39188 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39189 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39190 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39196 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39208 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39209 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39213 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39214 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39215 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39216 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39217 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39218 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39219 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39220 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39221 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39222 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39223 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39224 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39225 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39226 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39227 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39229 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39230 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39236 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39237 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39238 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39239 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39240 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39241 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39242 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39243 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39244 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39245 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39246 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39247 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39249 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39250 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39256 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39257 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39258 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39260 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39261 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39262 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39264 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39265 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39270 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39272 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39273 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39274 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39275 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39281 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39282 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39284 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39285 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39287 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39289 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39290 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39291 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39292 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39295 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39299 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39300 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39302 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39305 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39307 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39308 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39309 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39310 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39315 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39316 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39321 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39322 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39328 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39332 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39343 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39346 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39347 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39349 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39350 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39351 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39352 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39353 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39354 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39355 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39356 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39357 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39358 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39359 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39360 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39361 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39362 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39363 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39364 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39365 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39367 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39368 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39369 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39370 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39371 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39372 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39373 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39374 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39384 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39385 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39387 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39388 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39389 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39390 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39391 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39392 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39393 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39394 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39395 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39397 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39398 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39399 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39402 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39403 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39404 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39407 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39413 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39418 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39419 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39421 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39427 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39430 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39431 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39432 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39433 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39434 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39435 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39436 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39437 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39438 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39439 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39440 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39441 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39442 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39454 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39455 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39456 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39458 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39459 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39461 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39462 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39463 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39464 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39468 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39469 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39471 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39472 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39473 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39474 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39475 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39476 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39477 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39478 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39479 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39481 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39484 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39485 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39486 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39487 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39488 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39489 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39490 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39491 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39501 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39502 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39503 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39505 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39509 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39510 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39511 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39512 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39513 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39514 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39520 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39521 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39522 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39572 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39574 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39575 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39576 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39583 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39584 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39585 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39586 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39587 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39592 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39593 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39594 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39595 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39604 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39605 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39606 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39607 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39608 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39609 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39610 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39611 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39612 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39613 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39614 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39615 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39618 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39620 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39622 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39624 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39625 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39628 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39629 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39633 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39635 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39638 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39639 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39640 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39641 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39642 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39643 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39644 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39646 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39653 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39655 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39656 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39657 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39659 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39660 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39661 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39663 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39664 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39665 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39666 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39667 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39668 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39669 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39674 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39675 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39676 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39679 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39680 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39681 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39683 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39684 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39686 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39687 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39689 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39690 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39691 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39692 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39693 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39695 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39696 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39697 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39699 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39700 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39702 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39703 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39706 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39707 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39709 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39712 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39713 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39714 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39716 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39717 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39719 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39720 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39721 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39722 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39723 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39724 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39726 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39727 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39728 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39730 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39731 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39733 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39734 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39735 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39736 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39737 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39738 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39739 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39740 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39741 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39742 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39743 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39744 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39745 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39746 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39747 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39748 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39749 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39750 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39751 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39755 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39757 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39763 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39764 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39765 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39766 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39767 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39768 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39769 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39770 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39772 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39773 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39774 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39781 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39784 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39785 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39786 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39787 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39788 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39789 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39792 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39799 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39800 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39803 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39804 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39810 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39811 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39812 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39813 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39831 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39832 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39833 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39834 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39835 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39838 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39845 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39847 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39848 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39850 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39851 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39852 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39853 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39854 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39855 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39856 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39857 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39858 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39859 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39860 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39861 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39863 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39871 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39873 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39875 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39876 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39877 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39878 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39879 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39880 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39886 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39887 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39888 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39889 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39890 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39891 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39895 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39899 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39903 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39904 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39905 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39910 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39911 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39912 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39913 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39914 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39915 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39916 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39917 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39918 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39919 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39920 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39921 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39930 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39931 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39933 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39934 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39935 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39936 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39937 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39938 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39939 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39940 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39941 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39942 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39943 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39944 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39945 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39946 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39947 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39948 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39949 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39950 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39951 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39952 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39953 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39954 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39955 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39956 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39958 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39960 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39961 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39962 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39963 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39976 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39977 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39978 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39980 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39981 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39982 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39983 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39984 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39985 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39986 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39987 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40012 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40028 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40040 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40050 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40051 { NULL
, NULL
, 0, NULL
}
40055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40057 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40058 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40060 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40061 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40063 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40064 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40066 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40067 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40069 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40070 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40072 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40073 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40075 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40076 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40078 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40079 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40081 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40082 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40084 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40085 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40087 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40088 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40090 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40091 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40093 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40094 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40096 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40097 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40099 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40100 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40102 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40103 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40105 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40106 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40108 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40109 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40111 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40112 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40114 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40115 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40117 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40118 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40120 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40121 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40123 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40124 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40126 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40127 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40129 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40130 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
40132 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40133 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40135 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40136 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40138 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40139 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40141 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40142 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40144 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40145 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40147 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40148 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40150 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40151 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40153 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40154 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40156 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40157 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40159 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40160 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40162 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40163 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40165 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40166 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40168 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40169 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40171 static void *_p_wxPenTo_p_wxObject(void *x
) {
40172 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40174 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40175 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40177 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40178 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40180 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40181 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40183 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40184 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40186 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40187 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40189 static void *_p_wxIconTo_p_wxObject(void *x
) {
40190 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40192 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40193 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40195 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40196 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40198 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40199 return (void *)((wxObject
*) ((wxSizer
*) x
));
40201 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40202 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40204 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40207 static void *_p_wxEventTo_p_wxObject(void *x
) {
40208 return (void *)((wxObject
*) ((wxEvent
*) x
));
40210 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40211 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40213 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40214 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40216 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40217 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40219 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40220 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40222 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40225 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40226 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40228 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40229 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40231 static void *_p_wxDCTo_p_wxObject(void *x
) {
40232 return (void *)((wxObject
*) ((wxDC
*) x
));
40234 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40235 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40237 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40238 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40240 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40241 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40243 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40244 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40246 static void *_p_wxControlTo_p_wxObject(void *x
) {
40247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40249 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40250 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40252 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40253 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40255 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40256 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40258 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40259 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40261 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40262 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
40264 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40265 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40267 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40268 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40270 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40271 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40273 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40274 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40276 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40277 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40279 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40280 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40282 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40283 return (void *)((wxObject
*) ((wxEffects
*) x
));
40285 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40286 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40288 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40291 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40292 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40294 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40295 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40297 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40298 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40300 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40301 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40303 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40306 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40307 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40309 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40312 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40313 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40315 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40316 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40318 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40319 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40321 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40322 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40324 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40325 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40327 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40328 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40330 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40333 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40336 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40339 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40342 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40345 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40346 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40348 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40349 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40351 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40352 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40354 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40357 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40360 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40361 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40363 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40366 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40369 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40372 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40373 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40375 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40376 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40378 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40379 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40381 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40382 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40384 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40385 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40387 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40388 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40390 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40391 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40393 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40394 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40396 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40397 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40399 static void *_p_wxImageTo_p_wxObject(void *x
) {
40400 return (void *)((wxObject
*) ((wxImage
*) x
));
40402 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40403 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40405 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40406 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40408 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40409 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40411 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40412 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40414 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40415 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40417 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40418 return (void *)((wxObject
*) ((wxImageList
*) x
));
40420 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40421 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40423 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40424 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40426 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40427 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40429 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40430 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40432 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40433 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40435 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40438 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40441 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40444 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40445 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40447 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40448 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40450 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40453 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40454 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40456 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40457 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40459 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40460 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40462 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40463 return (void *)((wxObject
*) ((wxMask
*) x
));
40465 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40466 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40468 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40471 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40472 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40474 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40475 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40477 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40478 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40480 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40481 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40483 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40484 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40486 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40489 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40490 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40492 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40493 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40495 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40496 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40498 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40501 static void *_p_wxFontTo_p_wxObject(void *x
) {
40502 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40504 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40505 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40507 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40508 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40510 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40513 static void *_p_wxColourTo_p_wxObject(void *x
) {
40514 return (void *)((wxObject
*) ((wxColour
*) x
));
40516 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40519 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40522 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40523 return (void *)((wxWindow
*) ((wxControl
*) x
));
40525 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40526 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40528 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40529 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40531 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40532 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40534 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40535 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40537 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40538 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40539 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40540 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};
40541 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40542 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40543 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40544 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40545 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40546 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40547 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40548 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40549 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40550 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40551 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40552 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40553 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40554 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40555 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40556 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40557 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40558 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40559 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40560 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40561 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40562 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40563 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40564 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40565 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40566 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40567 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40568 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40569 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40570 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40571 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40572 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40573 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40574 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40575 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40576 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40577 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40578 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40579 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40580 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40581 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40582 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40583 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40584 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40585 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40586 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40587 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40588 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40589 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40590 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40591 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40592 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40593 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40594 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40595 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40596 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40597 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40598 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40599 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40600 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40601 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40602 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40603 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40604 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40605 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40606 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40607 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40608 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40609 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40610 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40611 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40612 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40613 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40614 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40615 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40616 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40617 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40618 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40619 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40620 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40621 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40622 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40623 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40624 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40625 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40626 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40627 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40628 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40629 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40630 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40631 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40632 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40633 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40634 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40635 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40636 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40637 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40638 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40639 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40640 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40641 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40642 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40643 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40644 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40645 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40646 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40647 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40648 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40649 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40650 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40651 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40652 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40653 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40654 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40655 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40656 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40657 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40658 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40659 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40660 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40661 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40662 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40663 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40664 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40665 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40666 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40667 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40668 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40669 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40670 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40671 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40672 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40673 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40674 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40675 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40676 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40677 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40678 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40679 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40680 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40681 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40682 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40683 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40684 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40685 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40686 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40687 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40688 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40689 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40690 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40691 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40692 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40693 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40694 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40695 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40696 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40697 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40698 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40699 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40700 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40701 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40702 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40703 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40709 static swig_type_info
*swig_type_initial
[] = {
40713 &_swigt__p_form_ops_t
,
40715 &_swigt__p_unsigned_char
,
40716 &_swigt__p_unsigned_int
,
40717 &_swigt__p_unsigned_long
,
40719 &_swigt__p_wxANIHandler
,
40720 &_swigt__p_wxAcceleratorTable
,
40721 &_swigt__p_wxActivateEvent
,
40722 &_swigt__p_wxAlphaPixelData
,
40723 &_swigt__p_wxAlphaPixelData_Accessor
,
40724 &_swigt__p_wxAutoBufferedPaintDC
,
40725 &_swigt__p_wxBMPHandler
,
40726 &_swigt__p_wxBitmap
,
40727 &_swigt__p_wxBoxSizer
,
40728 &_swigt__p_wxBrush
,
40729 &_swigt__p_wxBrushList
,
40730 &_swigt__p_wxBufferedDC
,
40731 &_swigt__p_wxBufferedPaintDC
,
40732 &_swigt__p_wxCURHandler
,
40734 &_swigt__p_wxChildFocusEvent
,
40735 &_swigt__p_wxClientDC
,
40736 &_swigt__p_wxClipboardTextEvent
,
40737 &_swigt__p_wxCloseEvent
,
40738 &_swigt__p_wxColor
,
40739 &_swigt__p_wxColour
,
40740 &_swigt__p_wxColourDatabase
,
40741 &_swigt__p_wxCommandEvent
,
40742 &_swigt__p_wxContextMenuEvent
,
40743 &_swigt__p_wxControl
,
40744 &_swigt__p_wxControlWithItems
,
40745 &_swigt__p_wxCursor
,
40747 &_swigt__p_wxDCBrushChanger
,
40748 &_swigt__p_wxDCClipper
,
40749 &_swigt__p_wxDCOverlay
,
40750 &_swigt__p_wxDCPenChanger
,
40751 &_swigt__p_wxDCTextColourChanger
,
40753 &_swigt__p_wxDateEvent
,
40754 &_swigt__p_wxDisplayChangedEvent
,
40755 &_swigt__p_wxDropFilesEvent
,
40756 &_swigt__p_wxDuplexMode
,
40757 &_swigt__p_wxEffects
,
40758 &_swigt__p_wxEncodingConverter
,
40759 &_swigt__p_wxEraseEvent
,
40760 &_swigt__p_wxEvent
,
40761 &_swigt__p_wxEvtHandler
,
40762 &_swigt__p_wxFSFile
,
40763 &_swigt__p_wxFileSystem
,
40764 &_swigt__p_wxFlexGridSizer
,
40765 &_swigt__p_wxFocusEvent
,
40767 &_swigt__p_wxFontList
,
40768 &_swigt__p_wxFontMapper
,
40769 &_swigt__p_wxGBSizerItem
,
40771 &_swigt__p_wxGDIObjListBase
,
40772 &_swigt__p_wxGDIObject
,
40773 &_swigt__p_wxGIFHandler
,
40774 &_swigt__p_wxGraphicsBrush
,
40775 &_swigt__p_wxGraphicsContext
,
40776 &_swigt__p_wxGraphicsFont
,
40777 &_swigt__p_wxGraphicsMatrix
,
40778 &_swigt__p_wxGraphicsObject
,
40779 &_swigt__p_wxGraphicsPath
,
40780 &_swigt__p_wxGraphicsPen
,
40781 &_swigt__p_wxGraphicsRenderer
,
40782 &_swigt__p_wxGridBagSizer
,
40783 &_swigt__p_wxGridSizer
,
40784 &_swigt__p_wxHeaderButtonParams
,
40785 &_swigt__p_wxICOHandler
,
40787 &_swigt__p_wxIconBundle
,
40788 &_swigt__p_wxIconLocation
,
40789 &_swigt__p_wxIconizeEvent
,
40790 &_swigt__p_wxIdleEvent
,
40791 &_swigt__p_wxImage
,
40792 &_swigt__p_wxImageHandler
,
40793 &_swigt__p_wxImageList
,
40794 &_swigt__p_wxIndividualLayoutConstraint
,
40795 &_swigt__p_wxInitDialogEvent
,
40796 &_swigt__p_wxJPEGHandler
,
40797 &_swigt__p_wxKeyEvent
,
40798 &_swigt__p_wxLanguageInfo
,
40799 &_swigt__p_wxLayoutConstraints
,
40800 &_swigt__p_wxLocale
,
40802 &_swigt__p_wxMaximizeEvent
,
40803 &_swigt__p_wxMemoryDC
,
40805 &_swigt__p_wxMenuBar
,
40806 &_swigt__p_wxMenuEvent
,
40807 &_swigt__p_wxMenuItem
,
40808 &_swigt__p_wxMetaFile
,
40809 &_swigt__p_wxMetaFileDC
,
40810 &_swigt__p_wxMirrorDC
,
40811 &_swigt__p_wxMouseCaptureChangedEvent
,
40812 &_swigt__p_wxMouseCaptureLostEvent
,
40813 &_swigt__p_wxMouseEvent
,
40814 &_swigt__p_wxMoveEvent
,
40815 &_swigt__p_wxNativeEncodingInfo
,
40816 &_swigt__p_wxNativeFontInfo
,
40817 &_swigt__p_wxNativePixelData
,
40818 &_swigt__p_wxNativePixelData_Accessor
,
40819 &_swigt__p_wxNavigationKeyEvent
,
40820 &_swigt__p_wxNcPaintEvent
,
40821 &_swigt__p_wxNotifyEvent
,
40822 &_swigt__p_wxObject
,
40823 &_swigt__p_wxOverlay
,
40824 &_swigt__p_wxPCXHandler
,
40825 &_swigt__p_wxPNGHandler
,
40826 &_swigt__p_wxPNMHandler
,
40827 &_swigt__p_wxPaintDC
,
40828 &_swigt__p_wxPaintEvent
,
40829 &_swigt__p_wxPalette
,
40830 &_swigt__p_wxPaletteChangedEvent
,
40831 &_swigt__p_wxPaperSize
,
40833 &_swigt__p_wxPenList
,
40834 &_swigt__p_wxPixelDataBase
,
40835 &_swigt__p_wxPoint
,
40836 &_swigt__p_wxPoint2D
,
40837 &_swigt__p_wxPoint2DDouble
,
40838 &_swigt__p_wxPostScriptDC
,
40839 &_swigt__p_wxPrintData
,
40840 &_swigt__p_wxPrinterDC
,
40841 &_swigt__p_wxPseudoDC
,
40842 &_swigt__p_wxPyApp
,
40843 &_swigt__p_wxPyCommandEvent
,
40844 &_swigt__p_wxPyEvent
,
40845 &_swigt__p_wxPyFontEnumerator
,
40846 &_swigt__p_wxPyImageHandler
,
40847 &_swigt__p_wxPyLocale
,
40848 &_swigt__p_wxPySizer
,
40849 &_swigt__p_wxPyValidator
,
40850 &_swigt__p_wxQueryNewPaletteEvent
,
40852 &_swigt__p_wxRect2DDouble
,
40853 &_swigt__p_wxRegion
,
40854 &_swigt__p_wxRegionIterator
,
40855 &_swigt__p_wxRendererNative
,
40856 &_swigt__p_wxRendererVersion
,
40857 &_swigt__p_wxScreenDC
,
40858 &_swigt__p_wxScrollEvent
,
40859 &_swigt__p_wxScrollWinEvent
,
40860 &_swigt__p_wxSetCursorEvent
,
40861 &_swigt__p_wxShowEvent
,
40863 &_swigt__p_wxSizeEvent
,
40864 &_swigt__p_wxSizer
,
40865 &_swigt__p_wxSizerItem
,
40866 &_swigt__p_wxSplitterRenderParams
,
40867 &_swigt__p_wxStaticBoxSizer
,
40868 &_swigt__p_wxStdDialogButtonSizer
,
40869 &_swigt__p_wxStockGDI
,
40870 &_swigt__p_wxString
,
40871 &_swigt__p_wxSysColourChangedEvent
,
40872 &_swigt__p_wxTGAHandler
,
40873 &_swigt__p_wxTIFFHandler
,
40874 &_swigt__p_wxUpdateUIEvent
,
40875 &_swigt__p_wxValidator
,
40876 &_swigt__p_wxWindow
,
40877 &_swigt__p_wxWindowCreateEvent
,
40878 &_swigt__p_wxWindowDC
,
40879 &_swigt__p_wxWindowDestroyEvent
,
40880 &_swigt__p_wxXPMHandler
,
40883 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40884 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40885 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40886 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40887 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40888 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40889 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40890 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40891 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40892 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40893 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40894 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40895 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40896 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40897 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40898 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}};
40899 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40900 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40901 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}};
40902 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40903 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40904 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40905 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40906 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}};
40907 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40908 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40909 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40910 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40911 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40912 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40913 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40914 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40915 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40916 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40917 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40918 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40919 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40920 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}};
40921 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}};
40922 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40923 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40924 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40925 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40926 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}};
40927 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40928 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40929 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40930 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40931 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40932 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40933 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40934 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40935 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40936 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40937 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}};
40938 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40939 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}};
40940 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40941 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40942 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40943 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40944 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40945 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40946 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40947 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40948 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40949 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40950 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40951 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40952 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40953 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40954 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40955 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40956 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40957 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40958 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40959 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40960 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40961 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40962 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40963 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40964 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40965 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40966 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40967 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40968 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40969 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40970 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40971 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40972 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40973 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40974 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40975 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40976 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40977 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40978 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40979 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40980 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40981 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40982 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40983 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40984 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40985 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40986 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40987 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40988 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40989 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40990 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40991 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40992 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40993 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40994 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40995 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40996 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40997 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40998 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40999 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41000 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41001 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41002 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41003 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41004 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41005 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41006 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41007 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41008 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41009 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41010 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41011 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41012 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41013 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41014 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41015 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41016 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41018 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41019 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41020 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41021 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41022 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41023 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41024 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
41025 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41026 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41027 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41028 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41029 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41030 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41031 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}};
41032 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41033 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41034 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41035 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41036 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41037 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41038 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41039 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41046 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41047 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41048 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41049 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41050 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41051 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41052 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}};
41053 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info
*swig_cast_initial
[] = {
41059 _swigc__p_form_ops_t
,
41061 _swigc__p_unsigned_char
,
41062 _swigc__p_unsigned_int
,
41063 _swigc__p_unsigned_long
,
41065 _swigc__p_wxANIHandler
,
41066 _swigc__p_wxAcceleratorTable
,
41067 _swigc__p_wxActivateEvent
,
41068 _swigc__p_wxAlphaPixelData
,
41069 _swigc__p_wxAlphaPixelData_Accessor
,
41070 _swigc__p_wxAutoBufferedPaintDC
,
41071 _swigc__p_wxBMPHandler
,
41072 _swigc__p_wxBitmap
,
41073 _swigc__p_wxBoxSizer
,
41075 _swigc__p_wxBrushList
,
41076 _swigc__p_wxBufferedDC
,
41077 _swigc__p_wxBufferedPaintDC
,
41078 _swigc__p_wxCURHandler
,
41080 _swigc__p_wxChildFocusEvent
,
41081 _swigc__p_wxClientDC
,
41082 _swigc__p_wxClipboardTextEvent
,
41083 _swigc__p_wxCloseEvent
,
41085 _swigc__p_wxColour
,
41086 _swigc__p_wxColourDatabase
,
41087 _swigc__p_wxCommandEvent
,
41088 _swigc__p_wxContextMenuEvent
,
41089 _swigc__p_wxControl
,
41090 _swigc__p_wxControlWithItems
,
41091 _swigc__p_wxCursor
,
41093 _swigc__p_wxDCBrushChanger
,
41094 _swigc__p_wxDCClipper
,
41095 _swigc__p_wxDCOverlay
,
41096 _swigc__p_wxDCPenChanger
,
41097 _swigc__p_wxDCTextColourChanger
,
41099 _swigc__p_wxDateEvent
,
41100 _swigc__p_wxDisplayChangedEvent
,
41101 _swigc__p_wxDropFilesEvent
,
41102 _swigc__p_wxDuplexMode
,
41103 _swigc__p_wxEffects
,
41104 _swigc__p_wxEncodingConverter
,
41105 _swigc__p_wxEraseEvent
,
41107 _swigc__p_wxEvtHandler
,
41108 _swigc__p_wxFSFile
,
41109 _swigc__p_wxFileSystem
,
41110 _swigc__p_wxFlexGridSizer
,
41111 _swigc__p_wxFocusEvent
,
41113 _swigc__p_wxFontList
,
41114 _swigc__p_wxFontMapper
,
41115 _swigc__p_wxGBSizerItem
,
41117 _swigc__p_wxGDIObjListBase
,
41118 _swigc__p_wxGDIObject
,
41119 _swigc__p_wxGIFHandler
,
41120 _swigc__p_wxGraphicsBrush
,
41121 _swigc__p_wxGraphicsContext
,
41122 _swigc__p_wxGraphicsFont
,
41123 _swigc__p_wxGraphicsMatrix
,
41124 _swigc__p_wxGraphicsObject
,
41125 _swigc__p_wxGraphicsPath
,
41126 _swigc__p_wxGraphicsPen
,
41127 _swigc__p_wxGraphicsRenderer
,
41128 _swigc__p_wxGridBagSizer
,
41129 _swigc__p_wxGridSizer
,
41130 _swigc__p_wxHeaderButtonParams
,
41131 _swigc__p_wxICOHandler
,
41133 _swigc__p_wxIconBundle
,
41134 _swigc__p_wxIconLocation
,
41135 _swigc__p_wxIconizeEvent
,
41136 _swigc__p_wxIdleEvent
,
41138 _swigc__p_wxImageHandler
,
41139 _swigc__p_wxImageList
,
41140 _swigc__p_wxIndividualLayoutConstraint
,
41141 _swigc__p_wxInitDialogEvent
,
41142 _swigc__p_wxJPEGHandler
,
41143 _swigc__p_wxKeyEvent
,
41144 _swigc__p_wxLanguageInfo
,
41145 _swigc__p_wxLayoutConstraints
,
41146 _swigc__p_wxLocale
,
41148 _swigc__p_wxMaximizeEvent
,
41149 _swigc__p_wxMemoryDC
,
41151 _swigc__p_wxMenuBar
,
41152 _swigc__p_wxMenuEvent
,
41153 _swigc__p_wxMenuItem
,
41154 _swigc__p_wxMetaFile
,
41155 _swigc__p_wxMetaFileDC
,
41156 _swigc__p_wxMirrorDC
,
41157 _swigc__p_wxMouseCaptureChangedEvent
,
41158 _swigc__p_wxMouseCaptureLostEvent
,
41159 _swigc__p_wxMouseEvent
,
41160 _swigc__p_wxMoveEvent
,
41161 _swigc__p_wxNativeEncodingInfo
,
41162 _swigc__p_wxNativeFontInfo
,
41163 _swigc__p_wxNativePixelData
,
41164 _swigc__p_wxNativePixelData_Accessor
,
41165 _swigc__p_wxNavigationKeyEvent
,
41166 _swigc__p_wxNcPaintEvent
,
41167 _swigc__p_wxNotifyEvent
,
41168 _swigc__p_wxObject
,
41169 _swigc__p_wxOverlay
,
41170 _swigc__p_wxPCXHandler
,
41171 _swigc__p_wxPNGHandler
,
41172 _swigc__p_wxPNMHandler
,
41173 _swigc__p_wxPaintDC
,
41174 _swigc__p_wxPaintEvent
,
41175 _swigc__p_wxPalette
,
41176 _swigc__p_wxPaletteChangedEvent
,
41177 _swigc__p_wxPaperSize
,
41179 _swigc__p_wxPenList
,
41180 _swigc__p_wxPixelDataBase
,
41182 _swigc__p_wxPoint2D
,
41183 _swigc__p_wxPoint2DDouble
,
41184 _swigc__p_wxPostScriptDC
,
41185 _swigc__p_wxPrintData
,
41186 _swigc__p_wxPrinterDC
,
41187 _swigc__p_wxPseudoDC
,
41189 _swigc__p_wxPyCommandEvent
,
41190 _swigc__p_wxPyEvent
,
41191 _swigc__p_wxPyFontEnumerator
,
41192 _swigc__p_wxPyImageHandler
,
41193 _swigc__p_wxPyLocale
,
41194 _swigc__p_wxPySizer
,
41195 _swigc__p_wxPyValidator
,
41196 _swigc__p_wxQueryNewPaletteEvent
,
41198 _swigc__p_wxRect2DDouble
,
41199 _swigc__p_wxRegion
,
41200 _swigc__p_wxRegionIterator
,
41201 _swigc__p_wxRendererNative
,
41202 _swigc__p_wxRendererVersion
,
41203 _swigc__p_wxScreenDC
,
41204 _swigc__p_wxScrollEvent
,
41205 _swigc__p_wxScrollWinEvent
,
41206 _swigc__p_wxSetCursorEvent
,
41207 _swigc__p_wxShowEvent
,
41209 _swigc__p_wxSizeEvent
,
41211 _swigc__p_wxSizerItem
,
41212 _swigc__p_wxSplitterRenderParams
,
41213 _swigc__p_wxStaticBoxSizer
,
41214 _swigc__p_wxStdDialogButtonSizer
,
41215 _swigc__p_wxStockGDI
,
41216 _swigc__p_wxString
,
41217 _swigc__p_wxSysColourChangedEvent
,
41218 _swigc__p_wxTGAHandler
,
41219 _swigc__p_wxTIFFHandler
,
41220 _swigc__p_wxUpdateUIEvent
,
41221 _swigc__p_wxValidator
,
41222 _swigc__p_wxWindow
,
41223 _swigc__p_wxWindowCreateEvent
,
41224 _swigc__p_wxWindowDC
,
41225 _swigc__p_wxWindowDestroyEvent
,
41226 _swigc__p_wxXPMHandler
,
41230 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41232 static swig_const_info swig_const_table
[] = {
41233 {0, 0, 0, 0.0, 0, 0}};
41238 /* -----------------------------------------------------------------------------
41239 * Type initialization:
41240 * This problem is tough by the requirement that no dynamic
41241 * memory is used. Also, since swig_type_info structures store pointers to
41242 * swig_cast_info structures and swig_cast_info structures store pointers back
41243 * to swig_type_info structures, we need some lookup code at initialization.
41244 * The idea is that swig generates all the structures that are needed.
41245 * The runtime then collects these partially filled structures.
41246 * The SWIG_InitializeModule function takes these initial arrays out of
41247 * swig_module, and does all the lookup, filling in the swig_module.types
41248 * array with the correct data and linking the correct swig_cast_info
41249 * structures together.
41251 * The generated swig_type_info structures are assigned staticly to an initial
41252 * array. We just loop though that array, and handle each type individually.
41253 * First we lookup if this type has been already loaded, and if so, use the
41254 * loaded structure instead of the generated one. Then we have to fill in the
41255 * cast linked list. The cast data is initially stored in something like a
41256 * two-dimensional array. Each row corresponds to a type (there are the same
41257 * number of rows as there are in the swig_type_initial array). Each entry in
41258 * a column is one of the swig_cast_info structures for that type.
41259 * The cast_initial array is actually an array of arrays, because each row has
41260 * a variable number of columns. So to actually build the cast linked list,
41261 * we find the array of casts associated with the type, and loop through it
41262 * adding the casts to the list. The one last trick we need to do is making
41263 * sure the type pointer in the swig_cast_info struct is correct.
41265 * First off, we lookup the cast->type name to see if it is already loaded.
41266 * There are three cases to handle:
41267 * 1) If the cast->type has already been loaded AND the type we are adding
41268 * casting info to has not been loaded (it is in this module), THEN we
41269 * replace the cast->type pointer with the type pointer that has already
41271 * 2) If BOTH types (the one we are adding casting info to, and the
41272 * cast->type) are loaded, THEN the cast info has already been loaded by
41273 * the previous module so we just ignore it.
41274 * 3) Finally, if cast->type has not already been loaded, then we add that
41275 * swig_cast_info to the linked list (because the cast->type) pointer will
41277 * ----------------------------------------------------------------------------- */
41287 #define SWIGRUNTIME_DEBUG
41291 SWIG_InitializeModule(void *clientdata
) {
41293 swig_module_info
*module_head
;
41294 static int init_run
= 0;
41296 clientdata
= clientdata
;
41298 if (init_run
) return;
41301 /* Initialize the swig_module */
41302 swig_module
.type_initial
= swig_type_initial
;
41303 swig_module
.cast_initial
= swig_cast_initial
;
41305 /* Try and load any already created modules */
41306 module_head
= SWIG_GetModule(clientdata
);
41308 swig_module
.next
= module_head
->next
;
41309 module_head
->next
= &swig_module
;
41311 /* This is the first module loaded */
41312 swig_module
.next
= &swig_module
;
41313 SWIG_SetModule(clientdata
, &swig_module
);
41316 /* Now work on filling in swig_module.types */
41317 #ifdef SWIGRUNTIME_DEBUG
41318 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41320 for (i
= 0; i
< swig_module
.size
; ++i
) {
41321 swig_type_info
*type
= 0;
41322 swig_type_info
*ret
;
41323 swig_cast_info
*cast
;
41325 #ifdef SWIGRUNTIME_DEBUG
41326 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41329 /* if there is another module already loaded */
41330 if (swig_module
.next
!= &swig_module
) {
41331 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41334 /* Overwrite clientdata field */
41335 #ifdef SWIGRUNTIME_DEBUG
41336 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41338 if (swig_module
.type_initial
[i
]->clientdata
) {
41339 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41340 #ifdef SWIGRUNTIME_DEBUG
41341 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41345 type
= swig_module
.type_initial
[i
];
41348 /* Insert casting types */
41349 cast
= swig_module
.cast_initial
[i
];
41350 while (cast
->type
) {
41351 /* Don't need to add information already in the list */
41353 #ifdef SWIGRUNTIME_DEBUG
41354 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41356 if (swig_module
.next
!= &swig_module
) {
41357 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41358 #ifdef SWIGRUNTIME_DEBUG
41359 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41363 if (type
== swig_module
.type_initial
[i
]) {
41364 #ifdef SWIGRUNTIME_DEBUG
41365 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41370 /* Check for casting already in the list */
41371 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41372 #ifdef SWIGRUNTIME_DEBUG
41373 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41375 if (!ocast
) ret
= 0;
41380 #ifdef SWIGRUNTIME_DEBUG
41381 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41384 type
->cast
->prev
= cast
;
41385 cast
->next
= type
->cast
;
41391 /* Set entry in modules->types array equal to the type */
41392 swig_module
.types
[i
] = type
;
41394 swig_module
.types
[i
] = 0;
41396 #ifdef SWIGRUNTIME_DEBUG
41397 printf("**** SWIG_InitializeModule: Cast List ******\n");
41398 for (i
= 0; i
< swig_module
.size
; ++i
) {
41400 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41401 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41402 while (cast
->type
) {
41403 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41407 printf("---- Total casts: %d\n",j
);
41409 printf("**** SWIG_InitializeModule: Cast List ******\n");
41413 /* This function will propagate the clientdata field of type to
41414 * any new swig_type_info structures that have been added into the list
41415 * of equivalent types. It is like calling
41416 * SWIG_TypeClientData(type, clientdata) a second time.
41419 SWIG_PropagateClientData(void) {
41421 swig_cast_info
*equiv
;
41422 static int init_run
= 0;
41424 if (init_run
) return;
41427 for (i
= 0; i
< swig_module
.size
; i
++) {
41428 if (swig_module
.types
[i
]->clientdata
) {
41429 equiv
= swig_module
.types
[i
]->cast
;
41431 if (!equiv
->converter
) {
41432 if (equiv
->type
&& !equiv
->type
->clientdata
)
41433 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41435 equiv
= equiv
->next
;
41455 /* Python-specific SWIG API */
41456 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41457 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41458 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41460 /* -----------------------------------------------------------------------------
41461 * global variable support code.
41462 * ----------------------------------------------------------------------------- */
41464 typedef struct swig_globalvar
{
41465 char *name
; /* Name of global variable */
41466 PyObject
*(*get_attr
)(void); /* Return the current value */
41467 int (*set_attr
)(PyObject
*); /* Set the value */
41468 struct swig_globalvar
*next
;
41471 typedef struct swig_varlinkobject
{
41473 swig_globalvar
*vars
;
41474 } swig_varlinkobject
;
41476 SWIGINTERN PyObject
*
41477 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41478 return PyString_FromString("<Swig global variables>");
41481 SWIGINTERN PyObject
*
41482 swig_varlink_str(swig_varlinkobject
*v
) {
41483 PyObject
*str
= PyString_FromString("(");
41484 swig_globalvar
*var
;
41485 for (var
= v
->vars
; var
; var
=var
->next
) {
41486 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41487 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41489 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41494 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41495 PyObject
*str
= swig_varlink_str(v
);
41496 fprintf(fp
,"Swig global variables ");
41497 fprintf(fp
,"%s\n", PyString_AsString(str
));
41503 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41504 swig_globalvar
*var
= v
->vars
;
41506 swig_globalvar
*n
= var
->next
;
41513 SWIGINTERN PyObject
*
41514 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41515 PyObject
*res
= NULL
;
41516 swig_globalvar
*var
= v
->vars
;
41518 if (strcmp(var
->name
,n
) == 0) {
41519 res
= (*var
->get_attr
)();
41524 if (res
== NULL
&& !PyErr_Occurred()) {
41525 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41531 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41533 swig_globalvar
*var
= v
->vars
;
41535 if (strcmp(var
->name
,n
) == 0) {
41536 res
= (*var
->set_attr
)(p
);
41541 if (res
== 1 && !PyErr_Occurred()) {
41542 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41547 SWIGINTERN PyTypeObject
*
41548 swig_varlink_type(void) {
41549 static char varlink__doc__
[] = "Swig var link object";
41550 static PyTypeObject varlink_type
;
41551 static int type_init
= 0;
41553 const PyTypeObject tmp
41555 PyObject_HEAD_INIT(NULL
)
41556 0, /* Number of items in variable part (ob_size) */
41557 (char *)"swigvarlink", /* Type name (tp_name) */
41558 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41559 0, /* Itemsize (tp_itemsize) */
41560 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41561 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41562 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41563 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41564 0, /* tp_compare */
41565 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41566 0, /* tp_as_number */
41567 0, /* tp_as_sequence */
41568 0, /* tp_as_mapping */
41571 (reprfunc
)swig_varlink_str
, /* tp_str */
41572 0, /* tp_getattro */
41573 0, /* tp_setattro */
41574 0, /* tp_as_buffer */
41576 varlink__doc__
, /* tp_doc */
41577 0, /* tp_traverse */
41579 0, /* tp_richcompare */
41580 0, /* tp_weaklistoffset */
41581 #if PY_VERSION_HEX >= 0x02020000
41582 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41584 #if PY_VERSION_HEX >= 0x02030000
41587 #ifdef COUNT_ALLOCS
41588 0,0,0,0 /* tp_alloc -> tp_next */
41591 varlink_type
= tmp
;
41592 varlink_type
.ob_type
= &PyType_Type
;
41595 return &varlink_type
;
41598 /* Create a variable linking object for use later */
41599 SWIGINTERN PyObject
*
41600 SWIG_Python_newvarlink(void) {
41601 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41605 return ((PyObject
*) result
);
41609 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41610 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41611 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41613 size_t size
= strlen(name
)+1;
41614 gv
->name
= (char *)malloc(size
);
41616 strncpy(gv
->name
,name
,size
);
41617 gv
->get_attr
= get_attr
;
41618 gv
->set_attr
= set_attr
;
41619 gv
->next
= v
->vars
;
41625 SWIGINTERN PyObject
*
41627 static PyObject
*_SWIG_globals
= 0;
41628 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41629 return _SWIG_globals
;
41632 /* -----------------------------------------------------------------------------
41633 * constants/methods manipulation
41634 * ----------------------------------------------------------------------------- */
41636 /* Install Constants */
41638 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41641 for (i
= 0; constants
[i
].type
; ++i
) {
41642 switch(constants
[i
].type
) {
41643 case SWIG_PY_POINTER
:
41644 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41646 case SWIG_PY_BINARY
:
41647 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41654 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41660 /* -----------------------------------------------------------------------------*/
41661 /* Fix SwigMethods to carry the callback ptrs when needed */
41662 /* -----------------------------------------------------------------------------*/
41665 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41666 swig_const_info
*const_table
,
41667 swig_type_info
**types
,
41668 swig_type_info
**types_initial
) {
41670 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41671 const char *c
= methods
[i
].ml_doc
;
41672 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41674 swig_const_info
*ci
= 0;
41675 const char *name
= c
+ 10;
41676 for (j
= 0; const_table
[j
].type
; ++j
) {
41677 if (strncmp(const_table
[j
].name
, name
,
41678 strlen(const_table
[j
].name
)) == 0) {
41679 ci
= &(const_table
[j
]);
41684 size_t shift
= (ci
->ptype
) - types
;
41685 swig_type_info
*ty
= types_initial
[shift
];
41686 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41687 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41688 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41691 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41693 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41695 strncpy(buff
, "swig_ptr: ", 10);
41697 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41698 methods
[i
].ml_doc
= ndoc
;
41710 /* -----------------------------------------------------------------------------*
41711 * Partial Init method
41712 * -----------------------------------------------------------------------------*/
41717 SWIGEXPORT
void SWIG_init(void) {
41720 /* Fix SwigMethods to carry the callback ptrs when needed */
41721 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41723 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41724 d
= PyModule_GetDict(m
);
41726 SWIG_InitializeModule(0);
41727 SWIG_InstallConstants(d
,swig_const_table
);
41730 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41731 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41732 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41733 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41734 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41735 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41736 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41737 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41738 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41739 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41740 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41741 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41742 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41743 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41744 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41745 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41746 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41747 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41748 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41749 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41750 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41751 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41752 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41753 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41754 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41755 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41756 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41757 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41758 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41759 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41760 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41761 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41762 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41763 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41764 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41765 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41766 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41767 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41768 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41769 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41770 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41771 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41772 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41773 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41774 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41775 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41776 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41777 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41778 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41779 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41780 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41781 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41782 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41783 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41784 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41785 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41786 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41787 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41788 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41789 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41790 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41791 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41792 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41793 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41794 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41795 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41796 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41797 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41798 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41799 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41800 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41801 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41802 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41803 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41804 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41805 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41806 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41807 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41808 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41809 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41810 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41811 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41812 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41813 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41814 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41815 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41816 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41817 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41818 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41819 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41820 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41821 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41822 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41823 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41824 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41825 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41826 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41827 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41828 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41829 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41830 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41831 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41832 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41833 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41834 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41835 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41843 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41844 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41845 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41846 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41847 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41848 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41849 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41855 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41856 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41857 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41858 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41859 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41860 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41861 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41863 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41865 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41866 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41867 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41868 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41869 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41870 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41871 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41872 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41873 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41874 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41875 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41876 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41877 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41878 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41879 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41880 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41881 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41882 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41883 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41884 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41885 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41886 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41887 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41888 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41889 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41890 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41891 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41892 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41893 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41894 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41895 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41896 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41897 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41898 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41899 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41900 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41901 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41902 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41903 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41904 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41905 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41906 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41907 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41908 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41909 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41910 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41911 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41912 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41913 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41914 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41915 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41916 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41917 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41918 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41919 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41920 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41921 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41922 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41923 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41924 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41925 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41926 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41927 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41928 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41929 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41930 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41931 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41932 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41933 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41934 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41935 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41936 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41937 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41938 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41939 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41940 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41941 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41942 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41943 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41944 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41945 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41946 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41947 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41948 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41949 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41950 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41951 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41952 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41953 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41954 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41955 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41956 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41957 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41958 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41959 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41960 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41961 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41962 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41963 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41964 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41965 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41966 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41967 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41968 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41969 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41970 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41971 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41972 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41973 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41974 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41975 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41976 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41977 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41978 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41979 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41980 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41981 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41982 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41983 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41984 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41985 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41986 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41987 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41988 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41989 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41990 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41991 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41992 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41993 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41994 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42027 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42028 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42029 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42030 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42031 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42032 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42033 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42034 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42035 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42036 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42037 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42038 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42039 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42040 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42041 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42042 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42043 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42044 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42045 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42046 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42047 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42048 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42049 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42050 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42051 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42052 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42053 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42054 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42055 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42056 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42057 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42058 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42059 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42060 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42061 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42062 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42063 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42064 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42065 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42066 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42067 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42068 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42069 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42070 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42071 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42072 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42073 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42074 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42075 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42076 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42077 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42078 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42079 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42080 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42081 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42082 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42083 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42084 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42085 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42086 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42087 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42088 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42089 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42090 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42091 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42092 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42093 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42094 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42095 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42096 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42097 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42098 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42099 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42100 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42101 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42102 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42103 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42104 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42105 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42106 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42107 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42108 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42109 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42110 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42111 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42112 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42113 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42114 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42115 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42116 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42117 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42118 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42119 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42120 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42121 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42122 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42123 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42124 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42125 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42126 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42127 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42128 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42129 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42130 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42131 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42132 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42133 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42134 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42135 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42136 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42137 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42138 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42139 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42140 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42141 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42142 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42143 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42144 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42145 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42146 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42147 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42148 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42149 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42150 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42151 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42152 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42153 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42154 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42155 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42156 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42157 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42158 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42159 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42160 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42161 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42162 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42163 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42164 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42165 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42166 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42167 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42168 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42169 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42170 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42171 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42172 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42173 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42174 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42175 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42176 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42177 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42178 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42179 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42180 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42181 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42182 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42183 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42184 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42185 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42186 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42187 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42188 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42190 // Work around a chicken/egg problem in drawlist.cpp
42191 wxPyDrawList_SetAPIPtr();