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
);
3871 wxGCDC(const wxWindow
*) {
3872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wxGCDC is not available on this platform.");
3875 wxPyEndBlockThreads(blocked
);
3879 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3880 PyErr_SetString(PyExc_NotImplementedError
,
3881 "wxGCDC is not available on this platform.");
3882 wxPyEndBlockThreads(blocked
);
3885 virtual ~wxGCDC() {}
3887 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3888 void SetGraphicsContext( wxGraphicsContext
* ) {}
3893 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3894 if ( !backgroundBrush
.IsNull() )
3895 self
->DrawText(str
, x
, y
, backgroundBrush
);
3897 self
->DrawText(str
, x
, y
);
3899 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3900 if ( !backgroundBrush
.IsNull() )
3901 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3903 self
->DrawText(str
, x
, y
, angle
);
3905 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3906 wxDouble width
= 0.0,
3908 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3909 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3910 PyObject
* rv
= PyTuple_New(2);
3911 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3912 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3915 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3916 wxArrayDouble widths
;
3917 self
->GetPartialTextExtents(text
, widths
);
3920 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3921 size_t c1
, c2
, count
;
3922 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3923 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3925 if ( beginP
!= NULL
&& endP
!= NULL
)
3927 count
= wxMin(c1
, c2
);
3928 self
->StrokeLines(count
, beginP
, endP
);
3934 #include "wx/dcgraph.h"
3937 #include <wx/overlay.h>
3941 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3942 self
->AddColour(name
, wxColour(red
, green
, blue
));
3945 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3946 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3947 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3948 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3951 #include <wx/effects.h>
3954 #include "wx/renderer.h"
3957 SWIGINTERNINLINE PyObject
*
3958 SWIG_From_bool (bool value
)
3960 return PyBool_FromLong(value
? 1 : 0);
3964 #include "wx/wxPython/pseudodc.h"
3966 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3968 self
->GetIdBounds(id
, rect
);
3974 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3975 PyObject
*resultobj
= 0;
3976 wxGDIObject
*result
= 0 ;
3978 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3980 if (!wxPyCheckForApp()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (wxGDIObject
*)new wxGDIObject();
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3993 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3994 PyObject
*resultobj
= 0;
3995 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3998 PyObject
*swig_obj
[1] ;
4000 if (!args
) SWIG_fail
;
4002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4003 if (!SWIG_IsOK(res1
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4006 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_Py_Void();
4021 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 PyObject
*resultobj
= 0;
4023 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4027 PyObject
*swig_obj
[1] ;
4029 if (!args
) SWIG_fail
;
4031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4032 if (!SWIG_IsOK(res1
)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4035 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (bool)(arg1
)->IsNull();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4051 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4054 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4055 return SWIG_Py_Void();
4058 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4059 return SWIG_Python_InitShadowInstance(args
);
4062 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
= 0;
4064 byte arg1
= (byte
) 0 ;
4065 byte arg2
= (byte
) 0 ;
4066 byte arg3
= (byte
) 0 ;
4067 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4068 wxColour
*result
= 0 ;
4069 unsigned char val1
;
4071 unsigned char val2
;
4073 unsigned char val3
;
4075 unsigned char val4
;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj1
= 0 ;
4079 PyObject
* obj2
= 0 ;
4080 PyObject
* obj3
= 0 ;
4081 char * kwnames
[] = {
4082 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4087 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4088 if (!SWIG_IsOK(ecode1
)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4091 arg1
= static_cast< byte
>(val1
);
4094 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4095 if (!SWIG_IsOK(ecode2
)) {
4096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4098 arg2
= static_cast< byte
>(val2
);
4101 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4102 if (!SWIG_IsOK(ecode3
)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4105 arg3
= static_cast< byte
>(val3
);
4108 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4109 if (!SWIG_IsOK(ecode4
)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4112 arg4
= static_cast< byte
>(val4
);
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= 0;
4129 wxString
*arg1
= 0 ;
4130 wxColour
*result
= 0 ;
4131 bool temp1
= false ;
4132 PyObject
* obj0
= 0 ;
4133 char * kwnames
[] = {
4134 (char *) "colorName", NULL
4137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4139 arg1
= wxString_in_helper(obj0
);
4140 if (arg1
== NULL
) SWIG_fail
;
4144 if (!wxPyCheckForApp()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4165 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
= 0;
4167 unsigned long arg1
;
4168 wxColour
*result
= 0 ;
4169 unsigned long val1
;
4171 PyObject
* obj0
= 0 ;
4172 char * kwnames
[] = {
4173 (char *) "colRGB", NULL
4176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4177 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4178 if (!SWIG_IsOK(ecode1
)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4181 arg1
= static_cast< unsigned long >(val1
);
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (wxColour
*)new wxColour(arg1
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4195 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4196 PyObject
*resultobj
= 0;
4197 wxColour
*arg1
= (wxColour
*) 0 ;
4200 PyObject
*swig_obj
[1] ;
4202 if (!args
) SWIG_fail
;
4204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4205 if (!SWIG_IsOK(res1
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4208 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= SWIG_Py_Void();
4223 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4224 PyObject
*resultobj
= 0;
4225 wxColour
*arg1
= (wxColour
*) 0 ;
4229 PyObject
*swig_obj
[1] ;
4231 if (!args
) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4237 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= (byte
)(arg1
)->Red();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4251 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4252 PyObject
*resultobj
= 0;
4253 wxColour
*arg1
= (wxColour
*) 0 ;
4257 PyObject
*swig_obj
[1] ;
4259 if (!args
) SWIG_fail
;
4261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4262 if (!SWIG_IsOK(res1
)) {
4263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4265 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (byte
)(arg1
)->Green();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4279 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4280 PyObject
*resultobj
= 0;
4281 wxColour
*arg1
= (wxColour
*) 0 ;
4285 PyObject
*swig_obj
[1] ;
4287 if (!args
) SWIG_fail
;
4289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4290 if (!SWIG_IsOK(res1
)) {
4291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4293 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (byte
)(arg1
)->Blue();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4307 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 PyObject
*resultobj
= 0;
4309 wxColour
*arg1
= (wxColour
*) 0 ;
4313 PyObject
*swig_obj
[1] ;
4315 if (!args
) SWIG_fail
;
4317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4318 if (!SWIG_IsOK(res1
)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4321 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (byte
)(arg1
)->Alpha();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4335 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4336 PyObject
*resultobj
= 0;
4337 wxColour
*arg1
= (wxColour
*) 0 ;
4341 PyObject
*swig_obj
[1] ;
4343 if (!args
) SWIG_fail
;
4345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4346 if (!SWIG_IsOK(res1
)) {
4347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4349 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (bool)(arg1
)->IsOk();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4365 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
= 0;
4367 wxColour
*arg1
= (wxColour
*) 0 ;
4371 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4374 unsigned char val2
;
4376 unsigned char val3
;
4378 unsigned char val4
;
4380 unsigned char val5
;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 PyObject
* obj2
= 0 ;
4385 PyObject
* obj3
= 0 ;
4386 PyObject
* obj4
= 0 ;
4387 char * kwnames
[] = {
4388 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4397 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4398 if (!SWIG_IsOK(ecode2
)) {
4399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4401 arg2
= static_cast< byte
>(val2
);
4402 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4403 if (!SWIG_IsOK(ecode3
)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4406 arg3
= static_cast< byte
>(val3
);
4407 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4408 if (!SWIG_IsOK(ecode4
)) {
4409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4411 arg4
= static_cast< byte
>(val4
);
4413 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4414 if (!SWIG_IsOK(ecode5
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4417 arg5
= static_cast< byte
>(val5
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxColour
*arg1
= (wxColour
*) 0 ;
4435 unsigned long arg2
;
4438 unsigned long val2
;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4442 char * kwnames
[] = {
4443 (char *) "self",(char *) "colRGB", NULL
4446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4448 if (!SWIG_IsOK(res1
)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4451 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4452 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4453 if (!SWIG_IsOK(ecode2
)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4456 arg2
= static_cast< unsigned long >(val2
);
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_Py_Void();
4470 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
= 0;
4472 wxColour
*arg1
= (wxColour
*) 0 ;
4473 wxString
*arg2
= 0 ;
4476 bool temp2
= false ;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4479 char * kwnames
[] = {
4480 (char *) "self",(char *) "colourName", NULL
4483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4485 if (!SWIG_IsOK(res1
)) {
4486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4488 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4490 arg2
= wxString_in_helper(obj1
);
4491 if (arg2
== NULL
) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 (arg1
)->Set((wxString
const &)*arg2
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_Py_Void();
4515 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
= 0;
4517 wxColour
*arg1
= (wxColour
*) 0 ;
4518 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4526 char * kwnames
[] = {
4527 (char *) "self",(char *) "flags", NULL
4530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4535 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4538 if (!SWIG_IsOK(ecode2
)) {
4539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4541 arg2
= static_cast< long >(val2
);
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4562 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4563 PyObject
*resultobj
= 0;
4564 wxColour
*arg1
= (wxColour
*) 0 ;
4568 PyObject
*swig_obj
[1] ;
4570 if (!args
) SWIG_fail
;
4572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4573 if (!SWIG_IsOK(res1
)) {
4574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4576 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 resultobj
= SWIG_From_long(static_cast< long >(result
));
4590 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
= 0;
4592 wxColour
*arg1
= (wxColour
*) 0 ;
4593 PyObject
*arg2
= (PyObject
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4599 char * kwnames
[] = {
4600 (char *) "self",(char *) "other", NULL
4603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4605 if (!SWIG_IsOK(res1
)) {
4606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4608 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4611 result
= (bool)wxColour___eq__(arg1
,arg2
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4623 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
= 0;
4625 wxColour
*arg1
= (wxColour
*) 0 ;
4626 PyObject
*arg2
= (PyObject
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4632 char * kwnames
[] = {
4633 (char *) "self",(char *) "other", NULL
4636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4641 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4644 result
= (bool)wxColour___ne__(arg1
,arg2
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4656 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
= 0;
4658 wxColour
*arg1
= (wxColour
*) 0 ;
4659 bool arg2
= (bool) false ;
4660 PyObject
*result
= 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 char * kwnames
[] = {
4668 (char *) "self",(char *) "includeAlpha", NULL
4671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4673 if (!SWIG_IsOK(res1
)) {
4674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4676 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4678 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4679 if (!SWIG_IsOK(ecode2
)) {
4680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4682 arg2
= static_cast< bool >(val2
);
4685 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4695 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4696 PyObject
*resultobj
= 0;
4697 wxColour
*arg1
= (wxColour
*) 0 ;
4698 unsigned long result
;
4701 PyObject
*swig_obj
[1] ;
4703 if (!args
) SWIG_fail
;
4705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4706 if (!SWIG_IsOK(res1
)) {
4707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4709 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4711 result
= (unsigned long)wxColour_GetRGB(arg1
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4721 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4724 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4725 return SWIG_Py_Void();
4728 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 return SWIG_Python_InitShadowInstance(args
);
4732 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
= 0;
4735 unsigned char *arg2
= (unsigned char *) 0 ;
4736 unsigned char *arg3
= (unsigned char *) 0 ;
4737 unsigned char *arg4
= (unsigned char *) 0 ;
4738 wxPalette
*result
= 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 PyObject
* obj2
= 0 ;
4750 PyObject
* obj3
= 0 ;
4751 char * kwnames
[] = {
4752 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4757 if (!SWIG_IsOK(ecode1
)) {
4758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4760 arg1
= static_cast< int >(val1
);
4761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4762 if (!SWIG_IsOK(res2
)) {
4763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4765 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4766 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4767 if (!SWIG_IsOK(res3
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4770 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4771 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4772 if (!SWIG_IsOK(res4
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4775 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4777 if (!wxPyCheckForApp()) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4790 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4791 PyObject
*resultobj
= 0;
4792 wxPalette
*arg1
= (wxPalette
*) 0 ;
4795 PyObject
*swig_obj
[1] ;
4797 if (!args
) SWIG_fail
;
4799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4800 if (!SWIG_IsOK(res1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4803 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_Py_Void();
4818 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
= 0;
4820 wxPalette
*arg1
= (wxPalette
*) 0 ;
4827 unsigned char val2
;
4829 unsigned char val3
;
4831 unsigned char val4
;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj2
= 0 ;
4836 PyObject
* obj3
= 0 ;
4837 char * kwnames
[] = {
4838 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4846 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4847 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4848 if (!SWIG_IsOK(ecode2
)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4851 arg2
= static_cast< byte
>(val2
);
4852 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4853 if (!SWIG_IsOK(ecode3
)) {
4854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4856 arg3
= static_cast< byte
>(val3
);
4857 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4858 if (!SWIG_IsOK(ecode4
)) {
4859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4861 arg4
= static_cast< byte
>(val4
);
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= SWIG_From_int(static_cast< int >(result
));
4875 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
= 0;
4877 wxPalette
*arg1
= (wxPalette
*) 0 ;
4879 byte
*arg3
= (byte
*) 0 ;
4880 byte
*arg4
= (byte
*) 0 ;
4881 byte
*arg5
= (byte
*) 0 ;
4888 int res3
= SWIG_TMPOBJ
;
4890 int res4
= SWIG_TMPOBJ
;
4892 int res5
= SWIG_TMPOBJ
;
4893 PyObject
* obj0
= 0 ;
4894 PyObject
* obj1
= 0 ;
4895 char * kwnames
[] = {
4896 (char *) "self",(char *) "pixel", NULL
4902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4904 if (!SWIG_IsOK(res1
)) {
4905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4907 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4909 if (!SWIG_IsOK(ecode2
)) {
4910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4912 arg2
= static_cast< int >(val2
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4922 if (SWIG_IsTmpObj(res3
)) {
4923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4928 if (SWIG_IsTmpObj(res4
)) {
4929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4931 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4934 if (SWIG_IsTmpObj(res5
)) {
4935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4937 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4946 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4947 PyObject
*resultobj
= 0;
4948 wxPalette
*arg1
= (wxPalette
*) 0 ;
4952 PyObject
*swig_obj
[1] ;
4954 if (!args
) SWIG_fail
;
4956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4957 if (!SWIG_IsOK(res1
)) {
4958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4960 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_From_int(static_cast< int >(result
));
4974 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4975 PyObject
*resultobj
= 0;
4976 wxPalette
*arg1
= (wxPalette
*) 0 ;
4980 PyObject
*swig_obj
[1] ;
4982 if (!args
) SWIG_fail
;
4984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4985 if (!SWIG_IsOK(res1
)) {
4986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4988 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (bool)(arg1
)->IsOk();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5004 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5007 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5008 return SWIG_Py_Void();
5011 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5012 return SWIG_Python_InitShadowInstance(args
);
5015 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxColour
*arg1
= 0 ;
5018 int arg2
= (int) 1 ;
5019 int arg3
= (int) wxSOLID
;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5028 PyObject
* obj2
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "colour",(char *) "width",(char *) "style", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5036 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5040 if (!SWIG_IsOK(ecode2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5043 arg2
= static_cast< int >(val2
);
5046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5047 if (!SWIG_IsOK(ecode3
)) {
5048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5050 arg3
= static_cast< int >(val3
);
5053 if (!wxPyCheckForApp()) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5066 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5067 PyObject
*resultobj
= 0;
5068 wxPen
*arg1
= (wxPen
*) 0 ;
5071 PyObject
*swig_obj
[1] ;
5073 if (!args
) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5079 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_Py_Void();
5094 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5095 PyObject
*resultobj
= 0;
5096 wxPen
*arg1
= (wxPen
*) 0 ;
5100 PyObject
*swig_obj
[1] ;
5102 if (!args
) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5108 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (int)(arg1
)->GetCap();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= SWIG_From_int(static_cast< int >(result
));
5122 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5123 PyObject
*resultobj
= 0;
5124 wxPen
*arg1
= (wxPen
*) 0 ;
5128 PyObject
*swig_obj
[1] ;
5130 if (!args
) SWIG_fail
;
5132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5133 if (!SWIG_IsOK(res1
)) {
5134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5136 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (arg1
)->GetColour();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5150 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5151 PyObject
*resultobj
= 0;
5152 wxPen
*arg1
= (wxPen
*) 0 ;
5156 PyObject
*swig_obj
[1] ;
5158 if (!args
) SWIG_fail
;
5160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5161 if (!SWIG_IsOK(res1
)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5164 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (int)(arg1
)->GetJoin();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_From_int(static_cast< int >(result
));
5178 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5179 PyObject
*resultobj
= 0;
5180 wxPen
*arg1
= (wxPen
*) 0 ;
5184 PyObject
*swig_obj
[1] ;
5186 if (!args
) SWIG_fail
;
5188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5189 if (!SWIG_IsOK(res1
)) {
5190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5192 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (int)(arg1
)->GetStyle();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_From_int(static_cast< int >(result
));
5206 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 PyObject
*resultobj
= 0;
5208 wxPen
*arg1
= (wxPen
*) 0 ;
5212 PyObject
*swig_obj
[1] ;
5214 if (!args
) SWIG_fail
;
5216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5217 if (!SWIG_IsOK(res1
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5220 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (int)(arg1
)->GetWidth();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= SWIG_From_int(static_cast< int >(result
));
5234 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5235 PyObject
*resultobj
= 0;
5236 wxPen
*arg1
= (wxPen
*) 0 ;
5240 PyObject
*swig_obj
[1] ;
5242 if (!args
) SWIG_fail
;
5244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5245 if (!SWIG_IsOK(res1
)) {
5246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5248 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (bool)(arg1
)->IsOk();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5264 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
= 0;
5266 wxPen
*arg1
= (wxPen
*) 0 ;
5272 PyObject
* obj0
= 0 ;
5273 PyObject
* obj1
= 0 ;
5274 char * kwnames
[] = {
5275 (char *) "self",(char *) "cap_style", NULL
5278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5280 if (!SWIG_IsOK(res1
)) {
5281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5283 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5285 if (!SWIG_IsOK(ecode2
)) {
5286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5288 arg2
= static_cast< int >(val2
);
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 (arg1
)->SetCap(arg2
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= SWIG_Py_Void();
5302 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
= 0;
5304 wxPen
*arg1
= (wxPen
*) 0 ;
5305 wxColour
*arg2
= 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5311 char * kwnames
[] = {
5312 (char *) "self",(char *) "colour", NULL
5315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5317 if (!SWIG_IsOK(res1
)) {
5318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5320 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 (arg1
)->SetColour(*arg2
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_Py_Void();
5338 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
= 0;
5340 wxPen
*arg1
= (wxPen
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 char * kwnames
[] = {
5349 (char *) "self",(char *) "join_style", NULL
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5354 if (!SWIG_IsOK(res1
)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5357 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5359 if (!SWIG_IsOK(ecode2
)) {
5360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5362 arg2
= static_cast< int >(val2
);
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 (arg1
)->SetJoin(arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_Py_Void();
5376 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= 0;
5378 wxPen
*arg1
= (wxPen
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 char * kwnames
[] = {
5387 (char *) "self",(char *) "style", NULL
5390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5395 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5397 if (!SWIG_IsOK(ecode2
)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5400 arg2
= static_cast< int >(val2
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 (arg1
)->SetStyle(arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_Py_Void();
5414 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
= 0;
5416 wxPen
*arg1
= (wxPen
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "self",(char *) "width", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5430 if (!SWIG_IsOK(res1
)) {
5431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5433 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5435 if (!SWIG_IsOK(ecode2
)) {
5436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5438 arg2
= static_cast< int >(val2
);
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 (arg1
)->SetWidth(arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_Py_Void();
5452 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
= 0;
5454 wxPen
*arg1
= (wxPen
*) 0 ;
5456 wxDash
*arg3
= (wxDash
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5461 char * kwnames
[] = {
5462 (char *) "self",(char *) "dashes", NULL
5465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5467 if (!SWIG_IsOK(res1
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5470 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5472 arg2
= PyList_Size(obj1
);
5473 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5474 if (arg3
== NULL
) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 (arg1
)->SetDashes(arg2
,arg3
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_Py_Void();
5484 if (arg3
) delete [] arg3
;
5489 if (arg3
) delete [] arg3
;
5495 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5496 PyObject
*resultobj
= 0;
5497 wxPen
*arg1
= (wxPen
*) 0 ;
5498 PyObject
*result
= 0 ;
5501 PyObject
*swig_obj
[1] ;
5503 if (!args
) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5509 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5523 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
= 0;
5525 wxPen
*arg1
= (wxPen
*) 0 ;
5526 PyObject
*arg2
= (PyObject
*) 0 ;
5527 PyObject
*arg3
= (PyObject
*) 0 ;
5530 PyObject
* obj0
= 0 ;
5531 PyObject
* obj1
= 0 ;
5532 PyObject
* obj2
= 0 ;
5533 char * kwnames
[] = {
5534 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5542 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 wxPen__SetDashes(arg1
,arg2
,arg3
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= SWIG_Py_Void();
5558 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 PyObject
*resultobj
= 0;
5560 wxPen
*arg1
= (wxPen
*) 0 ;
5564 PyObject
*swig_obj
[1] ;
5566 if (!args
) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5572 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_From_int(static_cast< int >(result
));
5586 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5587 PyObject
*resultobj
= 0;
5588 wxPen
*arg1
= (wxPen
*) 0 ;
5589 wxBitmap
*result
= 0 ;
5592 PyObject
*swig_obj
[1] ;
5594 if (!args
) SWIG_fail
;
5596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5597 if (!SWIG_IsOK(res1
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5600 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (wxBitmap
*)(arg1
)->GetStipple();
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5614 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
= 0;
5616 wxPen
*arg1
= (wxPen
*) 0 ;
5617 wxBitmap
*arg2
= 0 ;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5624 char * kwnames
[] = {
5625 (char *) "self",(char *) "stipple", NULL
5628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5630 if (!SWIG_IsOK(res1
)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5633 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5635 if (!SWIG_IsOK(res2
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5641 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 (arg1
)->SetStipple(*arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_Py_Void();
5655 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
= 0;
5657 wxPen
*arg1
= (wxPen
*) 0 ;
5658 wxPen
*arg2
= (wxPen
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 char * kwnames
[] = {
5667 (char *) "self",(char *) "other", NULL
5670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5672 if (!SWIG_IsOK(res1
)) {
5673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5675 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5677 if (!SWIG_IsOK(res2
)) {
5678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5680 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5696 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
= 0;
5698 wxPen
*arg1
= (wxPen
*) 0 ;
5699 wxPen
*arg2
= (wxPen
*) 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "self",(char *) "other", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5713 if (!SWIG_IsOK(res1
)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5716 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5718 if (!SWIG_IsOK(res2
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5721 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5741 return SWIG_Py_Void();
5744 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5745 return SWIG_Python_InitShadowInstance(args
);
5748 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
= 0;
5750 wxColour
*arg1
= 0 ;
5751 int arg2
= (int) wxSOLID
;
5752 wxBrush
*result
= 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 char * kwnames
[] = {
5759 (char *) "colour",(char *) "style", NULL
5762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5765 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5769 if (!SWIG_IsOK(ecode2
)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5772 arg2
= static_cast< int >(val2
);
5775 if (!wxPyCheckForApp()) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5788 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
= 0;
5790 wxBitmap
*arg1
= 0 ;
5791 wxBrush
*result
= 0 ;
5794 PyObject
* obj0
= 0 ;
5795 char * kwnames
[] = {
5796 (char *) "stippleBitmap", NULL
5799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5800 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5801 if (!SWIG_IsOK(res1
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5807 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5809 if (!wxPyCheckForApp()) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5822 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5823 PyObject
*resultobj
= 0;
5824 wxBrush
*arg1
= (wxBrush
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5835 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_Py_Void();
5850 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
= 0;
5852 wxBrush
*arg1
= (wxBrush
*) 0 ;
5853 wxColour
*arg2
= 0 ;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "self",(char *) "col", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5868 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 (arg1
)->SetColour((wxColour
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_Py_Void();
5886 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
= 0;
5888 wxBrush
*arg1
= (wxBrush
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "self",(char *) "style", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5902 if (!SWIG_IsOK(res1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5905 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5907 if (!SWIG_IsOK(ecode2
)) {
5908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5910 arg2
= static_cast< int >(val2
);
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 (arg1
)->SetStyle(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= SWIG_Py_Void();
5924 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
= 0;
5926 wxBrush
*arg1
= (wxBrush
*) 0 ;
5927 wxBitmap
*arg2
= 0 ;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5934 char * kwnames
[] = {
5935 (char *) "self",(char *) "stipple", NULL
5938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5943 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5945 if (!SWIG_IsOK(res2
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5951 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_Py_Void();
5965 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5966 PyObject
*resultobj
= 0;
5967 wxBrush
*arg1
= (wxBrush
*) 0 ;
5971 PyObject
*swig_obj
[1] ;
5973 if (!args
) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5979 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= ((wxBrush
const *)arg1
)->GetColour();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5993 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5994 PyObject
*resultobj
= 0;
5995 wxBrush
*arg1
= (wxBrush
*) 0 ;
5999 PyObject
*swig_obj
[1] ;
6001 if (!args
) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6007 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_From_int(static_cast< int >(result
));
6021 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxBrush
*arg1
= (wxBrush
*) 0 ;
6024 wxBitmap
*result
= 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6035 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6049 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 PyObject
*resultobj
= 0;
6051 wxBrush
*arg1
= (wxBrush
*) 0 ;
6055 PyObject
*swig_obj
[1] ;
6057 if (!args
) SWIG_fail
;
6059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6060 if (!SWIG_IsOK(res1
)) {
6061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6063 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6079 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6080 PyObject
*resultobj
= 0;
6081 wxBrush
*arg1
= (wxBrush
*) 0 ;
6085 PyObject
*swig_obj
[1] ;
6087 if (!args
) SWIG_fail
;
6089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6090 if (!SWIG_IsOK(res1
)) {
6091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6093 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)(arg1
)->IsOk();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6112 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6113 return SWIG_Py_Void();
6116 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6117 return SWIG_Python_InitShadowInstance(args
);
6120 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
= 0;
6122 wxString
*arg1
= 0 ;
6123 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6124 wxBitmap
*result
= 0 ;
6125 bool temp1
= false ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 char * kwnames
[] = {
6131 (char *) "name",(char *) "type", NULL
6134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6136 arg1
= wxString_in_helper(obj0
);
6137 if (arg1
== NULL
) SWIG_fail
;
6141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6142 if (!SWIG_IsOK(ecode2
)) {
6143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6145 arg2
= static_cast< wxBitmapType
>(val2
);
6148 if (!wxPyCheckForApp()) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6169 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6170 PyObject
*resultobj
= 0;
6171 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6174 PyObject
*swig_obj
[1] ;
6176 if (!args
) SWIG_fail
;
6178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6179 if (!SWIG_IsOK(res1
)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6182 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6199 int arg3
= (int) -1 ;
6200 wxBitmap
*result
= 0 ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6209 PyObject
* obj2
= 0 ;
6210 char * kwnames
[] = {
6211 (char *) "width",(char *) "height",(char *) "depth", NULL
6214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6216 if (!SWIG_IsOK(ecode1
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6219 arg1
= static_cast< int >(val1
);
6220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6221 if (!SWIG_IsOK(ecode2
)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6224 arg2
= static_cast< int >(val2
);
6226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6227 if (!SWIG_IsOK(ecode3
)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6230 arg3
= static_cast< int >(val3
);
6233 if (!wxPyCheckForApp()) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6246 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
= 0;
6249 wxBitmap
*result
= 0 ;
6252 PyObject
* obj0
= 0 ;
6253 char * kwnames
[] = {
6254 (char *) "icon", NULL
6257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6258 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6259 if (!SWIG_IsOK(res1
)) {
6260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6265 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6267 if (!wxPyCheckForApp()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6280 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
= 0;
6283 int arg2
= (int) -1 ;
6284 wxBitmap
*result
= 0 ;
6289 PyObject
* obj0
= 0 ;
6290 PyObject
* obj1
= 0 ;
6291 char * kwnames
[] = {
6292 (char *) "image",(char *) "depth", NULL
6295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6303 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6306 if (!SWIG_IsOK(ecode2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6309 arg2
= static_cast< int >(val2
);
6312 if (!wxPyCheckForApp()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6325 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 PyObject
*arg1
= (PyObject
*) 0 ;
6328 wxBitmap
*result
= 0 ;
6329 PyObject
* obj0
= 0 ;
6330 char * kwnames
[] = {
6331 (char *) "listOfStrings", NULL
6334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6337 if (!wxPyCheckForApp()) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6350 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
= 0;
6352 PyObject
*arg1
= (PyObject
*) 0 ;
6355 int arg4
= (int) 1 ;
6356 wxBitmap
*result
= 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6365 PyObject
* obj2
= 0 ;
6366 PyObject
* obj3
= 0 ;
6367 char * kwnames
[] = {
6368 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6374 if (!SWIG_IsOK(ecode2
)) {
6375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6377 arg2
= static_cast< int >(val2
);
6378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6379 if (!SWIG_IsOK(ecode3
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6382 arg3
= static_cast< int >(val3
);
6384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6385 if (!SWIG_IsOK(ecode4
)) {
6386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6388 arg4
= static_cast< int >(val4
);
6391 if (!wxPyCheckForApp()) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6404 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6405 PyObject
*resultobj
= 0;
6406 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6410 PyObject
*swig_obj
[1] ;
6412 if (!args
) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6418 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6420 result
= (long)(arg1
)->GetHandle();
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_From_long(static_cast< long >(result
));
6430 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= 0;
6432 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 char * kwnames
[] = {
6441 (char *) "self",(char *) "handle", NULL
6444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6449 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6451 if (!SWIG_IsOK(ecode2
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6454 arg2
= static_cast< long >(val2
);
6456 wxBitmap_SetHandle(arg1
,arg2
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= SWIG_Py_Void();
6466 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6467 PyObject
*resultobj
= 0;
6468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6472 PyObject
*swig_obj
[1] ;
6474 if (!args
) SWIG_fail
;
6476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6477 if (!SWIG_IsOK(res1
)) {
6478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6480 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6482 result
= (bool)(arg1
)->IsOk();
6483 if (PyErr_Occurred()) SWIG_fail
;
6486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6494 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6495 PyObject
*resultobj
= 0;
6496 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6500 PyObject
*swig_obj
[1] ;
6502 if (!args
) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6508 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 result
= (int)(arg1
)->GetWidth();
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_From_int(static_cast< int >(result
));
6520 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6521 PyObject
*resultobj
= 0;
6522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6526 PyObject
*swig_obj
[1] ;
6528 if (!args
) SWIG_fail
;
6530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6531 if (!SWIG_IsOK(res1
)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6534 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6536 result
= (int)(arg1
)->GetHeight();
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= SWIG_From_int(static_cast< int >(result
));
6546 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6547 PyObject
*resultobj
= 0;
6548 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6552 PyObject
*swig_obj
[1] ;
6554 if (!args
) SWIG_fail
;
6556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6557 if (!SWIG_IsOK(res1
)) {
6558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6560 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6562 result
= (int)(arg1
)->GetDepth();
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= SWIG_From_int(static_cast< int >(result
));
6572 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6573 PyObject
*resultobj
= 0;
6574 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6578 PyObject
*swig_obj
[1] ;
6580 if (!args
) SWIG_fail
;
6582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6583 if (!SWIG_IsOK(res1
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6586 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6588 result
= wxBitmap_GetSize(arg1
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6598 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6601 SwigValueWrapper
<wxImage
> result
;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6612 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6614 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6624 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6625 PyObject
*resultobj
= 0;
6626 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6627 wxMask
*result
= 0 ;
6630 PyObject
*swig_obj
[1] ;
6632 if (!args
) SWIG_fail
;
6634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6635 if (!SWIG_IsOK(res1
)) {
6636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6638 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6640 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6650 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6653 wxMask
*arg2
= (wxMask
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 char * kwnames
[] = {
6660 (char *) "self",(char *) "mask", NULL
6663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6669 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6670 if (!SWIG_IsOK(res2
)) {
6671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6674 (arg1
)->SetMask(arg2
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_Py_Void();
6684 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6687 wxColour
*arg2
= 0 ;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6693 char * kwnames
[] = {
6694 (char *) "self",(char *) "colour", NULL
6697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6699 if (!SWIG_IsOK(res1
)) {
6700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6702 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6708 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_Py_Void();
6718 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
= 0;
6720 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6722 SwigValueWrapper
<wxBitmap
> result
;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6728 char * kwnames
[] = {
6729 (char *) "self",(char *) "rect", NULL
6732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6734 if (!SWIG_IsOK(res1
)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6737 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6740 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6743 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6753 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= 0;
6755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6756 wxString
*arg2
= 0 ;
6758 wxPalette
*arg4
= (wxPalette
*) NULL
;
6762 bool temp2
= false ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 PyObject
* obj2
= 0 ;
6770 PyObject
* obj3
= 0 ;
6771 char * kwnames
[] = {
6772 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6777 if (!SWIG_IsOK(res1
)) {
6778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6780 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6782 arg2
= wxString_in_helper(obj1
);
6783 if (arg2
== NULL
) SWIG_fail
;
6786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6787 if (!SWIG_IsOK(ecode3
)) {
6788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6790 arg3
= static_cast< wxBitmapType
>(val3
);
6792 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6793 if (!SWIG_IsOK(res4
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6796 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6799 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6819 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
= 0;
6821 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6822 wxString
*arg2
= 0 ;
6827 bool temp2
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 char * kwnames
[] = {
6834 (char *) "self",(char *) "name",(char *) "type", NULL
6837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6844 arg2
= wxString_in_helper(obj1
);
6845 if (arg2
== NULL
) SWIG_fail
;
6848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6849 if (!SWIG_IsOK(ecode3
)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6852 arg3
= static_cast< wxBitmapType
>(val3
);
6854 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6874 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6875 PyObject
*resultobj
= 0;
6876 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6877 wxPalette
*result
= 0 ;
6880 PyObject
*swig_obj
[1] ;
6882 if (!args
) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6888 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6890 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6900 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
= 0;
6902 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6903 wxPalette
*arg2
= 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 char * kwnames
[] = {
6911 (char *) "self",(char *) "palette", NULL
6914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6916 if (!SWIG_IsOK(res1
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6919 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6921 if (!SWIG_IsOK(res2
)) {
6922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6927 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6929 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_Py_Void();
6939 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "self",(char *) "icon", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6959 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6961 if (!SWIG_IsOK(res2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6967 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6969 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6981 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
= 0;
6983 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6990 PyObject
* obj1
= 0 ;
6991 char * kwnames
[] = {
6992 (char *) "self",(char *) "height", NULL
6995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7000 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7002 if (!SWIG_IsOK(ecode2
)) {
7003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7005 arg2
= static_cast< int >(val2
);
7007 (arg1
)->SetHeight(arg2
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "width", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7036 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 (arg1
)->SetWidth(arg2
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= SWIG_Py_Void();
7053 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
= 0;
7055 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7063 char * kwnames
[] = {
7064 (char *) "self",(char *) "depth", NULL
7067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7072 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7074 if (!SWIG_IsOK(ecode2
)) {
7075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7077 arg2
= static_cast< int >(val2
);
7079 (arg1
)->SetDepth(arg2
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_Py_Void();
7089 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
= 0;
7091 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7098 char * kwnames
[] = {
7099 (char *) "self",(char *) "size", NULL
7102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7104 if (!SWIG_IsOK(res1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7107 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7110 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7113 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_Py_Void();
7123 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
= 0;
7125 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7126 wxCursor
*arg2
= 0 ;
7132 PyObject
* obj0
= 0 ;
7133 PyObject
* obj1
= 0 ;
7134 char * kwnames
[] = {
7135 (char *) "self",(char *) "cursor", NULL
7138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7143 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7145 if (!SWIG_IsOK(res2
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7151 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7153 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7165 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
= 0;
7167 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "self",(char *) "data", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7181 if (!SWIG_IsOK(res1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7184 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7186 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7190 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_Py_Void();
7200 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
= 0;
7202 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 char * kwnames
[] = {
7211 (char *) "self",(char *) "data", NULL
7214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7216 if (!SWIG_IsOK(res1
)) {
7217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7219 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7221 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7225 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_Py_Void();
7235 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
= 0;
7237 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7238 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7246 char * kwnames
[] = {
7247 (char *) "self",(char *) "other", NULL
7250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7252 if (!SWIG_IsOK(res1
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7255 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7257 if (!SWIG_IsOK(res2
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7260 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7262 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7274 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= 0;
7276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7277 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 char * kwnames
[] = {
7286 (char *) "self",(char *) "other", NULL
7289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7294 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7296 if (!SWIG_IsOK(res2
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7299 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7301 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7313 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7316 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7317 return SWIG_Py_Void();
7320 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 return SWIG_Python_InitShadowInstance(args
);
7324 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7332 wxBitmap
*result
= 0 ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 PyObject
* obj2
= 0 ;
7342 PyObject
* obj3
= 0 ;
7343 char * kwnames
[] = {
7344 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7349 if (!SWIG_IsOK(ecode1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7352 arg1
= static_cast< int >(val1
);
7353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7354 if (!SWIG_IsOK(ecode2
)) {
7355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7357 arg2
= static_cast< int >(val2
);
7359 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7363 if (obj3
!= Py_None
) {
7364 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7369 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7379 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
= 0;
7385 wxBitmap
*result
= 0 ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7393 PyObject
* obj2
= 0 ;
7394 char * kwnames
[] = {
7395 (char *) "width",(char *) "height",(char *) "data", NULL
7398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7400 if (!SWIG_IsOK(ecode1
)) {
7401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7403 arg1
= static_cast< int >(val1
);
7404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7405 if (!SWIG_IsOK(ecode2
)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7408 arg2
= static_cast< int >(val2
);
7410 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7414 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7424 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
= 0;
7430 wxBitmap
*result
= 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7439 char * kwnames
[] = {
7440 (char *) "width",(char *) "height",(char *) "data", NULL
7443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7445 if (!SWIG_IsOK(ecode1
)) {
7446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7448 arg1
= static_cast< int >(val1
);
7449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7450 if (!SWIG_IsOK(ecode2
)) {
7451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7453 arg2
= static_cast< int >(val2
);
7455 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7459 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7469 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7470 PyObject
*resultobj
= 0;
7471 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7475 PyObject
*swig_obj
[1] ;
7477 if (!args
) SWIG_fail
;
7479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7480 if (!SWIG_IsOK(res1
)) {
7481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7483 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7485 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7495 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7496 PyObject
*resultobj
= 0;
7497 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7501 PyObject
*swig_obj
[1] ;
7503 if (!args
) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7509 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7511 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_From_int(static_cast< int >(result
));
7521 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7522 PyObject
*resultobj
= 0;
7523 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7527 PyObject
*swig_obj
[1] ;
7529 if (!args
) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7535 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7537 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_From_int(static_cast< int >(result
));
7547 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7548 PyObject
*resultobj
= 0;
7549 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7553 PyObject
*swig_obj
[1] ;
7555 if (!args
) SWIG_fail
;
7557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7558 if (!SWIG_IsOK(res1
)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7561 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7563 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7573 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7574 PyObject
*resultobj
= 0;
7575 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7579 PyObject
*swig_obj
[1] ;
7581 if (!args
) SWIG_fail
;
7583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7584 if (!SWIG_IsOK(res1
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7587 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7589 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= SWIG_From_int(static_cast< int >(result
));
7599 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7602 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7603 return SWIG_Py_Void();
7606 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7607 PyObject
*resultobj
= 0;
7608 wxBitmap
*arg1
= 0 ;
7609 wxNativePixelData
*result
= 0 ;
7613 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7623 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7633 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7634 PyObject
*resultobj
= 0;
7635 wxBitmap
*arg1
= 0 ;
7637 wxNativePixelData
*result
= 0 ;
7642 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7644 if (!SWIG_IsOK(res1
)) {
7645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7650 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7653 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7656 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7666 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7667 PyObject
*resultobj
= 0;
7668 wxBitmap
*arg1
= 0 ;
7671 wxNativePixelData
*result
= 0 ;
7677 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7685 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7688 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7692 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7695 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7705 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7709 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7712 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7715 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7718 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7722 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7727 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 PyObject
*resultobj
= 0;
7729 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7732 PyObject
*swig_obj
[1] ;
7734 if (!args
) SWIG_fail
;
7736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7737 if (!SWIG_IsOK(res1
)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7740 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_Py_Void();
7753 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7754 PyObject
*resultobj
= 0;
7755 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7756 wxNativePixelData_Accessor result
;
7759 PyObject
*swig_obj
[1] ;
7761 if (!args
) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7767 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7769 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7779 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7780 PyObject
*resultobj
= 0;
7781 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7784 PyObject
*swig_obj
[1] ;
7786 if (!args
) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7792 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_Py_Void();
7804 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7806 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7810 PyObject
*swig_obj
[1] ;
7812 if (!args
) SWIG_fail
;
7814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7815 if (!SWIG_IsOK(res1
)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7818 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7820 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7832 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7835 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7836 return SWIG_Py_Void();
7839 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 return SWIG_Python_InitShadowInstance(args
);
7843 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7844 PyObject
*resultobj
= 0;
7845 wxNativePixelData
*arg1
= 0 ;
7846 wxNativePixelData_Accessor
*result
= 0 ;
7850 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7858 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7860 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7870 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7871 PyObject
*resultobj
= 0;
7872 wxBitmap
*arg1
= 0 ;
7873 wxNativePixelData
*arg2
= 0 ;
7874 wxNativePixelData_Accessor
*result
= 0 ;
7880 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7888 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7896 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7898 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
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__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7909 PyObject
*resultobj
= 0;
7910 wxNativePixelData_Accessor
*result
= 0 ;
7912 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7914 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7924 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7928 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7931 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7934 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7937 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7941 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7946 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7947 PyObject
*resultobj
= 0;
7948 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7951 PyObject
*swig_obj
[1] ;
7953 if (!args
) SWIG_fail
;
7955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7956 if (!SWIG_IsOK(res1
)) {
7957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7959 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= SWIG_Py_Void();
7972 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
= 0;
7974 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7975 wxNativePixelData
*arg2
= 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7982 char * kwnames
[] = {
7983 (char *) "self",(char *) "data", NULL
7986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7988 if (!SWIG_IsOK(res1
)) {
7989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7991 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7993 if (!SWIG_IsOK(res2
)) {
7994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7999 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8001 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_Py_Void();
8011 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 PyObject
*resultobj
= 0;
8013 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8017 PyObject
*swig_obj
[1] ;
8019 if (!args
) SWIG_fail
;
8021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8022 if (!SWIG_IsOK(res1
)) {
8023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8025 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8027 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8039 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8040 PyObject
*resultobj
= 0;
8041 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8044 PyObject
*swig_obj
[1] ;
8046 if (!args
) SWIG_fail
;
8048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8049 if (!SWIG_IsOK(res1
)) {
8050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8052 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8054 wxNativePixelData_Accessor_nextPixel(arg1
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_Py_Void();
8064 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8067 wxNativePixelData
*arg2
= 0 ;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8080 PyObject
* obj2
= 0 ;
8081 PyObject
* obj3
= 0 ;
8082 char * kwnames
[] = {
8083 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8091 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8093 if (!SWIG_IsOK(res2
)) {
8094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8099 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8101 if (!SWIG_IsOK(ecode3
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8104 arg3
= static_cast< int >(val3
);
8105 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8106 if (!SWIG_IsOK(ecode4
)) {
8107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8109 arg4
= static_cast< int >(val4
);
8111 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_Py_Void();
8121 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
= 0;
8123 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8124 wxNativePixelData
*arg2
= 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 PyObject
* obj2
= 0 ;
8135 char * kwnames
[] = {
8136 (char *) "self",(char *) "data",(char *) "x", NULL
8139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8141 if (!SWIG_IsOK(res1
)) {
8142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8144 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8146 if (!SWIG_IsOK(res2
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8152 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8154 if (!SWIG_IsOK(ecode3
)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8157 arg3
= static_cast< int >(val3
);
8159 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_Py_Void();
8169 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
= 0;
8171 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8172 wxNativePixelData
*arg2
= 0 ;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 PyObject
* obj2
= 0 ;
8183 char * kwnames
[] = {
8184 (char *) "self",(char *) "data",(char *) "y", NULL
8187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8189 if (!SWIG_IsOK(res1
)) {
8190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8192 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8194 if (!SWIG_IsOK(res2
)) {
8195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8200 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8202 if (!SWIG_IsOK(ecode3
)) {
8203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8205 arg3
= static_cast< int >(val3
);
8207 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_Py_Void();
8217 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
= 0;
8219 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8220 wxNativePixelData
*arg2
= 0 ;
8231 PyObject
* obj0
= 0 ;
8232 PyObject
* obj1
= 0 ;
8233 PyObject
* obj2
= 0 ;
8234 PyObject
* obj3
= 0 ;
8235 char * kwnames
[] = {
8236 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8241 if (!SWIG_IsOK(res1
)) {
8242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8244 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8246 if (!SWIG_IsOK(res2
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8252 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8254 if (!SWIG_IsOK(ecode3
)) {
8255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8257 arg3
= static_cast< int >(val3
);
8258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8259 if (!SWIG_IsOK(ecode4
)) {
8260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8262 arg4
= static_cast< int >(val4
);
8264 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= SWIG_Py_Void();
8274 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
= 0;
8276 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8282 unsigned char val2
;
8284 unsigned char val3
;
8286 unsigned char val4
;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8290 PyObject
* obj2
= 0 ;
8291 PyObject
* obj3
= 0 ;
8292 char * kwnames
[] = {
8293 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8298 if (!SWIG_IsOK(res1
)) {
8299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8301 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8302 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8303 if (!SWIG_IsOK(ecode2
)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8306 arg2
= static_cast< byte
>(val2
);
8307 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8308 if (!SWIG_IsOK(ecode3
)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8311 arg3
= static_cast< byte
>(val3
);
8312 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8313 if (!SWIG_IsOK(ecode4
)) {
8314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8316 arg4
= static_cast< byte
>(val4
);
8318 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_Py_Void();
8328 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8329 PyObject
*resultobj
= 0;
8330 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8331 PyObject
*result
= 0 ;
8334 PyObject
*swig_obj
[1] ;
8336 if (!args
) SWIG_fail
;
8338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8339 if (!SWIG_IsOK(res1
)) {
8340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8342 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8344 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8354 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8357 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8358 return SWIG_Py_Void();
8361 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8362 return SWIG_Python_InitShadowInstance(args
);
8365 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8366 PyObject
*resultobj
= 0;
8367 wxBitmap
*arg1
= 0 ;
8368 wxAlphaPixelData
*result
= 0 ;
8372 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8380 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8382 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8392 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8393 PyObject
*resultobj
= 0;
8394 wxBitmap
*arg1
= 0 ;
8396 wxAlphaPixelData
*result
= 0 ;
8401 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8403 if (!SWIG_IsOK(res1
)) {
8404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8409 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8412 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8415 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8425 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8426 PyObject
*resultobj
= 0;
8427 wxBitmap
*arg1
= 0 ;
8430 wxAlphaPixelData
*result
= 0 ;
8436 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8444 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8447 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8451 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8454 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8464 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8468 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8471 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8474 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8477 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8481 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8486 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8487 PyObject
*resultobj
= 0;
8488 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8491 PyObject
*swig_obj
[1] ;
8493 if (!args
) SWIG_fail
;
8495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8496 if (!SWIG_IsOK(res1
)) {
8497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8499 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_Py_Void();
8512 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8513 PyObject
*resultobj
= 0;
8514 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8515 wxAlphaPixelData_Accessor result
;
8518 PyObject
*swig_obj
[1] ;
8520 if (!args
) SWIG_fail
;
8522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8523 if (!SWIG_IsOK(res1
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8526 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8528 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8538 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8539 PyObject
*resultobj
= 0;
8540 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8543 PyObject
*swig_obj
[1] ;
8545 if (!args
) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8551 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_Py_Void();
8563 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8564 PyObject
*resultobj
= 0;
8565 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8569 PyObject
*swig_obj
[1] ;
8571 if (!args
) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8577 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8579 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8591 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8594 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8595 return SWIG_Py_Void();
8598 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8599 return SWIG_Python_InitShadowInstance(args
);
8602 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8603 PyObject
*resultobj
= 0;
8604 wxAlphaPixelData
*arg1
= 0 ;
8605 wxAlphaPixelData_Accessor
*result
= 0 ;
8609 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8617 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8619 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8629 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8630 PyObject
*resultobj
= 0;
8631 wxBitmap
*arg1
= 0 ;
8632 wxAlphaPixelData
*arg2
= 0 ;
8633 wxAlphaPixelData_Accessor
*result
= 0 ;
8639 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8641 if (!SWIG_IsOK(res1
)) {
8642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8647 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8648 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8649 if (!SWIG_IsOK(res2
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8655 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8657 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
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__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8668 PyObject
*resultobj
= 0;
8669 wxAlphaPixelData_Accessor
*result
= 0 ;
8671 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8673 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8683 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8687 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8690 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8693 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8696 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8700 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8705 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8706 PyObject
*resultobj
= 0;
8707 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8710 PyObject
*swig_obj
[1] ;
8712 if (!args
) SWIG_fail
;
8714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8715 if (!SWIG_IsOK(res1
)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8718 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_Py_Void();
8731 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
= 0;
8733 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8734 wxAlphaPixelData
*arg2
= 0 ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 char * kwnames
[] = {
8742 (char *) "self",(char *) "data", NULL
8745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8747 if (!SWIG_IsOK(res1
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8750 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8752 if (!SWIG_IsOK(res2
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8758 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8760 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 resultobj
= SWIG_Py_Void();
8770 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8771 PyObject
*resultobj
= 0;
8772 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8776 PyObject
*swig_obj
[1] ;
8778 if (!args
) SWIG_fail
;
8780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8781 if (!SWIG_IsOK(res1
)) {
8782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8784 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8786 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8799 PyObject
*resultobj
= 0;
8800 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8803 PyObject
*swig_obj
[1] ;
8805 if (!args
) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8811 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8813 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_Py_Void();
8823 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8826 wxAlphaPixelData
*arg2
= 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8840 PyObject
* obj3
= 0 ;
8841 char * kwnames
[] = {
8842 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8847 if (!SWIG_IsOK(res1
)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8850 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8852 if (!SWIG_IsOK(res2
)) {
8853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8858 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8860 if (!SWIG_IsOK(ecode3
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8863 arg3
= static_cast< int >(val3
);
8864 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8865 if (!SWIG_IsOK(ecode4
)) {
8866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8868 arg4
= static_cast< int >(val4
);
8870 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_Py_Void();
8880 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8883 wxAlphaPixelData
*arg2
= 0 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "self",(char *) "data",(char *) "x", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8903 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8905 if (!SWIG_IsOK(res2
)) {
8906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8911 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8913 if (!SWIG_IsOK(ecode3
)) {
8914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8916 arg3
= static_cast< int >(val3
);
8918 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8928 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
= 0;
8930 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8931 wxAlphaPixelData
*arg2
= 0 ;
8939 PyObject
* obj0
= 0 ;
8940 PyObject
* obj1
= 0 ;
8941 PyObject
* obj2
= 0 ;
8942 char * kwnames
[] = {
8943 (char *) "self",(char *) "data",(char *) "y", NULL
8946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8951 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8953 if (!SWIG_IsOK(res2
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8959 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8961 if (!SWIG_IsOK(ecode3
)) {
8962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8964 arg3
= static_cast< int >(val3
);
8966 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= SWIG_Py_Void();
8976 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
= 0;
8978 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8979 wxAlphaPixelData
*arg2
= 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 PyObject
* obj2
= 0 ;
8993 PyObject
* obj3
= 0 ;
8994 char * kwnames
[] = {
8995 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9003 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9005 if (!SWIG_IsOK(res2
)) {
9006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9011 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9013 if (!SWIG_IsOK(ecode3
)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9016 arg3
= static_cast< int >(val3
);
9017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9018 if (!SWIG_IsOK(ecode4
)) {
9019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9021 arg4
= static_cast< int >(val4
);
9023 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= SWIG_Py_Void();
9033 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
= 0;
9035 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9042 unsigned char val2
;
9044 unsigned char val3
;
9046 unsigned char val4
;
9048 unsigned char val5
;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 PyObject
* obj2
= 0 ;
9053 PyObject
* obj3
= 0 ;
9054 PyObject
* obj4
= 0 ;
9055 char * kwnames
[] = {
9056 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9061 if (!SWIG_IsOK(res1
)) {
9062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9064 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9065 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9066 if (!SWIG_IsOK(ecode2
)) {
9067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9069 arg2
= static_cast< byte
>(val2
);
9070 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9071 if (!SWIG_IsOK(ecode3
)) {
9072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9074 arg3
= static_cast< byte
>(val3
);
9075 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9076 if (!SWIG_IsOK(ecode4
)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9079 arg4
= static_cast< byte
>(val4
);
9080 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9081 if (!SWIG_IsOK(ecode5
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9084 arg5
= static_cast< byte
>(val5
);
9086 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_Py_Void();
9096 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9097 PyObject
*resultobj
= 0;
9098 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9099 PyObject
*result
= 0 ;
9102 PyObject
*swig_obj
[1] ;
9104 if (!args
) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9110 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9112 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9122 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9125 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9126 return SWIG_Py_Void();
9129 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9130 return SWIG_Python_InitShadowInstance(args
);
9133 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
= 0;
9135 wxBitmap
*arg1
= 0 ;
9136 wxColour
const &arg2_defvalue
= wxNullColour
;
9137 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9138 wxMask
*result
= 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 char * kwnames
[] = {
9145 (char *) "bitmap",(char *) "colour", NULL
9148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9149 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9150 if (!SWIG_IsOK(res1
)) {
9151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9156 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9160 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9164 if (!wxPyCheckForApp()) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9177 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9178 PyObject
*resultobj
= 0;
9179 wxMask
*arg1
= (wxMask
*) 0 ;
9182 PyObject
*swig_obj
[1] ;
9184 if (!args
) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9190 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_Py_Void();
9203 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9206 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9207 return SWIG_Py_Void();
9210 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9211 return SWIG_Python_InitShadowInstance(args
);
9214 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxString
*arg1
= 0 ;
9218 int arg3
= (int) -1 ;
9219 int arg4
= (int) -1 ;
9220 wxIcon
*result
= 0 ;
9221 bool temp1
= false ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9230 PyObject
* obj2
= 0 ;
9231 PyObject
* obj3
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9238 arg1
= wxString_in_helper(obj0
);
9239 if (arg1
== NULL
) SWIG_fail
;
9242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9243 if (!SWIG_IsOK(ecode2
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9246 arg2
= static_cast< wxBitmapType
>(val2
);
9248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9249 if (!SWIG_IsOK(ecode3
)) {
9250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9252 arg3
= static_cast< int >(val3
);
9255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9256 if (!SWIG_IsOK(ecode4
)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9259 arg4
= static_cast< int >(val4
);
9262 if (!wxPyCheckForApp()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9283 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxIcon
*arg1
= (wxIcon
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9296 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIcon
*result
= 0 ;
9315 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9317 if (!wxPyCheckForApp()) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (wxIcon
*)new wxIcon();
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9330 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= 0;
9332 wxIconLocation
*arg1
= 0 ;
9333 wxIcon
*result
= 0 ;
9336 PyObject
* obj0
= 0 ;
9337 char * kwnames
[] = {
9338 (char *) "loc", NULL
9341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9342 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9343 if (!SWIG_IsOK(res1
)) {
9344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9349 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9351 if (!wxPyCheckForApp()) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9364 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
= 0;
9366 wxBitmap
*arg1
= 0 ;
9367 wxIcon
*result
= 0 ;
9370 PyObject
* obj0
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "bmp", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9383 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9385 if (!wxPyCheckForApp()) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9398 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
= 0;
9400 PyObject
*arg1
= (PyObject
*) 0 ;
9401 wxIcon
*result
= 0 ;
9402 PyObject
* obj0
= 0 ;
9403 char * kwnames
[] = {
9404 (char *) "listOfStrings", NULL
9407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9410 if (!wxPyCheckForApp()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxIcon
*)new_wxIcon(arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9423 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxIcon
*arg1
= (wxIcon
*) 0 ;
9426 wxString
*arg2
= 0 ;
9431 bool temp2
= false ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 PyObject
* obj2
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "self",(char *) "name",(char *) "type", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9446 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9448 arg2
= wxString_in_helper(obj1
);
9449 if (arg2
== NULL
) SWIG_fail
;
9452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9453 if (!SWIG_IsOK(ecode3
)) {
9454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9456 arg3
= static_cast< wxBitmapType
>(val3
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9480 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxIcon
*arg1
= (wxIcon
*) 0 ;
9486 PyObject
*swig_obj
[1] ;
9488 if (!args
) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9494 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (long)(arg1
)->GetHandle();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_long(static_cast< long >(result
));
9508 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
= 0;
9510 wxIcon
*arg1
= (wxIcon
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "handle", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9527 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9528 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9529 if (!SWIG_IsOK(ecode2
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9532 arg2
= static_cast< long >(val2
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 wxIcon_SetHandle(arg1
,arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_Py_Void();
9546 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9547 PyObject
*resultobj
= 0;
9548 wxIcon
*arg1
= (wxIcon
*) 0 ;
9552 PyObject
*swig_obj
[1] ;
9554 if (!args
) SWIG_fail
;
9556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9557 if (!SWIG_IsOK(res1
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9560 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (bool)(arg1
)->IsOk();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9576 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9577 PyObject
*resultobj
= 0;
9578 wxIcon
*arg1
= (wxIcon
*) 0 ;
9582 PyObject
*swig_obj
[1] ;
9584 if (!args
) SWIG_fail
;
9586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9587 if (!SWIG_IsOK(res1
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9590 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (int)(arg1
)->GetWidth();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_From_int(static_cast< int >(result
));
9604 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9605 PyObject
*resultobj
= 0;
9606 wxIcon
*arg1
= (wxIcon
*) 0 ;
9610 PyObject
*swig_obj
[1] ;
9612 if (!args
) SWIG_fail
;
9614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9615 if (!SWIG_IsOK(res1
)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9618 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (int)(arg1
)->GetHeight();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_From_int(static_cast< int >(result
));
9632 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9633 PyObject
*resultobj
= 0;
9634 wxIcon
*arg1
= (wxIcon
*) 0 ;
9638 PyObject
*swig_obj
[1] ;
9640 if (!args
) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9646 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (int)(arg1
)->GetDepth();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_From_int(static_cast< int >(result
));
9660 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
= 0;
9662 wxIcon
*arg1
= (wxIcon
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9670 char * kwnames
[] = {
9671 (char *) "self",(char *) "w", NULL
9674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9679 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9681 if (!SWIG_IsOK(ecode2
)) {
9682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9684 arg2
= static_cast< int >(val2
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 (arg1
)->SetWidth(arg2
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_Py_Void();
9698 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxIcon
*arg1
= (wxIcon
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "h", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9717 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9719 if (!SWIG_IsOK(ecode2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9722 arg2
= static_cast< int >(val2
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetHeight(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9736 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
= 0;
9738 wxIcon
*arg1
= (wxIcon
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9746 char * kwnames
[] = {
9747 (char *) "self",(char *) "d", NULL
9750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9752 if (!SWIG_IsOK(res1
)) {
9753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9755 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9757 if (!SWIG_IsOK(ecode2
)) {
9758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9760 arg2
= static_cast< int >(val2
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 (arg1
)->SetDepth(arg2
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_Py_Void();
9774 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxIcon
*arg1
= (wxIcon
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "size", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9792 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9795 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->SetSize((wxSize
const &)*arg2
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_Py_Void();
9810 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxIcon
*arg1
= (wxIcon
*) 0 ;
9813 wxBitmap
*arg2
= 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "bmp", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9829 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9831 if (!SWIG_IsOK(res2
)) {
9832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9837 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_Py_Void();
9851 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9854 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9855 return SWIG_Py_Void();
9858 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 return SWIG_Python_InitShadowInstance(args
);
9862 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9865 int arg2
= (int) 0 ;
9866 wxIconLocation
*result
= 0 ;
9867 bool temp1
= false ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "filename",(char *) "num", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9879 arg1
= wxString_in_helper(obj0
);
9880 if (arg1
== NULL
) SWIG_fail
;
9885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9889 arg2
= static_cast< int >(val2
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9912 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9913 PyObject
*resultobj
= 0;
9914 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9917 PyObject
*swig_obj
[1] ;
9919 if (!args
) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9925 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_Py_Void();
9940 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9941 PyObject
*resultobj
= 0;
9942 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9946 PyObject
*swig_obj
[1] ;
9948 if (!args
) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9954 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9970 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
= 0;
9972 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9973 wxString
*arg2
= 0 ;
9976 bool temp2
= false ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 char * kwnames
[] = {
9980 (char *) "self",(char *) "filename", NULL
9983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9985 if (!SWIG_IsOK(res1
)) {
9986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9988 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9990 arg2
= wxString_in_helper(obj1
);
9991 if (arg2
== NULL
) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetFileName((wxString
const &)*arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_Py_Void();
10015 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10016 PyObject
*resultobj
= 0;
10017 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10018 wxString
*result
= 0 ;
10021 PyObject
*swig_obj
[1] ;
10023 if (!args
) SWIG_fail
;
10024 swig_obj
[0] = args
;
10025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10029 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10034 result
= (wxString
*) &_result_ref
;
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10052 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
= 0;
10054 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char * kwnames
[] = {
10063 (char *) "self",(char *) "num", NULL
10066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10068 if (!SWIG_IsOK(res1
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10071 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10073 if (!SWIG_IsOK(ecode2
)) {
10074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10076 arg2
= static_cast< int >(val2
);
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 wxIconLocation_SetIndex(arg1
,arg2
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_Py_Void();
10090 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10091 PyObject
*resultobj
= 0;
10092 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10096 PyObject
*swig_obj
[1] ;
10098 if (!args
) SWIG_fail
;
10099 swig_obj
[0] = args
;
10100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10101 if (!SWIG_IsOK(res1
)) {
10102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10104 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (int)wxIconLocation_GetIndex(arg1
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_From_int(static_cast< int >(result
));
10118 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10121 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10122 return SWIG_Py_Void();
10125 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10126 return SWIG_Python_InitShadowInstance(args
);
10129 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10130 PyObject
*resultobj
= 0;
10131 wxIconBundle
*result
= 0 ;
10133 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (wxIconBundle
*)new wxIconBundle();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10147 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
= 0;
10149 wxString
*arg1
= 0 ;
10151 wxIconBundle
*result
= 0 ;
10152 bool temp1
= false ;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 char * kwnames
[] = {
10158 (char *) "file",(char *) "type", NULL
10161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10163 arg1
= wxString_in_helper(obj0
);
10164 if (arg1
== NULL
) SWIG_fail
;
10167 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10168 if (!SWIG_IsOK(ecode2
)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10171 arg2
= static_cast< long >(val2
);
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10193 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
= 0;
10196 wxIconBundle
*result
= 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char * kwnames
[] = {
10201 (char *) "icon", NULL
10204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10205 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10212 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10226 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10227 PyObject
*resultobj
= 0;
10228 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10231 PyObject
*swig_obj
[1] ;
10233 if (!args
) SWIG_fail
;
10234 swig_obj
[0] = args
;
10235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10239 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_Py_Void();
10254 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
= 0;
10256 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 char * kwnames
[] = {
10265 (char *) "self",(char *) "icon", NULL
10268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10273 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10275 if (!SWIG_IsOK(res2
)) {
10276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10281 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_Py_Void();
10295 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10298 wxString
*arg2
= 0 ;
10302 bool temp2
= false ;
10305 PyObject
* obj0
= 0 ;
10306 PyObject
* obj1
= 0 ;
10307 PyObject
* obj2
= 0 ;
10308 char * kwnames
[] = {
10309 (char *) "self",(char *) "file",(char *) "type", NULL
10312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10314 if (!SWIG_IsOK(res1
)) {
10315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10317 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10319 arg2
= wxString_in_helper(obj1
);
10320 if (arg2
== NULL
) SWIG_fail
;
10323 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10324 if (!SWIG_IsOK(ecode3
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10327 arg3
= static_cast< long >(val3
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_Py_Void();
10349 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10353 wxIcon
*result
= 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "size", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10368 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10377 result
= (wxIcon
*) &_result_ref
;
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10383 wxIcon
* resultptr
= new wxIcon(*result
);
10384 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10392 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10395 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10396 return SWIG_Py_Void();
10399 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10400 return SWIG_Python_InitShadowInstance(args
);
10403 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxString
*arg1
= 0 ;
10407 int arg3
= (int) 0 ;
10408 int arg4
= (int) 0 ;
10409 wxCursor
*result
= 0 ;
10410 bool temp1
= false ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 PyObject
* obj2
= 0 ;
10420 PyObject
* obj3
= 0 ;
10421 char * kwnames
[] = {
10422 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10427 arg1
= wxString_in_helper(obj0
);
10428 if (arg1
== NULL
) SWIG_fail
;
10431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10432 if (!SWIG_IsOK(ecode2
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10435 arg2
= static_cast< long >(val2
);
10437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10438 if (!SWIG_IsOK(ecode3
)) {
10439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10441 arg3
= static_cast< int >(val3
);
10444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10445 if (!SWIG_IsOK(ecode4
)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10448 arg4
= static_cast< int >(val4
);
10451 if (!wxPyCheckForApp()) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10472 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10473 PyObject
*resultobj
= 0;
10474 wxCursor
*arg1
= (wxCursor
*) 0 ;
10477 PyObject
*swig_obj
[1] ;
10479 if (!args
) SWIG_fail
;
10480 swig_obj
[0] = args
;
10481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10482 if (!SWIG_IsOK(res1
)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10485 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_Py_Void();
10500 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
= 0;
10503 wxCursor
*result
= 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char * kwnames
[] = {
10508 (char *) "id", NULL
10511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10512 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10513 if (!SWIG_IsOK(ecode1
)) {
10514 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10516 arg1
= static_cast< int >(val1
);
10518 if (!wxPyCheckForApp()) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (wxCursor
*)new wxCursor(arg1
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10531 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
= 0;
10533 wxImage
*arg1
= 0 ;
10534 wxCursor
*result
= 0 ;
10537 PyObject
* obj0
= 0 ;
10538 char * kwnames
[] = {
10539 (char *) "image", NULL
10542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10543 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10544 if (!SWIG_IsOK(res1
)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10550 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10552 if (!wxPyCheckForApp()) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10565 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10566 PyObject
*resultobj
= 0;
10567 wxCursor
*arg1
= (wxCursor
*) 0 ;
10571 PyObject
*swig_obj
[1] ;
10573 if (!args
) SWIG_fail
;
10574 swig_obj
[0] = args
;
10575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10576 if (!SWIG_IsOK(res1
)) {
10577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10579 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= (long)(arg1
)->GetHandle();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_From_long(static_cast< long >(result
));
10593 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
= 0;
10595 wxCursor
*arg1
= (wxCursor
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 PyObject
* obj1
= 0 ;
10603 char * kwnames
[] = {
10604 (char *) "self",(char *) "handle", NULL
10607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10612 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10613 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10614 if (!SWIG_IsOK(ecode2
)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10617 arg2
= static_cast< long >(val2
);
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 wxCursor_SetHandle(arg1
,arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_Py_Void();
10631 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10632 PyObject
*resultobj
= 0;
10633 wxCursor
*arg1
= (wxCursor
*) 0 ;
10637 PyObject
*swig_obj
[1] ;
10639 if (!args
) SWIG_fail
;
10640 swig_obj
[0] = args
;
10641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10642 if (!SWIG_IsOK(res1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10645 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (bool)(arg1
)->IsOk();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10661 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10662 PyObject
*resultobj
= 0;
10663 wxCursor
*arg1
= (wxCursor
*) 0 ;
10667 PyObject
*swig_obj
[1] ;
10669 if (!args
) SWIG_fail
;
10670 swig_obj
[0] = args
;
10671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10672 if (!SWIG_IsOK(res1
)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10675 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (int)(arg1
)->GetWidth();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= SWIG_From_int(static_cast< int >(result
));
10689 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10690 PyObject
*resultobj
= 0;
10691 wxCursor
*arg1
= (wxCursor
*) 0 ;
10695 PyObject
*swig_obj
[1] ;
10697 if (!args
) SWIG_fail
;
10698 swig_obj
[0] = args
;
10699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10700 if (!SWIG_IsOK(res1
)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10703 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (int)(arg1
)->GetHeight();
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_From_int(static_cast< int >(result
));
10717 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10718 PyObject
*resultobj
= 0;
10719 wxCursor
*arg1
= (wxCursor
*) 0 ;
10723 PyObject
*swig_obj
[1] ;
10725 if (!args
) SWIG_fail
;
10726 swig_obj
[0] = args
;
10727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10728 if (!SWIG_IsOK(res1
)) {
10729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10731 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (int)(arg1
)->GetDepth();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_From_int(static_cast< int >(result
));
10745 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
= 0;
10747 wxCursor
*arg1
= (wxCursor
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char * kwnames
[] = {
10756 (char *) "self",(char *) "w", NULL
10759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10761 if (!SWIG_IsOK(res1
)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10764 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10766 if (!SWIG_IsOK(ecode2
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10769 arg2
= static_cast< int >(val2
);
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->SetWidth(arg2
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_Py_Void();
10783 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
= 0;
10785 wxCursor
*arg1
= (wxCursor
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char * kwnames
[] = {
10794 (char *) "self",(char *) "h", NULL
10797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10802 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10804 if (!SWIG_IsOK(ecode2
)) {
10805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10807 arg2
= static_cast< int >(val2
);
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 (arg1
)->SetHeight(arg2
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_Py_Void();
10821 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
= 0;
10823 wxCursor
*arg1
= (wxCursor
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char * kwnames
[] = {
10832 (char *) "self",(char *) "d", NULL
10835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10837 if (!SWIG_IsOK(res1
)) {
10838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10840 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10842 if (!SWIG_IsOK(ecode2
)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10845 arg2
= static_cast< int >(val2
);
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 (arg1
)->SetDepth(arg2
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_Py_Void();
10859 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
= 0;
10861 wxCursor
*arg1
= (wxCursor
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char * kwnames
[] = {
10869 (char *) "self",(char *) "size", NULL
10872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10874 if (!SWIG_IsOK(res1
)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10877 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10880 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SetSize((wxSize
const &)*arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10898 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10899 return SWIG_Py_Void();
10902 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10903 return SWIG_Python_InitShadowInstance(args
);
10906 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 int arg1
= (int) 0 ;
10909 int arg2
= (int) 0 ;
10910 int arg3
= (int) 0 ;
10911 int arg4
= (int) 0 ;
10912 wxRegion
*result
= 0 ;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 PyObject
* obj2
= 0 ;
10924 PyObject
* obj3
= 0 ;
10925 char * kwnames
[] = {
10926 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10931 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10932 if (!SWIG_IsOK(ecode1
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10935 arg1
= static_cast< int >(val1
);
10938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10939 if (!SWIG_IsOK(ecode2
)) {
10940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10942 arg2
= static_cast< int >(val2
);
10945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10946 if (!SWIG_IsOK(ecode3
)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10949 arg3
= static_cast< int >(val3
);
10952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10953 if (!SWIG_IsOK(ecode4
)) {
10954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10956 arg4
= static_cast< int >(val4
);
10959 if (!wxPyCheckForApp()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10972 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxBitmap
*arg1
= 0 ;
10975 wxRegion
*result
= 0 ;
10978 PyObject
* obj0
= 0 ;
10979 char * kwnames
[] = {
10980 (char *) "bmp", NULL
10983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10984 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10985 if (!SWIG_IsOK(res1
)) {
10986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10991 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10993 if (!wxPyCheckForApp()) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11006 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
= 0;
11008 wxBitmap
*arg1
= 0 ;
11009 wxColour
*arg2
= 0 ;
11010 int arg3
= (int) 0 ;
11011 wxRegion
*result
= 0 ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char * kwnames
[] = {
11021 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11025 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11032 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11039 if (!SWIG_IsOK(ecode3
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11042 arg3
= static_cast< int >(val3
);
11045 if (!wxPyCheckForApp()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11058 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11061 wxPoint
*arg2
= (wxPoint
*) 0 ;
11062 int arg3
= (int) wxWINDING_RULE
;
11063 wxRegion
*result
= 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char * kwnames
[] = {
11069 (char *) "points",(char *) "fillStyle", NULL
11072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11074 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11075 if (arg2
== NULL
) SWIG_fail
;
11078 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11079 if (!SWIG_IsOK(ecode3
)) {
11080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11082 arg3
= static_cast< int >(val3
);
11085 if (!wxPyCheckForApp()) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11093 if (arg2
) delete [] arg2
;
11098 if (arg2
) delete [] arg2
;
11104 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11105 PyObject
*resultobj
= 0;
11106 wxRegion
*arg1
= (wxRegion
*) 0 ;
11109 PyObject
*swig_obj
[1] ;
11111 if (!args
) SWIG_fail
;
11112 swig_obj
[0] = args
;
11113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11114 if (!SWIG_IsOK(res1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11117 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= SWIG_Py_Void();
11132 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11133 PyObject
*resultobj
= 0;
11134 wxRegion
*arg1
= (wxRegion
*) 0 ;
11137 PyObject
*swig_obj
[1] ;
11139 if (!args
) SWIG_fail
;
11140 swig_obj
[0] = args
;
11141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11145 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= SWIG_Py_Void();
11159 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
= 0;
11161 wxRegion
*arg1
= (wxRegion
*) 0 ;
11171 PyObject
* obj0
= 0 ;
11172 PyObject
* obj1
= 0 ;
11173 PyObject
* obj2
= 0 ;
11174 char * kwnames
[] = {
11175 (char *) "self",(char *) "x",(char *) "y", NULL
11178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11185 if (!SWIG_IsOK(ecode2
)) {
11186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11188 arg2
= static_cast< int >(val2
);
11189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11190 if (!SWIG_IsOK(ecode3
)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11193 arg3
= static_cast< int >(val3
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11209 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxRegion
*arg1
= (wxRegion
*) 0 ;
11214 wxRegionContain result
;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 char * kwnames
[] = {
11225 (char *) "self",(char *) "x",(char *) "y", NULL
11228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11233 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11235 if (!SWIG_IsOK(ecode2
)) {
11236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11238 arg2
= static_cast< int >(val2
);
11239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11240 if (!SWIG_IsOK(ecode3
)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11243 arg3
= static_cast< int >(val3
);
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= SWIG_From_int(static_cast< int >(result
));
11257 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
= 0;
11259 wxRegion
*arg1
= (wxRegion
*) 0 ;
11260 wxPoint
*arg2
= 0 ;
11261 wxRegionContain result
;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char * kwnames
[] = {
11268 (char *) "self",(char *) "pt", NULL
11271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11276 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_From_int(static_cast< int >(result
));
11294 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
= 0;
11296 wxRegion
*arg1
= (wxRegion
*) 0 ;
11298 wxRegionContain result
;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "self",(char *) "rect", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11313 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_From_int(static_cast< int >(result
));
11331 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
= 0;
11333 wxRegion
*arg1
= (wxRegion
*) 0 ;
11338 wxRegionContain result
;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 PyObject
* obj2
= 0 ;
11352 PyObject
* obj3
= 0 ;
11353 PyObject
* obj4
= 0 ;
11354 char * kwnames
[] = {
11355 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11360 if (!SWIG_IsOK(res1
)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11363 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11365 if (!SWIG_IsOK(ecode2
)) {
11366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11368 arg2
= static_cast< int >(val2
);
11369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11370 if (!SWIG_IsOK(ecode3
)) {
11371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11373 arg3
= static_cast< int >(val3
);
11374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11375 if (!SWIG_IsOK(ecode4
)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11378 arg4
= static_cast< int >(val4
);
11379 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11380 if (!SWIG_IsOK(ecode5
)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11383 arg5
= static_cast< int >(val5
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_int(static_cast< int >(result
));
11397 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxRegion
*arg1
= (wxRegion
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11411 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (arg1
)->GetBox();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11425 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
= 0;
11427 wxRegion
*arg1
= (wxRegion
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 PyObject
* obj3
= 0 ;
11447 PyObject
* obj4
= 0 ;
11448 char * kwnames
[] = {
11449 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11454 if (!SWIG_IsOK(res1
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11457 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11459 if (!SWIG_IsOK(ecode2
)) {
11460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11462 arg2
= static_cast< int >(val2
);
11463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11464 if (!SWIG_IsOK(ecode3
)) {
11465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11467 arg3
= static_cast< int >(val3
);
11468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11469 if (!SWIG_IsOK(ecode4
)) {
11470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11472 arg4
= static_cast< int >(val4
);
11473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11474 if (!SWIG_IsOK(ecode5
)) {
11475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11477 arg5
= static_cast< int >(val5
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11493 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
= 0;
11495 wxRegion
*arg1
= (wxRegion
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "self",(char *) "rect", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11512 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11515 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11532 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
= 0;
11534 wxRegion
*arg1
= (wxRegion
*) 0 ;
11535 wxRegion
*arg2
= 0 ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 char * kwnames
[] = {
11544 (char *) "self",(char *) "region", NULL
11547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11552 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11554 if (!SWIG_IsOK(res2
)) {
11555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11560 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11576 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11577 PyObject
*resultobj
= 0;
11578 wxRegion
*arg1
= (wxRegion
*) 0 ;
11582 PyObject
*swig_obj
[1] ;
11584 if (!args
) SWIG_fail
;
11585 swig_obj
[0] = args
;
11586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11590 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (bool)(arg1
)->IsEmpty();
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11606 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
= 0;
11608 wxRegion
*arg1
= (wxRegion
*) 0 ;
11609 wxRegion
*arg2
= 0 ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 char * kwnames
[] = {
11618 (char *) "self",(char *) "region", NULL
11621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11623 if (!SWIG_IsOK(res1
)) {
11624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11626 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11628 if (!SWIG_IsOK(res2
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11634 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11650 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= 0;
11652 wxRegion
*arg1
= (wxRegion
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 PyObject
* obj2
= 0 ;
11671 PyObject
* obj3
= 0 ;
11672 PyObject
* obj4
= 0 ;
11673 char * kwnames
[] = {
11674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11682 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11684 if (!SWIG_IsOK(ecode2
)) {
11685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11687 arg2
= static_cast< int >(val2
);
11688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11689 if (!SWIG_IsOK(ecode3
)) {
11690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11692 arg3
= static_cast< int >(val3
);
11693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11694 if (!SWIG_IsOK(ecode4
)) {
11695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11697 arg4
= static_cast< int >(val4
);
11698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11699 if (!SWIG_IsOK(ecode5
)) {
11700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11702 arg5
= static_cast< int >(val5
);
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11718 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
= 0;
11720 wxRegion
*arg1
= (wxRegion
*) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 char * kwnames
[] = {
11729 (char *) "self",(char *) "rect", NULL
11732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11737 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11740 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11757 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
= 0;
11759 wxRegion
*arg1
= (wxRegion
*) 0 ;
11760 wxRegion
*arg2
= 0 ;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char * kwnames
[] = {
11769 (char *) "self",(char *) "region", NULL
11772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11777 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11779 if (!SWIG_IsOK(res2
)) {
11780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11785 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11801 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
= 0;
11803 wxRegion
*arg1
= (wxRegion
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 PyObject
* obj2
= 0 ;
11822 PyObject
* obj3
= 0 ;
11823 PyObject
* obj4
= 0 ;
11824 char * kwnames
[] = {
11825 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11833 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11835 if (!SWIG_IsOK(ecode2
)) {
11836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11838 arg2
= static_cast< int >(val2
);
11839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11840 if (!SWIG_IsOK(ecode3
)) {
11841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11843 arg3
= static_cast< int >(val3
);
11844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11845 if (!SWIG_IsOK(ecode4
)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11848 arg4
= static_cast< int >(val4
);
11849 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11850 if (!SWIG_IsOK(ecode5
)) {
11851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11853 arg5
= static_cast< int >(val5
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11869 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
= 0;
11871 wxRegion
*arg1
= (wxRegion
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "rect", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11888 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11891 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11908 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
= 0;
11910 wxRegion
*arg1
= (wxRegion
*) 0 ;
11911 wxRegion
*arg2
= 0 ;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 char * kwnames
[] = {
11920 (char *) "self",(char *) "region", NULL
11923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11925 if (!SWIG_IsOK(res1
)) {
11926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11928 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11930 if (!SWIG_IsOK(res2
)) {
11931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11936 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11952 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
= 0;
11954 wxRegion
*arg1
= (wxRegion
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 PyObject
* obj2
= 0 ;
11973 PyObject
* obj3
= 0 ;
11974 PyObject
* obj4
= 0 ;
11975 char * kwnames
[] = {
11976 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11984 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11986 if (!SWIG_IsOK(ecode2
)) {
11987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11989 arg2
= static_cast< int >(val2
);
11990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11991 if (!SWIG_IsOK(ecode3
)) {
11992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11994 arg3
= static_cast< int >(val3
);
11995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11996 if (!SWIG_IsOK(ecode4
)) {
11997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11999 arg4
= static_cast< int >(val4
);
12000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12001 if (!SWIG_IsOK(ecode5
)) {
12002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12004 arg5
= static_cast< int >(val5
);
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12020 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
= 0;
12022 wxRegion
*arg1
= (wxRegion
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char * kwnames
[] = {
12031 (char *) "self",(char *) "rect", NULL
12034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12039 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12059 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxRegion
*arg1
= (wxRegion
*) 0 ;
12062 wxRegion
*arg2
= 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char * kwnames
[] = {
12071 (char *) "self",(char *) "region", NULL
12074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12079 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12081 if (!SWIG_IsOK(res2
)) {
12082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12087 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12103 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxRegion
*arg1
= (wxRegion
*) 0 ;
12106 SwigValueWrapper
<wxBitmap
> result
;
12109 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12117 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (arg1
)->ConvertToBitmap();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12131 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12133 wxRegion
*arg1
= (wxRegion
*) 0 ;
12134 wxBitmap
*arg2
= 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "bmp", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12151 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12153 if (!SWIG_IsOK(res2
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12159 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12175 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
= 0;
12177 wxRegion
*arg1
= (wxRegion
*) 0 ;
12178 wxBitmap
*arg2
= 0 ;
12179 wxColour
*arg3
= 0 ;
12180 int arg4
= (int) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 PyObject
* obj3
= 0 ;
12193 char * kwnames
[] = {
12194 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12202 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12204 if (!SWIG_IsOK(res2
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12210 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12213 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12217 if (!SWIG_IsOK(ecode4
)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12220 arg4
= static_cast< int >(val4
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12237 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12240 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12241 return SWIG_Py_Void();
12244 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12245 return SWIG_Python_InitShadowInstance(args
);
12248 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
= 0;
12250 wxRegion
*arg1
= 0 ;
12251 wxRegionIterator
*result
= 0 ;
12254 PyObject
* obj0
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "region", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12260 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12267 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12269 if (!wxPyCheckForApp()) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12282 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12283 PyObject
*resultobj
= 0;
12284 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12287 PyObject
*swig_obj
[1] ;
12289 if (!args
) SWIG_fail
;
12290 swig_obj
[0] = args
;
12291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12292 if (!SWIG_IsOK(res1
)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12295 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_Py_Void();
12310 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12311 PyObject
*resultobj
= 0;
12312 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12316 PyObject
*swig_obj
[1] ;
12318 if (!args
) SWIG_fail
;
12319 swig_obj
[0] = args
;
12320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12321 if (!SWIG_IsOK(res1
)) {
12322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12324 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (int)(arg1
)->GetX();
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_From_int(static_cast< int >(result
));
12338 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 PyObject
*resultobj
= 0;
12340 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12344 PyObject
*swig_obj
[1] ;
12346 if (!args
) SWIG_fail
;
12347 swig_obj
[0] = args
;
12348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12349 if (!SWIG_IsOK(res1
)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12352 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)(arg1
)->GetY();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_From_int(static_cast< int >(result
));
12366 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12367 PyObject
*resultobj
= 0;
12368 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12372 PyObject
*swig_obj
[1] ;
12374 if (!args
) SWIG_fail
;
12375 swig_obj
[0] = args
;
12376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12377 if (!SWIG_IsOK(res1
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12380 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (int)(arg1
)->GetW();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_From_int(static_cast< int >(result
));
12394 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12396 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12400 PyObject
*swig_obj
[1] ;
12402 if (!args
) SWIG_fail
;
12403 swig_obj
[0] = args
;
12404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12408 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (int)(arg1
)->GetWidth();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_From_int(static_cast< int >(result
));
12422 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12423 PyObject
*resultobj
= 0;
12424 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12428 PyObject
*swig_obj
[1] ;
12430 if (!args
) SWIG_fail
;
12431 swig_obj
[0] = args
;
12432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12436 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (int)(arg1
)->GetH();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_From_int(static_cast< int >(result
));
12450 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12451 PyObject
*resultobj
= 0;
12452 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12456 PyObject
*swig_obj
[1] ;
12458 if (!args
) SWIG_fail
;
12459 swig_obj
[0] = args
;
12460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12464 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (int)(arg1
)->GetHeight();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= SWIG_From_int(static_cast< int >(result
));
12478 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12479 PyObject
*resultobj
= 0;
12480 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12484 PyObject
*swig_obj
[1] ;
12486 if (!args
) SWIG_fail
;
12487 swig_obj
[0] = args
;
12488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12492 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (arg1
)->GetRect();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12506 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12507 PyObject
*resultobj
= 0;
12508 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12512 PyObject
*swig_obj
[1] ;
12514 if (!args
) SWIG_fail
;
12515 swig_obj
[0] = args
;
12516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12517 if (!SWIG_IsOK(res1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12520 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (bool)(arg1
)->HaveRects();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12536 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12537 PyObject
*resultobj
= 0;
12538 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12541 PyObject
*swig_obj
[1] ;
12543 if (!args
) SWIG_fail
;
12544 swig_obj
[0] = args
;
12545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12549 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12564 PyObject
*resultobj
= 0;
12565 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12568 PyObject
*swig_obj
[1] ;
12570 if (!args
) SWIG_fail
;
12571 swig_obj
[0] = args
;
12572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12573 if (!SWIG_IsOK(res1
)) {
12574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12576 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 wxRegionIterator_Next(arg1
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12591 PyObject
*resultobj
= 0;
12592 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12596 PyObject
*swig_obj
[1] ;
12598 if (!args
) SWIG_fail
;
12599 swig_obj
[0] = args
;
12600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12601 if (!SWIG_IsOK(res1
)) {
12602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12604 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12620 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12623 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12624 return SWIG_Py_Void();
12627 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12628 return SWIG_Python_InitShadowInstance(args
);
12631 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12632 PyObject
*resultobj
= 0;
12633 wxNativeFontInfo
*result
= 0 ;
12635 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12649 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12650 PyObject
*resultobj
= 0;
12651 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12654 PyObject
*swig_obj
[1] ;
12656 if (!args
) SWIG_fail
;
12657 swig_obj
[0] = args
;
12658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12659 if (!SWIG_IsOK(res1
)) {
12660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12662 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_Py_Void();
12677 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12678 PyObject
*resultobj
= 0;
12679 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12682 PyObject
*swig_obj
[1] ;
12684 if (!args
) SWIG_fail
;
12685 swig_obj
[0] = args
;
12686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12687 if (!SWIG_IsOK(res1
)) {
12688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12690 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= SWIG_Py_Void();
12704 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
= 0;
12706 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 char * kwnames
[] = {
12715 (char *) "self",(char *) "font", NULL
12718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12723 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12725 if (!SWIG_IsOK(res2
)) {
12726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12731 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_Py_Void();
12745 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12746 PyObject
*resultobj
= 0;
12747 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12751 PyObject
*swig_obj
[1] ;
12753 if (!args
) SWIG_fail
;
12754 swig_obj
[0] = args
;
12755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12756 if (!SWIG_IsOK(res1
)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12759 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_From_int(static_cast< int >(result
));
12773 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12774 PyObject
*resultobj
= 0;
12775 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12779 PyObject
*swig_obj
[1] ;
12781 if (!args
) SWIG_fail
;
12782 swig_obj
[0] = args
;
12783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12784 if (!SWIG_IsOK(res1
)) {
12785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12787 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12801 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12804 wxFontStyle result
;
12807 PyObject
*swig_obj
[1] ;
12809 if (!args
) SWIG_fail
;
12810 swig_obj
[0] = args
;
12811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12812 if (!SWIG_IsOK(res1
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12815 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_From_int(static_cast< int >(result
));
12829 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12830 PyObject
*resultobj
= 0;
12831 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12832 wxFontWeight result
;
12835 PyObject
*swig_obj
[1] ;
12837 if (!args
) SWIG_fail
;
12838 swig_obj
[0] = args
;
12839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12840 if (!SWIG_IsOK(res1
)) {
12841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12843 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_From_int(static_cast< int >(result
));
12857 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12858 PyObject
*resultobj
= 0;
12859 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12863 PyObject
*swig_obj
[1] ;
12865 if (!args
) SWIG_fail
;
12866 swig_obj
[0] = args
;
12867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12868 if (!SWIG_IsOK(res1
)) {
12869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12871 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12887 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12888 PyObject
*resultobj
= 0;
12889 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12893 PyObject
*swig_obj
[1] ;
12895 if (!args
) SWIG_fail
;
12896 swig_obj
[0] = args
;
12897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12901 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12921 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 PyObject
*resultobj
= 0;
12923 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12924 wxFontFamily result
;
12927 PyObject
*swig_obj
[1] ;
12929 if (!args
) SWIG_fail
;
12930 swig_obj
[0] = args
;
12931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12935 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= SWIG_From_int(static_cast< int >(result
));
12949 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 PyObject
*resultobj
= 0;
12951 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12952 wxFontEncoding result
;
12955 PyObject
*swig_obj
[1] ;
12957 if (!args
) SWIG_fail
;
12958 swig_obj
[0] = args
;
12959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12963 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_From_int(static_cast< int >(result
));
12977 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
= 0;
12979 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 char * kwnames
[] = {
12988 (char *) "self",(char *) "pointsize", NULL
12991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12993 if (!SWIG_IsOK(res1
)) {
12994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12996 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12998 if (!SWIG_IsOK(ecode2
)) {
12999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13001 arg2
= static_cast< int >(val2
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 (arg1
)->SetPointSize(arg2
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= SWIG_Py_Void();
13015 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
= 0;
13017 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 char * kwnames
[] = {
13025 (char *) "self",(char *) "pixelSize", NULL
13028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13030 if (!SWIG_IsOK(res1
)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13033 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13036 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_Py_Void();
13051 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= 0;
13053 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char * kwnames
[] = {
13062 (char *) "self",(char *) "style", NULL
13065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13067 if (!SWIG_IsOK(res1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13070 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13072 if (!SWIG_IsOK(ecode2
)) {
13073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13075 arg2
= static_cast< wxFontStyle
>(val2
);
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 (arg1
)->SetStyle(arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= SWIG_Py_Void();
13089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
= 0;
13091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13092 wxFontWeight arg2
;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char * kwnames
[] = {
13100 (char *) "self",(char *) "weight", NULL
13103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13105 if (!SWIG_IsOK(res1
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13108 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13110 if (!SWIG_IsOK(ecode2
)) {
13111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13113 arg2
= static_cast< wxFontWeight
>(val2
);
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->SetWeight(arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_Py_Void();
13127 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "underlined", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13146 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13147 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13148 if (!SWIG_IsOK(ecode2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13151 arg2
= static_cast< bool >(val2
);
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetUnderlined(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_Py_Void();
13165 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
= 0;
13167 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char * kwnames
[] = {
13175 (char *) "self",(char *) "facename", NULL
13178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13183 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13185 wxString
* sptr
= wxString_in_helper(obj1
);
13186 if (sptr
== NULL
) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (bool)(arg1
)->SetFaceName(arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13205 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
= 0;
13207 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13208 wxFontFamily arg2
;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 char * kwnames
[] = {
13216 (char *) "self",(char *) "family", NULL
13219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13224 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13226 if (!SWIG_IsOK(ecode2
)) {
13227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13229 arg2
= static_cast< wxFontFamily
>(val2
);
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 (arg1
)->SetFamily(arg2
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= SWIG_Py_Void();
13243 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
= 0;
13245 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13246 wxFontEncoding arg2
;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 char * kwnames
[] = {
13254 (char *) "self",(char *) "encoding", NULL
13257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13259 if (!SWIG_IsOK(res1
)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13262 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13264 if (!SWIG_IsOK(ecode2
)) {
13265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13267 arg2
= static_cast< wxFontEncoding
>(val2
);
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 (arg1
)->SetEncoding(arg2
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_Py_Void();
13281 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
= 0;
13283 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13284 wxString
*arg2
= 0 ;
13288 bool temp2
= false ;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 char * kwnames
[] = {
13292 (char *) "self",(char *) "s", NULL
13295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13297 if (!SWIG_IsOK(res1
)) {
13298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13300 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13302 arg2
= wxString_in_helper(obj1
);
13303 if (arg2
== NULL
) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13329 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13335 PyObject
*swig_obj
[1] ;
13337 if (!args
) SWIG_fail
;
13338 swig_obj
[0] = args
;
13339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13340 if (!SWIG_IsOK(res1
)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13343 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13363 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13364 PyObject
*resultobj
= 0;
13365 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13369 PyObject
*swig_obj
[1] ;
13371 if (!args
) SWIG_fail
;
13372 swig_obj
[0] = args
;
13373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13377 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= wxNativeFontInfo___str__(arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13397 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
= 0;
13399 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13400 wxString
*arg2
= 0 ;
13404 bool temp2
= false ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char * kwnames
[] = {
13408 (char *) "self",(char *) "s", NULL
13411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13413 if (!SWIG_IsOK(res1
)) {
13414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13416 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13418 arg2
= wxString_in_helper(obj1
);
13419 if (arg2
== NULL
) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13445 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13446 PyObject
*resultobj
= 0;
13447 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13451 PyObject
*swig_obj
[1] ;
13453 if (!args
) SWIG_fail
;
13454 swig_obj
[0] = args
;
13455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13456 if (!SWIG_IsOK(res1
)) {
13457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13459 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13479 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13482 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13483 return SWIG_Py_Void();
13486 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13487 return SWIG_Python_InitShadowInstance(args
);
13490 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13492 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13493 wxString
*arg2
= (wxString
*) 0 ;
13496 bool temp2
= false ;
13497 PyObject
*swig_obj
[2] ;
13499 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13504 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13506 arg2
= wxString_in_helper(swig_obj
[1]);
13507 if (arg2
== NULL
) SWIG_fail
;
13510 if (arg1
) (arg1
)->facename
= *arg2
;
13512 resultobj
= SWIG_Py_Void();
13527 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13529 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13530 wxString
*result
= 0 ;
13533 PyObject
*swig_obj
[1] ;
13535 if (!args
) SWIG_fail
;
13536 swig_obj
[0] = args
;
13537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13541 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13542 result
= (wxString
*)& ((arg1
)->facename
);
13545 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13547 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13556 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13559 wxFontEncoding arg2
;
13564 PyObject
*swig_obj
[2] ;
13566 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13571 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13572 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13573 if (!SWIG_IsOK(ecode2
)) {
13574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13576 arg2
= static_cast< wxFontEncoding
>(val2
);
13577 if (arg1
) (arg1
)->encoding
= arg2
;
13579 resultobj
= SWIG_Py_Void();
13586 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13587 PyObject
*resultobj
= 0;
13588 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13589 wxFontEncoding result
;
13592 PyObject
*swig_obj
[1] ;
13594 if (!args
) SWIG_fail
;
13595 swig_obj
[0] = args
;
13596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13597 if (!SWIG_IsOK(res1
)) {
13598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13600 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13601 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13602 resultobj
= SWIG_From_int(static_cast< int >(result
));
13609 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13610 PyObject
*resultobj
= 0;
13611 wxNativeEncodingInfo
*result
= 0 ;
13613 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13627 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13628 PyObject
*resultobj
= 0;
13629 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13632 PyObject
*swig_obj
[1] ;
13634 if (!args
) SWIG_fail
;
13635 swig_obj
[0] = args
;
13636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13637 if (!SWIG_IsOK(res1
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13640 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_Py_Void();
13655 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
= 0;
13657 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13658 wxString
*arg2
= 0 ;
13662 bool temp2
= false ;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 char * kwnames
[] = {
13666 (char *) "self",(char *) "s", NULL
13669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13674 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13676 arg2
= wxString_in_helper(obj1
);
13677 if (arg2
== NULL
) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13703 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13704 PyObject
*resultobj
= 0;
13705 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13709 PyObject
*swig_obj
[1] ;
13711 if (!args
) SWIG_fail
;
13712 swig_obj
[0] = args
;
13713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13717 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13737 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13740 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13741 return SWIG_Py_Void();
13744 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13745 return SWIG_Python_InitShadowInstance(args
);
13748 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxFontEncoding arg1
;
13751 wxNativeEncodingInfo
*result
= 0 ;
13754 PyObject
* obj0
= 0 ;
13755 char * kwnames
[] = {
13756 (char *) "encoding", NULL
13759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13761 if (!SWIG_IsOK(ecode1
)) {
13762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13764 arg1
= static_cast< wxFontEncoding
>(val1
);
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13778 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13780 wxNativeEncodingInfo
*arg1
= 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char * kwnames
[] = {
13786 (char *) "info", NULL
13789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13790 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13797 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13813 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13814 PyObject
*resultobj
= 0;
13815 wxFontMapper
*result
= 0 ;
13817 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxFontMapper
*)new wxFontMapper();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13831 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13832 PyObject
*resultobj
= 0;
13833 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13836 PyObject
*swig_obj
[1] ;
13838 if (!args
) SWIG_fail
;
13839 swig_obj
[0] = args
;
13840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13841 if (!SWIG_IsOK(res1
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13844 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= SWIG_Py_Void();
13859 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13860 PyObject
*resultobj
= 0;
13861 wxFontMapper
*result
= 0 ;
13863 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (wxFontMapper
*)wxFontMapper::Get();
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13877 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
= 0;
13879 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13880 wxFontMapper
*result
= 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "mapper", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13893 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13907 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
= 0;
13909 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13910 wxString
*arg2
= 0 ;
13911 bool arg3
= (bool) true ;
13912 wxFontEncoding result
;
13915 bool temp2
= false ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 PyObject
* obj2
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13930 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13932 arg2
= wxString_in_helper(obj1
);
13933 if (arg2
== NULL
) SWIG_fail
;
13937 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13938 if (!SWIG_IsOK(ecode3
)) {
13939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13941 arg3
= static_cast< bool >(val3
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_From_int(static_cast< int >(result
));
13964 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13965 PyObject
*resultobj
= 0;
13968 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13982 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
= 0;
13985 wxFontEncoding result
;
13988 PyObject
* obj0
= 0 ;
13989 char * kwnames
[] = {
13993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13994 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13995 if (!SWIG_IsOK(ecode1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13998 arg1
= static_cast< size_t >(val1
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_From_int(static_cast< int >(result
));
14012 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
= 0;
14014 wxFontEncoding arg1
;
14018 PyObject
* obj0
= 0 ;
14019 char * kwnames
[] = {
14020 (char *) "encoding", NULL
14023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14025 if (!SWIG_IsOK(ecode1
)) {
14026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14028 arg1
= static_cast< wxFontEncoding
>(val1
);
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= wxFontMapper::GetEncodingName(arg1
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14048 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
= 0;
14050 wxFontEncoding arg1
;
14054 PyObject
* obj0
= 0 ;
14055 char * kwnames
[] = {
14056 (char *) "encoding", NULL
14059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14061 if (!SWIG_IsOK(ecode1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14064 arg1
= static_cast< wxFontEncoding
>(val1
);
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= wxFontMapper::GetEncodingDescription(arg1
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14084 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
= 0;
14086 wxString
*arg1
= 0 ;
14087 wxFontEncoding result
;
14088 bool temp1
= false ;
14089 PyObject
* obj0
= 0 ;
14090 char * kwnames
[] = {
14091 (char *) "name", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14096 arg1
= wxString_in_helper(obj0
);
14097 if (arg1
== NULL
) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= SWIG_From_int(static_cast< int >(result
));
14121 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
= 0;
14123 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14124 wxString
*arg2
= 0 ;
14127 bool temp2
= false ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char * kwnames
[] = {
14131 (char *) "self",(char *) "prefix", NULL
14134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14136 if (!SWIG_IsOK(res1
)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14139 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14141 arg2
= wxString_in_helper(obj1
);
14142 if (arg2
== NULL
) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_Py_Void();
14166 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14167 PyObject
*resultobj
= 0;
14170 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= wxFontMapper::GetDefaultConfigPath();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14190 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
= 0;
14192 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14193 wxFontEncoding arg2
;
14194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14196 bool arg4
= (bool) true ;
14197 PyObject
*result
= 0 ;
14202 bool temp3
= false ;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 PyObject
* obj2
= 0 ;
14208 PyObject
* obj3
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14218 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14220 if (!SWIG_IsOK(ecode2
)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14223 arg2
= static_cast< wxFontEncoding
>(val2
);
14226 arg3
= wxString_in_helper(obj2
);
14227 if (arg3
== NULL
) SWIG_fail
;
14232 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14233 if (!SWIG_IsOK(ecode4
)) {
14234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14236 arg4
= static_cast< bool >(val4
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
;
14259 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
= 0;
14261 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14262 wxFontEncoding arg2
;
14263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14270 bool temp3
= false ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 PyObject
* obj2
= 0 ;
14274 char * kwnames
[] = {
14275 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14283 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14285 if (!SWIG_IsOK(ecode2
)) {
14286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14288 arg2
= static_cast< wxFontEncoding
>(val2
);
14291 arg3
= wxString_in_helper(obj2
);
14292 if (arg3
== NULL
) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14319 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
= 0;
14321 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14322 wxWindow
*arg2
= (wxWindow
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "self",(char *) "parent", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14338 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14340 if (!SWIG_IsOK(res2
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->SetDialogParent(arg2
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_Py_Void();
14357 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14360 wxString
*arg2
= 0 ;
14363 bool temp2
= false ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "self",(char *) "title", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14375 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14377 arg2
= wxString_in_helper(obj1
);
14378 if (arg2
== NULL
) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_Py_Void();
14402 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14405 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14406 return SWIG_Py_Void();
14409 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 return SWIG_Python_InitShadowInstance(args
);
14413 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
= 0;
14419 bool arg5
= (bool) false ;
14420 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14421 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14422 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14423 wxFont
*result
= 0 ;
14434 bool temp6
= false ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 PyObject
* obj2
= 0 ;
14440 PyObject
* obj3
= 0 ;
14441 PyObject
* obj4
= 0 ;
14442 PyObject
* obj5
= 0 ;
14443 PyObject
* obj6
= 0 ;
14444 char * kwnames
[] = {
14445 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14450 if (!SWIG_IsOK(ecode1
)) {
14451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14453 arg1
= static_cast< int >(val1
);
14454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14455 if (!SWIG_IsOK(ecode2
)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14458 arg2
= static_cast< int >(val2
);
14459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14460 if (!SWIG_IsOK(ecode3
)) {
14461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14463 arg3
= static_cast< int >(val3
);
14464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14465 if (!SWIG_IsOK(ecode4
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14468 arg4
= static_cast< int >(val4
);
14470 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14471 if (!SWIG_IsOK(ecode5
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14474 arg5
= static_cast< bool >(val5
);
14478 arg6
= wxString_in_helper(obj5
);
14479 if (arg6
== NULL
) SWIG_fail
;
14484 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14485 if (!SWIG_IsOK(ecode7
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14488 arg7
= static_cast< wxFontEncoding
>(val7
);
14491 if (!wxPyCheckForApp()) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14512 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14513 PyObject
*resultobj
= 0;
14514 wxFont
*arg1
= (wxFont
*) 0 ;
14517 PyObject
*swig_obj
[1] ;
14519 if (!args
) SWIG_fail
;
14520 swig_obj
[0] = args
;
14521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14525 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_Py_Void();
14540 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
= 0;
14542 wxNativeFontInfo
*arg1
= 0 ;
14543 wxFont
*result
= 0 ;
14546 PyObject
* obj0
= 0 ;
14547 char * kwnames
[] = {
14548 (char *) "info", NULL
14551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14559 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14561 if (!wxPyCheckForApp()) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14574 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= 0;
14576 wxString
*arg1
= 0 ;
14577 wxFont
*result
= 0 ;
14578 bool temp1
= false ;
14579 PyObject
* obj0
= 0 ;
14580 char * kwnames
[] = {
14581 (char *) "info", NULL
14584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14586 arg1
= wxString_in_helper(obj0
);
14587 if (arg1
== NULL
) SWIG_fail
;
14591 if (!wxPyCheckForApp()) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14612 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
= 0;
14615 wxFontFamily arg2
;
14616 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14617 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14619 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14620 wxFont
*result
= 0 ;
14627 bool temp4
= false ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 PyObject
* obj2
= 0 ;
14633 PyObject
* obj3
= 0 ;
14634 PyObject
* obj4
= 0 ;
14635 char * kwnames
[] = {
14636 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14641 if (!SWIG_IsOK(ecode1
)) {
14642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14644 arg1
= static_cast< int >(val1
);
14645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14646 if (!SWIG_IsOK(ecode2
)) {
14647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14649 arg2
= static_cast< wxFontFamily
>(val2
);
14651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14652 if (!SWIG_IsOK(ecode3
)) {
14653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14655 arg3
= static_cast< int >(val3
);
14659 arg4
= wxString_in_helper(obj3
);
14660 if (arg4
== NULL
) SWIG_fail
;
14665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14666 if (!SWIG_IsOK(ecode5
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14669 arg5
= static_cast< wxFontEncoding
>(val5
);
14672 if (!wxPyCheckForApp()) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14693 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
= 0;
14699 bool arg5
= (bool) false ;
14700 wxString
const &arg6_defvalue
= wxEmptyString
;
14701 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14702 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14703 wxFont
*result
= 0 ;
14713 bool temp6
= false ;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 PyObject
* obj2
= 0 ;
14719 PyObject
* obj3
= 0 ;
14720 PyObject
* obj4
= 0 ;
14721 PyObject
* obj5
= 0 ;
14722 PyObject
* obj6
= 0 ;
14723 char * kwnames
[] = {
14724 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14730 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14733 if (!SWIG_IsOK(ecode2
)) {
14734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14736 arg2
= static_cast< int >(val2
);
14737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14738 if (!SWIG_IsOK(ecode3
)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14741 arg3
= static_cast< int >(val3
);
14742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14743 if (!SWIG_IsOK(ecode4
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14746 arg4
= static_cast< int >(val4
);
14748 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14749 if (!SWIG_IsOK(ecode5
)) {
14750 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14752 arg5
= static_cast< bool >(val5
);
14756 arg6
= wxString_in_helper(obj5
);
14757 if (arg6
== NULL
) SWIG_fail
;
14762 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14763 if (!SWIG_IsOK(ecode7
)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14766 arg7
= static_cast< wxFontEncoding
>(val7
);
14769 if (!wxPyCheckForApp()) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14790 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14793 wxFontFamily arg2
;
14794 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14795 wxString
const &arg4_defvalue
= wxEmptyString
;
14796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14797 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14798 wxFont
*result
= 0 ;
14804 bool temp4
= false ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 PyObject
* obj2
= 0 ;
14810 PyObject
* obj3
= 0 ;
14811 PyObject
* obj4
= 0 ;
14812 char * kwnames
[] = {
14813 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14819 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14822 if (!SWIG_IsOK(ecode2
)) {
14823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14825 arg2
= static_cast< wxFontFamily
>(val2
);
14827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14828 if (!SWIG_IsOK(ecode3
)) {
14829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14831 arg3
= static_cast< int >(val3
);
14835 arg4
= wxString_in_helper(obj3
);
14836 if (arg4
== NULL
) SWIG_fail
;
14841 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14842 if (!SWIG_IsOK(ecode5
)) {
14843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14845 arg5
= static_cast< wxFontEncoding
>(val5
);
14848 if (!wxPyCheckForApp()) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14869 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14870 PyObject
*resultobj
= 0;
14871 wxFont
*arg1
= (wxFont
*) 0 ;
14875 PyObject
*swig_obj
[1] ;
14877 if (!args
) SWIG_fail
;
14878 swig_obj
[0] = args
;
14879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14883 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14899 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
= 0;
14901 wxFont
*arg1
= (wxFont
*) 0 ;
14902 wxFont
*arg2
= (wxFont
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 char * kwnames
[] = {
14911 (char *) "self",(char *) "other", NULL
14914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14919 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14921 if (!SWIG_IsOK(res2
)) {
14922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14924 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14940 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
= 0;
14942 wxFont
*arg1
= (wxFont
*) 0 ;
14943 wxFont
*arg2
= (wxFont
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 char * kwnames
[] = {
14952 (char *) "self",(char *) "other", NULL
14955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14957 if (!SWIG_IsOK(res1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14960 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14962 if (!SWIG_IsOK(res2
)) {
14963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14965 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14981 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14982 PyObject
*resultobj
= 0;
14983 wxFont
*arg1
= (wxFont
*) 0 ;
14987 PyObject
*swig_obj
[1] ;
14989 if (!args
) SWIG_fail
;
14990 swig_obj
[0] = args
;
14991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14995 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_From_int(static_cast< int >(result
));
15009 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15010 PyObject
*resultobj
= 0;
15011 wxFont
*arg1
= (wxFont
*) 0 ;
15015 PyObject
*swig_obj
[1] ;
15017 if (!args
) SWIG_fail
;
15018 swig_obj
[0] = args
;
15019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15020 if (!SWIG_IsOK(res1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15023 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15037 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 PyObject
*resultobj
= 0;
15039 wxFont
*arg1
= (wxFont
*) 0 ;
15043 PyObject
*swig_obj
[1] ;
15045 if (!args
) SWIG_fail
;
15046 swig_obj
[0] = args
;
15047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15048 if (!SWIG_IsOK(res1
)) {
15049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15051 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15067 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15068 PyObject
*resultobj
= 0;
15069 wxFont
*arg1
= (wxFont
*) 0 ;
15073 PyObject
*swig_obj
[1] ;
15075 if (!args
) SWIG_fail
;
15076 swig_obj
[0] = args
;
15077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15078 if (!SWIG_IsOK(res1
)) {
15079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15081 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_From_int(static_cast< int >(result
));
15095 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15096 PyObject
*resultobj
= 0;
15097 wxFont
*arg1
= (wxFont
*) 0 ;
15101 PyObject
*swig_obj
[1] ;
15103 if (!args
) SWIG_fail
;
15104 swig_obj
[0] = args
;
15105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15106 if (!SWIG_IsOK(res1
)) {
15107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15109 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= SWIG_From_int(static_cast< int >(result
));
15123 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15124 PyObject
*resultobj
= 0;
15125 wxFont
*arg1
= (wxFont
*) 0 ;
15129 PyObject
*swig_obj
[1] ;
15131 if (!args
) SWIG_fail
;
15132 swig_obj
[0] = args
;
15133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15134 if (!SWIG_IsOK(res1
)) {
15135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15137 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_From_int(static_cast< int >(result
));
15151 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15152 PyObject
*resultobj
= 0;
15153 wxFont
*arg1
= (wxFont
*) 0 ;
15157 PyObject
*swig_obj
[1] ;
15159 if (!args
) SWIG_fail
;
15160 swig_obj
[0] = args
;
15161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15162 if (!SWIG_IsOK(res1
)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15165 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15181 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15182 PyObject
*resultobj
= 0;
15183 wxFont
*arg1
= (wxFont
*) 0 ;
15187 PyObject
*swig_obj
[1] ;
15189 if (!args
) SWIG_fail
;
15190 swig_obj
[0] = args
;
15191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15192 if (!SWIG_IsOK(res1
)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15195 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= ((wxFont
const *)arg1
)->GetFaceName();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15215 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15216 PyObject
*resultobj
= 0;
15217 wxFont
*arg1
= (wxFont
*) 0 ;
15218 wxFontEncoding result
;
15221 PyObject
*swig_obj
[1] ;
15223 if (!args
) SWIG_fail
;
15224 swig_obj
[0] = args
;
15225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15229 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_From_int(static_cast< int >(result
));
15243 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15244 PyObject
*resultobj
= 0;
15245 wxFont
*arg1
= (wxFont
*) 0 ;
15246 wxNativeFontInfo
*result
= 0 ;
15249 PyObject
*swig_obj
[1] ;
15251 if (!args
) SWIG_fail
;
15252 swig_obj
[0] = args
;
15253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15257 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15271 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 wxFont
*arg1
= (wxFont
*) 0 ;
15277 PyObject
*swig_obj
[1] ;
15279 if (!args
) SWIG_fail
;
15280 swig_obj
[0] = args
;
15281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15285 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15301 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15302 PyObject
*resultobj
= 0;
15303 wxFont
*arg1
= (wxFont
*) 0 ;
15307 PyObject
*swig_obj
[1] ;
15309 if (!args
) SWIG_fail
;
15310 swig_obj
[0] = args
;
15311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15315 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15335 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 PyObject
*resultobj
= 0;
15337 wxFont
*arg1
= (wxFont
*) 0 ;
15341 PyObject
*swig_obj
[1] ;
15343 if (!args
) SWIG_fail
;
15344 swig_obj
[0] = args
;
15345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15346 if (!SWIG_IsOK(res1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15349 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15369 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
= 0;
15371 wxFont
*arg1
= (wxFont
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "pointSize", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15388 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15390 if (!SWIG_IsOK(ecode2
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15393 arg2
= static_cast< int >(val2
);
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->SetPointSize(arg2
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_Py_Void();
15407 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxFont
*arg1
= (wxFont
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 char * kwnames
[] = {
15417 (char *) "self",(char *) "pixelSize", NULL
15420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15425 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= SWIG_Py_Void();
15443 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
= 0;
15445 wxFont
*arg1
= (wxFont
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char * kwnames
[] = {
15454 (char *) "self",(char *) "family", NULL
15457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15459 if (!SWIG_IsOK(res1
)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15462 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15464 if (!SWIG_IsOK(ecode2
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15467 arg2
= static_cast< int >(val2
);
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->SetFamily(arg2
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= SWIG_Py_Void();
15481 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
= 0;
15483 wxFont
*arg1
= (wxFont
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 char * kwnames
[] = {
15492 (char *) "self",(char *) "style", NULL
15495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15497 if (!SWIG_IsOK(res1
)) {
15498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15500 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15502 if (!SWIG_IsOK(ecode2
)) {
15503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15505 arg2
= static_cast< int >(val2
);
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 (arg1
)->SetStyle(arg2
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_Py_Void();
15519 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= 0;
15521 wxFont
*arg1
= (wxFont
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 char * kwnames
[] = {
15530 (char *) "self",(char *) "weight", NULL
15533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15535 if (!SWIG_IsOK(res1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15538 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15540 if (!SWIG_IsOK(ecode2
)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15543 arg2
= static_cast< int >(val2
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 (arg1
)->SetWeight(arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15557 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
= 0;
15559 wxFont
*arg1
= (wxFont
*) 0 ;
15560 wxString
*arg2
= 0 ;
15564 bool temp2
= false ;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char * kwnames
[] = {
15568 (char *) "self",(char *) "faceName", NULL
15571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15573 if (!SWIG_IsOK(res1
)) {
15574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15576 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15578 arg2
= wxString_in_helper(obj1
);
15579 if (arg2
== NULL
) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15605 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
= 0;
15607 wxFont
*arg1
= (wxFont
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char * kwnames
[] = {
15616 (char *) "self",(char *) "underlined", NULL
15619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15624 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15625 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15626 if (!SWIG_IsOK(ecode2
)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15629 arg2
= static_cast< bool >(val2
);
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->SetUnderlined(arg2
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_Py_Void();
15643 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
= 0;
15645 wxFont
*arg1
= (wxFont
*) 0 ;
15646 wxFontEncoding arg2
;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 char * kwnames
[] = {
15654 (char *) "self",(char *) "encoding", NULL
15657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15659 if (!SWIG_IsOK(res1
)) {
15660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15662 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15664 if (!SWIG_IsOK(ecode2
)) {
15665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15667 arg2
= static_cast< wxFontEncoding
>(val2
);
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 (arg1
)->SetEncoding(arg2
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_Py_Void();
15681 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
= 0;
15683 wxFont
*arg1
= (wxFont
*) 0 ;
15684 wxNativeFontInfo
*arg2
= 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char * kwnames
[] = {
15692 (char *) "self",(char *) "info", NULL
15695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15700 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15702 if (!SWIG_IsOK(res2
)) {
15703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15708 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_Py_Void();
15722 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
= 0;
15724 wxFont
*arg1
= (wxFont
*) 0 ;
15725 wxString
*arg2
= 0 ;
15729 bool temp2
= false ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 char * kwnames
[] = {
15733 (char *) "self",(char *) "info", NULL
15736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15741 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15743 arg2
= wxString_in_helper(obj1
);
15744 if (arg2
== NULL
) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15770 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxFont
*arg1
= (wxFont
*) 0 ;
15773 wxString
*arg2
= 0 ;
15777 bool temp2
= false ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 char * kwnames
[] = {
15781 (char *) "self",(char *) "info", NULL
15784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15789 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15791 arg2
= wxString_in_helper(obj1
);
15792 if (arg2
== NULL
) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 PyObject
*resultobj
= 0;
15820 wxFont
*arg1
= (wxFont
*) 0 ;
15824 PyObject
*swig_obj
[1] ;
15826 if (!args
) SWIG_fail
;
15827 swig_obj
[0] = args
;
15828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15832 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15852 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15853 PyObject
*resultobj
= 0;
15854 wxFont
*arg1
= (wxFont
*) 0 ;
15858 PyObject
*swig_obj
[1] ;
15860 if (!args
) SWIG_fail
;
15861 swig_obj
[0] = args
;
15862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15863 if (!SWIG_IsOK(res1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15866 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= ((wxFont
const *)arg1
)->GetStyleString();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15886 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 PyObject
*resultobj
= 0;
15888 wxFont
*arg1
= (wxFont
*) 0 ;
15892 PyObject
*swig_obj
[1] ;
15894 if (!args
) SWIG_fail
;
15895 swig_obj
[0] = args
;
15896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= ((wxFont
const *)arg1
)->GetWeightString();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15920 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
= 0;
15922 wxFont
*arg1
= (wxFont
*) 0 ;
15923 bool arg2
= (bool) true ;
15928 PyObject
* obj0
= 0 ;
15929 PyObject
* obj1
= 0 ;
15930 char * kwnames
[] = {
15931 (char *) "self",(char *) "no", NULL
15934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15936 if (!SWIG_IsOK(res1
)) {
15937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15939 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15942 if (!SWIG_IsOK(ecode2
)) {
15943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15945 arg2
= static_cast< bool >(val2
);
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 (arg1
)->SetNoAntiAliasing(arg2
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= SWIG_Py_Void();
15960 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15961 PyObject
*resultobj
= 0;
15962 wxFont
*arg1
= (wxFont
*) 0 ;
15966 PyObject
*swig_obj
[1] ;
15968 if (!args
) SWIG_fail
;
15969 swig_obj
[0] = args
;
15970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15971 if (!SWIG_IsOK(res1
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15974 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15990 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 PyObject
*resultobj
= 0;
15992 wxFontEncoding result
;
15994 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15996 if (!wxPyCheckForApp()) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_From_int(static_cast< int >(result
));
16009 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
= 0;
16011 wxFontEncoding arg1
;
16014 PyObject
* obj0
= 0 ;
16015 char * kwnames
[] = {
16016 (char *) "encoding", NULL
16019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16021 if (!SWIG_IsOK(ecode1
)) {
16022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16024 arg1
= static_cast< wxFontEncoding
>(val1
);
16026 if (!wxPyCheckForApp()) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 wxFont::SetDefaultEncoding(arg1
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_Py_Void();
16039 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16042 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16043 return SWIG_Py_Void();
16046 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16047 return SWIG_Python_InitShadowInstance(args
);
16050 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16051 PyObject
*resultobj
= 0;
16052 wxPyFontEnumerator
*result
= 0 ;
16054 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16056 if (!wxPyCheckForApp()) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16069 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16070 PyObject
*resultobj
= 0;
16071 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16074 PyObject
*swig_obj
[1] ;
16076 if (!args
) SWIG_fail
;
16077 swig_obj
[0] = args
;
16078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16079 if (!SWIG_IsOK(res1
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16082 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_Py_Void();
16097 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
= 0;
16099 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16100 PyObject
*arg2
= (PyObject
*) 0 ;
16101 PyObject
*arg3
= (PyObject
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 PyObject
* obj1
= 0 ;
16109 PyObject
* obj2
= 0 ;
16110 PyObject
* obj3
= 0 ;
16111 char * kwnames
[] = {
16112 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16120 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16123 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16124 if (!SWIG_IsOK(ecode4
)) {
16125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16127 arg4
= static_cast< bool >(val4
);
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_Py_Void();
16141 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
= 0;
16143 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16144 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16145 bool arg3
= (bool) false ;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 PyObject
* obj2
= 0 ;
16156 char * kwnames
[] = {
16157 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16162 if (!SWIG_IsOK(res1
)) {
16163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16165 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16168 if (!SWIG_IsOK(ecode2
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16171 arg2
= static_cast< wxFontEncoding
>(val2
);
16174 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16175 if (!SWIG_IsOK(ecode3
)) {
16176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16178 arg3
= static_cast< bool >(val3
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
= 0;
16197 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16198 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16199 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16203 bool temp2
= false ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char * kwnames
[] = {
16207 (char *) "self",(char *) "facename", NULL
16210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16212 if (!SWIG_IsOK(res1
)) {
16213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16215 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16218 arg2
= wxString_in_helper(obj1
);
16219 if (arg2
== NULL
) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16246 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 PyObject
*resultobj
= 0;
16248 PyObject
*result
= 0 ;
16250 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
;
16264 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16265 PyObject
*resultobj
= 0;
16266 PyObject
*result
= 0 ;
16268 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
;
16282 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
= 0;
16284 wxString
*arg1
= 0 ;
16286 bool temp1
= false ;
16287 PyObject
* obj0
= 0 ;
16288 char * kwnames
[] = {
16289 (char *) "str", NULL
16292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16294 arg1
= wxString_in_helper(obj0
);
16295 if (arg1
== NULL
) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16321 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16324 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16325 return SWIG_Py_Void();
16328 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16329 return SWIG_Python_InitShadowInstance(args
);
16332 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 PyObject
*resultobj
= 0;
16334 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16340 PyObject
*swig_obj
[2] ;
16342 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16344 if (!SWIG_IsOK(res1
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16347 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16348 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16349 if (!SWIG_IsOK(ecode2
)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16352 arg2
= static_cast< int >(val2
);
16353 if (arg1
) (arg1
)->Language
= arg2
;
16355 resultobj
= SWIG_Py_Void();
16362 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16363 PyObject
*resultobj
= 0;
16364 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16368 PyObject
*swig_obj
[1] ;
16370 if (!args
) SWIG_fail
;
16371 swig_obj
[0] = args
;
16372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16373 if (!SWIG_IsOK(res1
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16376 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16377 result
= (int) ((arg1
)->Language
);
16378 resultobj
= SWIG_From_int(static_cast< int >(result
));
16385 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16386 PyObject
*resultobj
= 0;
16387 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16388 wxString
*arg2
= (wxString
*) 0 ;
16391 bool temp2
= false ;
16392 PyObject
*swig_obj
[2] ;
16394 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16396 if (!SWIG_IsOK(res1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16399 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16401 arg2
= wxString_in_helper(swig_obj
[1]);
16402 if (arg2
== NULL
) SWIG_fail
;
16405 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16407 resultobj
= SWIG_Py_Void();
16422 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16423 PyObject
*resultobj
= 0;
16424 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16425 wxString
*result
= 0 ;
16428 PyObject
*swig_obj
[1] ;
16430 if (!args
) SWIG_fail
;
16431 swig_obj
[0] = args
;
16432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16436 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16437 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16440 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16442 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16451 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16452 PyObject
*resultobj
= 0;
16453 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16454 wxString
*arg2
= (wxString
*) 0 ;
16457 bool temp2
= false ;
16458 PyObject
*swig_obj
[2] ;
16460 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16462 if (!SWIG_IsOK(res1
)) {
16463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16465 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16467 arg2
= wxString_in_helper(swig_obj
[1]);
16468 if (arg2
== NULL
) SWIG_fail
;
16471 if (arg1
) (arg1
)->Description
= *arg2
;
16473 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16489 PyObject
*resultobj
= 0;
16490 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16491 wxString
*result
= 0 ;
16494 PyObject
*swig_obj
[1] ;
16496 if (!args
) SWIG_fail
;
16497 swig_obj
[0] = args
;
16498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16499 if (!SWIG_IsOK(res1
)) {
16500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16502 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16503 result
= (wxString
*)& ((arg1
)->Description
);
16506 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16508 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16517 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16520 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16521 return SWIG_Py_Void();
16524 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
= 0;
16526 int arg1
= (int) -1 ;
16527 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16528 wxLocale
*result
= 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char * kwnames
[] = {
16536 (char *) "language",(char *) "flags", NULL
16539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16541 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16542 if (!SWIG_IsOK(ecode1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16545 arg1
= static_cast< int >(val1
);
16548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16549 if (!SWIG_IsOK(ecode2
)) {
16550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16552 arg2
= static_cast< int >(val2
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16567 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16568 PyObject
*resultobj
= 0;
16569 wxLocale
*arg1
= (wxLocale
*) 0 ;
16572 PyObject
*swig_obj
[1] ;
16574 if (!args
) SWIG_fail
;
16575 swig_obj
[0] = args
;
16576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16580 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= SWIG_Py_Void();
16595 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
= 0;
16597 wxLocale
*arg1
= (wxLocale
*) 0 ;
16598 wxString
*arg2
= 0 ;
16599 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16600 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16603 bool arg5
= (bool) true ;
16604 bool arg6
= (bool) false ;
16608 bool temp2
= false ;
16609 bool temp3
= false ;
16610 bool temp4
= false ;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 PyObject
* obj2
= 0 ;
16618 PyObject
* obj3
= 0 ;
16619 PyObject
* obj4
= 0 ;
16620 PyObject
* obj5
= 0 ;
16621 char * kwnames
[] = {
16622 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16627 if (!SWIG_IsOK(res1
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16630 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16632 arg2
= wxString_in_helper(obj1
);
16633 if (arg2
== NULL
) SWIG_fail
;
16638 arg3
= wxString_in_helper(obj2
);
16639 if (arg3
== NULL
) SWIG_fail
;
16645 arg4
= wxString_in_helper(obj3
);
16646 if (arg4
== NULL
) SWIG_fail
;
16651 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16652 if (!SWIG_IsOK(ecode5
)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16655 arg5
= static_cast< bool >(val5
);
16658 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16659 if (!SWIG_IsOK(ecode6
)) {
16660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16662 arg6
= static_cast< bool >(val6
);
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
= 0;
16705 wxLocale
*arg1
= (wxLocale
*) 0 ;
16706 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16707 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 PyObject
* obj2
= 0 ;
16718 char * kwnames
[] = {
16719 (char *) "self",(char *) "language",(char *) "flags", NULL
16722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16724 if (!SWIG_IsOK(res1
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16727 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16730 if (!SWIG_IsOK(ecode2
)) {
16731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16733 arg2
= static_cast< int >(val2
);
16736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16737 if (!SWIG_IsOK(ecode3
)) {
16738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16740 arg3
= static_cast< int >(val3
);
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16757 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16758 PyObject
*resultobj
= 0;
16761 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (int)wxLocale::GetSystemLanguage();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_From_int(static_cast< int >(result
));
16775 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16776 PyObject
*resultobj
= 0;
16777 wxFontEncoding result
;
16779 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= SWIG_From_int(static_cast< int >(result
));
16793 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16794 PyObject
*resultobj
= 0;
16797 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= wxLocale::GetSystemEncodingName();
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16817 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16818 PyObject
*resultobj
= 0;
16819 wxLocale
*arg1
= (wxLocale
*) 0 ;
16823 PyObject
*swig_obj
[1] ;
16825 if (!args
) SWIG_fail
;
16826 swig_obj
[0] = args
;
16827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16831 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16847 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16848 PyObject
*resultobj
= 0;
16849 wxLocale
*arg1
= (wxLocale
*) 0 ;
16853 PyObject
*swig_obj
[1] ;
16855 if (!args
) SWIG_fail
;
16856 swig_obj
[0] = args
;
16857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16858 if (!SWIG_IsOK(res1
)) {
16859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16861 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= ((wxLocale
const *)arg1
)->GetLocale();
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16881 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16882 PyObject
*resultobj
= 0;
16883 wxLocale
*arg1
= (wxLocale
*) 0 ;
16887 PyObject
*swig_obj
[1] ;
16889 if (!args
) SWIG_fail
;
16890 swig_obj
[0] = args
;
16891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16892 if (!SWIG_IsOK(res1
)) {
16893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16895 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_From_int(static_cast< int >(result
));
16909 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16910 PyObject
*resultobj
= 0;
16911 wxLocale
*arg1
= (wxLocale
*) 0 ;
16915 PyObject
*swig_obj
[1] ;
16917 if (!args
) SWIG_fail
;
16918 swig_obj
[0] = args
;
16919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16923 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= ((wxLocale
const *)arg1
)->GetSysName();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16943 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16944 PyObject
*resultobj
= 0;
16945 wxLocale
*arg1
= (wxLocale
*) 0 ;
16949 PyObject
*swig_obj
[1] ;
16951 if (!args
) SWIG_fail
;
16952 swig_obj
[0] = args
;
16953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16954 if (!SWIG_IsOK(res1
)) {
16955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16957 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16977 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= 0;
16979 wxString
*arg1
= 0 ;
16980 bool temp1
= false ;
16981 PyObject
* obj0
= 0 ;
16982 char * kwnames
[] = {
16983 (char *) "prefix", NULL
16986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16988 arg1
= wxString_in_helper(obj0
);
16989 if (arg1
== NULL
) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_Py_Void();
17013 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
= 0;
17015 wxLocale
*arg1
= (wxLocale
*) 0 ;
17016 wxString
*arg2
= 0 ;
17020 bool temp2
= false ;
17021 PyObject
* obj0
= 0 ;
17022 PyObject
* obj1
= 0 ;
17023 char * kwnames
[] = {
17024 (char *) "self",(char *) "szDomain", NULL
17027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17029 if (!SWIG_IsOK(res1
)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17032 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17034 arg2
= wxString_in_helper(obj1
);
17035 if (arg2
== NULL
) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17061 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
= 0;
17067 PyObject
* obj0
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "lang", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17073 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17074 if (!SWIG_IsOK(ecode1
)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17077 arg1
= static_cast< int >(val1
);
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (bool)wxLocale::IsAvailable(arg1
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17093 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
= 0;
17095 wxLocale
*arg1
= (wxLocale
*) 0 ;
17096 wxString
*arg2
= 0 ;
17100 bool temp2
= false ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 char * kwnames
[] = {
17104 (char *) "self",(char *) "szDomain", NULL
17107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17109 if (!SWIG_IsOK(res1
)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17112 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17114 arg2
= wxString_in_helper(obj1
);
17115 if (arg2
== NULL
) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17141 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17144 wxLanguageInfo
*result
= 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "lang", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17154 if (!SWIG_IsOK(ecode1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17157 arg1
= static_cast< int >(val1
);
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17171 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
= 0;
17177 PyObject
* obj0
= 0 ;
17178 char * kwnames
[] = {
17179 (char *) "lang", NULL
17182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17183 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17184 if (!SWIG_IsOK(ecode1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17187 arg1
= static_cast< int >(val1
);
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= wxLocale::GetLanguageName(arg1
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17207 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
= 0;
17209 wxString
*arg1
= 0 ;
17210 wxLanguageInfo
*result
= 0 ;
17211 bool temp1
= false ;
17212 PyObject
* obj0
= 0 ;
17213 char * kwnames
[] = {
17214 (char *) "locale", NULL
17217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17219 arg1
= wxString_in_helper(obj0
);
17220 if (arg1
== NULL
) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17244 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
= 0;
17246 wxLanguageInfo
*arg1
= 0 ;
17249 PyObject
* obj0
= 0 ;
17250 char * kwnames
[] = {
17251 (char *) "info", NULL
17254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17255 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17256 if (!SWIG_IsOK(res1
)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17262 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_Py_Void();
17276 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
= 0;
17278 wxLocale
*arg1
= (wxLocale
*) 0 ;
17279 wxString
*arg2
= 0 ;
17280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17285 bool temp2
= false ;
17286 bool temp3
= false ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 PyObject
* obj2
= 0 ;
17290 char * kwnames
[] = {
17291 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17299 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17301 arg2
= wxString_in_helper(obj1
);
17302 if (arg2
== NULL
) SWIG_fail
;
17307 arg3
= wxString_in_helper(obj2
);
17308 if (arg3
== NULL
) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17347 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17348 PyObject
*resultobj
= 0;
17349 wxLocale
*arg1
= (wxLocale
*) 0 ;
17350 wxString
*result
= 0 ;
17353 PyObject
*swig_obj
[1] ;
17355 if (!args
) SWIG_fail
;
17356 swig_obj
[0] = args
;
17357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17358 if (!SWIG_IsOK(res1
)) {
17359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17361 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17366 result
= (wxString
*) &_result_ref
;
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17384 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17387 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17388 return SWIG_Py_Void();
17391 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17392 return SWIG_Python_InitShadowInstance(args
);
17395 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
= 0;
17397 int arg1
= (int) -1 ;
17398 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17399 wxPyLocale
*result
= 0 ;
17404 PyObject
* obj0
= 0 ;
17405 PyObject
* obj1
= 0 ;
17406 char * kwnames
[] = {
17407 (char *) "language",(char *) "flags", NULL
17410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17413 if (!SWIG_IsOK(ecode1
)) {
17414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17416 arg1
= static_cast< int >(val1
);
17419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17420 if (!SWIG_IsOK(ecode2
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17423 arg2
= static_cast< int >(val2
);
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17438 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17439 PyObject
*resultobj
= 0;
17440 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17443 PyObject
*swig_obj
[1] ;
17445 if (!args
) SWIG_fail
;
17446 swig_obj
[0] = args
;
17447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17448 if (!SWIG_IsOK(res1
)) {
17449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17451 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= SWIG_Py_Void();
17466 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
= 0;
17468 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17469 PyObject
*arg2
= (PyObject
*) 0 ;
17470 PyObject
*arg3
= (PyObject
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 PyObject
* obj2
= 0 ;
17476 char * kwnames
[] = {
17477 (char *) "self",(char *) "self",(char *) "_class", NULL
17480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17482 if (!SWIG_IsOK(res1
)) {
17483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17485 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_Py_Void();
17501 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= 0;
17503 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17504 wxChar
*arg2
= (wxChar
*) 0 ;
17505 wxChar
*arg3
= (wxChar
*) NULL
;
17506 wxChar
*result
= 0 ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char * kwnames
[] = {
17517 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17522 if (!SWIG_IsOK(res1
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17525 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17527 if (!SWIG_IsOK(res2
)) {
17528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17530 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17532 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17533 if (!SWIG_IsOK(res3
)) {
17534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17536 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17551 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
= 0;
17553 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17554 wxChar
*arg2
= (wxChar
*) 0 ;
17555 wxChar
*arg3
= (wxChar
*) 0 ;
17557 wxChar
*arg5
= (wxChar
*) NULL
;
17558 wxChar
*result
= 0 ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 PyObject
* obj3
= 0 ;
17573 PyObject
* obj4
= 0 ;
17574 char * kwnames
[] = {
17575 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17580 if (!SWIG_IsOK(res1
)) {
17581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17583 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17585 if (!SWIG_IsOK(res2
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17588 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17589 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17590 if (!SWIG_IsOK(res3
)) {
17591 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17593 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17594 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17595 if (!SWIG_IsOK(ecode4
)) {
17596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17598 arg4
= static_cast< size_t >(val4
);
17600 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17601 if (!SWIG_IsOK(res5
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17604 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17619 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17623 return SWIG_Py_Void();
17626 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17627 return SWIG_Python_InitShadowInstance(args
);
17630 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17631 PyObject
*resultobj
= 0;
17632 wxLocale
*result
= 0 ;
17634 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= (wxLocale
*)wxGetLocale();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17648 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17649 PyObject
*resultobj
= 0;
17650 wxString
*arg1
= 0 ;
17652 bool temp1
= false ;
17654 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17656 arg1
= wxString_in_helper(swig_obj
[0]);
17657 if (arg1
== NULL
) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= wxGetTranslation((wxString
const &)*arg1
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17687 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17688 PyObject
*resultobj
= 0;
17689 wxString
*arg1
= 0 ;
17690 wxString
*arg2
= 0 ;
17692 bool temp1
= false ;
17693 bool temp2
= false ;
17695 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17697 arg1
= wxString_in_helper(swig_obj
[0]);
17698 if (arg1
== NULL
) SWIG_fail
;
17702 arg2
= wxString_in_helper(swig_obj
[1]);
17703 if (arg2
== NULL
) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17741 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17742 PyObject
*resultobj
= 0;
17743 wxString
*arg1
= 0 ;
17744 wxString
*arg2
= 0 ;
17747 bool temp1
= false ;
17748 bool temp2
= false ;
17752 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17754 arg1
= wxString_in_helper(swig_obj
[0]);
17755 if (arg1
== NULL
) SWIG_fail
;
17759 arg2
= wxString_in_helper(swig_obj
[1]);
17760 if (arg2
== NULL
) SWIG_fail
;
17763 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17764 if (!SWIG_IsOK(ecode3
)) {
17765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17767 arg3
= static_cast< size_t >(val3
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17803 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17804 PyObject
*resultobj
= 0;
17805 wxString
*arg1
= 0 ;
17806 wxString
*arg2
= 0 ;
17808 wxString
*arg4
= 0 ;
17810 bool temp1
= false ;
17811 bool temp2
= false ;
17814 bool temp4
= false ;
17816 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17818 arg1
= wxString_in_helper(swig_obj
[0]);
17819 if (arg1
== NULL
) SWIG_fail
;
17823 arg2
= wxString_in_helper(swig_obj
[1]);
17824 if (arg2
== NULL
) SWIG_fail
;
17827 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17828 if (!SWIG_IsOK(ecode3
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17831 arg3
= static_cast< size_t >(val3
);
17833 arg4
= wxString_in_helper(swig_obj
[3]);
17834 if (arg4
== NULL
) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17880 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17884 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17887 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17890 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17893 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17896 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17900 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17905 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17906 PyObject
*resultobj
= 0;
17907 wxEncodingConverter
*result
= 0 ;
17909 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17923 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17924 PyObject
*resultobj
= 0;
17925 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17928 PyObject
*swig_obj
[1] ;
17930 if (!args
) SWIG_fail
;
17931 swig_obj
[0] = args
;
17932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17933 if (!SWIG_IsOK(res1
)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17936 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_Py_Void();
17951 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
= 0;
17953 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17954 wxFontEncoding arg2
;
17955 wxFontEncoding arg3
;
17956 int arg4
= (int) wxCONVERT_STRICT
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 PyObject
* obj2
= 0 ;
17969 PyObject
* obj3
= 0 ;
17970 char * kwnames
[] = {
17971 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17979 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17981 if (!SWIG_IsOK(ecode2
)) {
17982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17984 arg2
= static_cast< wxFontEncoding
>(val2
);
17985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17986 if (!SWIG_IsOK(ecode3
)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17989 arg3
= static_cast< wxFontEncoding
>(val3
);
17991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17992 if (!SWIG_IsOK(ecode4
)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17995 arg4
= static_cast< int >(val4
);
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18012 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
= 0;
18014 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18015 wxString
*arg2
= 0 ;
18019 bool temp2
= false ;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char * kwnames
[] = {
18023 (char *) "self",(char *) "input", NULL
18026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18028 if (!SWIG_IsOK(res1
)) {
18029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18031 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18033 arg2
= wxString_in_helper(obj1
);
18034 if (arg2
== NULL
) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18064 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
= 0;
18066 wxFontEncoding arg1
;
18067 int arg2
= (int) wxPLATFORM_CURRENT
;
18068 wxFontEncodingArray result
;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 char * kwnames
[] = {
18076 (char *) "enc",(char *) "platform", NULL
18079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18080 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18081 if (!SWIG_IsOK(ecode1
)) {
18082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18084 arg1
= static_cast< wxFontEncoding
>(val1
);
18086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18087 if (!SWIG_IsOK(ecode2
)) {
18088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18090 arg2
= static_cast< int >(val2
);
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= PyList_New(0);
18100 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18101 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18102 PyList_Append(resultobj
, number
);
18112 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
= 0;
18114 wxFontEncoding arg1
;
18115 wxFontEncodingArray result
;
18118 PyObject
* obj0
= 0 ;
18119 char * kwnames
[] = {
18120 (char *) "enc", NULL
18123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18125 if (!SWIG_IsOK(ecode1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18128 arg1
= static_cast< wxFontEncoding
>(val1
);
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= PyList_New(0);
18137 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18138 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18139 PyList_Append(resultobj
, number
);
18149 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
= 0;
18151 wxFontEncoding arg1
;
18152 wxFontEncoding arg2
;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 char * kwnames
[] = {
18161 (char *) "encIn",(char *) "encOut", NULL
18164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18166 if (!SWIG_IsOK(ecode1
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18169 arg1
= static_cast< wxFontEncoding
>(val1
);
18170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18171 if (!SWIG_IsOK(ecode2
)) {
18172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18174 arg2
= static_cast< wxFontEncoding
>(val2
);
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18190 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18193 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18194 return SWIG_Py_Void();
18197 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18198 return SWIG_Python_InitShadowInstance(args
);
18201 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18202 PyObject
*resultobj
= 0;
18203 wxDC
*arg1
= (wxDC
*) 0 ;
18206 PyObject
*swig_obj
[1] ;
18208 if (!args
) SWIG_fail
;
18209 swig_obj
[0] = args
;
18210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18211 if (!SWIG_IsOK(res1
)) {
18212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
= 0;
18231 wxDC
*arg1
= (wxDC
*) 0 ;
18234 wxColour
*arg4
= 0 ;
18235 int arg5
= (int) wxFLOOD_SURFACE
;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 PyObject
* obj2
= 0 ;
18249 PyObject
* obj3
= 0 ;
18250 PyObject
* obj4
= 0 ;
18251 char * kwnames
[] = {
18252 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18262 if (!SWIG_IsOK(ecode2
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18265 arg2
= static_cast< int >(val2
);
18266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18267 if (!SWIG_IsOK(ecode3
)) {
18268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18270 arg3
= static_cast< int >(val3
);
18273 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18277 if (!SWIG_IsOK(ecode5
)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18280 arg5
= static_cast< int >(val5
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18297 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxDC
*arg1
= (wxDC
*) 0 ;
18300 wxPoint
*arg2
= 0 ;
18301 wxColour
*arg3
= 0 ;
18302 int arg4
= (int) wxFLOOD_SURFACE
;
18310 PyObject
* obj0
= 0 ;
18311 PyObject
* obj1
= 0 ;
18312 PyObject
* obj2
= 0 ;
18313 PyObject
* obj3
= 0 ;
18314 char * kwnames
[] = {
18315 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18320 if (!SWIG_IsOK(res1
)) {
18321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18330 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18334 if (!SWIG_IsOK(ecode4
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18337 arg4
= static_cast< int >(val4
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18354 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
= 0;
18356 wxDC
*arg1
= (wxDC
*) 0 ;
18358 wxColour
*arg3
= 0 ;
18359 wxColour
*arg4
= 0 ;
18360 wxPoint
*arg5
= 0 ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 PyObject
* obj2
= 0 ;
18370 PyObject
* obj3
= 0 ;
18371 PyObject
* obj4
= 0 ;
18372 char * kwnames
[] = {
18373 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18378 if (!SWIG_IsOK(res1
)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18384 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18388 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18392 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18396 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_Py_Void();
18411 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
= 0;
18413 wxDC
*arg1
= (wxDC
*) 0 ;
18415 wxColour
*arg3
= 0 ;
18416 wxColour
*arg4
= 0 ;
18417 wxDirection arg5
= (wxDirection
) wxEAST
;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 PyObject
* obj2
= 0 ;
18428 PyObject
* obj3
= 0 ;
18429 PyObject
* obj4
= 0 ;
18430 char * kwnames
[] = {
18431 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18436 if (!SWIG_IsOK(res1
)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18442 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18446 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18450 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18453 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18454 if (!SWIG_IsOK(ecode5
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18457 arg5
= static_cast< wxDirection
>(val5
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_Py_Void();
18472 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxDC
*arg1
= (wxDC
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 PyObject
* obj2
= 0 ;
18487 char * kwnames
[] = {
18488 (char *) "self",(char *) "x",(char *) "y", NULL
18491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18493 if (!SWIG_IsOK(res1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18498 if (!SWIG_IsOK(ecode2
)) {
18499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18501 arg2
= static_cast< int >(val2
);
18502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18503 if (!SWIG_IsOK(ecode3
)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18506 arg3
= static_cast< int >(val3
);
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18520 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
= 0;
18522 wxDC
*arg1
= (wxDC
*) 0 ;
18523 wxPoint
*arg2
= 0 ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "pt", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18557 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
= 0;
18559 wxDC
*arg1
= (wxDC
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 PyObject
* obj3
= 0 ;
18578 PyObject
* obj4
= 0 ;
18579 char * kwnames
[] = {
18580 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18585 if (!SWIG_IsOK(res1
)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18590 if (!SWIG_IsOK(ecode2
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18593 arg2
= static_cast< int >(val2
);
18594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18595 if (!SWIG_IsOK(ecode3
)) {
18596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18598 arg3
= static_cast< int >(val3
);
18599 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18600 if (!SWIG_IsOK(ecode4
)) {
18601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18603 arg4
= static_cast< int >(val4
);
18604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18605 if (!SWIG_IsOK(ecode5
)) {
18606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18608 arg5
= static_cast< int >(val5
);
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_Py_Void();
18622 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
= 0;
18624 wxDC
*arg1
= (wxDC
*) 0 ;
18625 wxPoint
*arg2
= 0 ;
18626 wxPoint
*arg3
= 0 ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 PyObject
* obj2
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_Py_Void();
18665 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
= 0;
18667 wxDC
*arg1
= (wxDC
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 PyObject
* obj2
= 0 ;
18679 char * kwnames
[] = {
18680 (char *) "self",(char *) "x",(char *) "y", NULL
18683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18690 if (!SWIG_IsOK(ecode2
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18693 arg2
= static_cast< int >(val2
);
18694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18695 if (!SWIG_IsOK(ecode3
)) {
18696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18698 arg3
= static_cast< int >(val3
);
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 (arg1
)->CrossHair(arg2
,arg3
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_Py_Void();
18712 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
= 0;
18714 wxDC
*arg1
= (wxDC
*) 0 ;
18715 wxPoint
*arg2
= 0 ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 char * kwnames
[] = {
18722 (char *) "self",(char *) "pt", NULL
18725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18727 if (!SWIG_IsOK(res1
)) {
18728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_Py_Void();
18748 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18750 wxDC
*arg1
= (wxDC
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 PyObject
* obj2
= 0 ;
18774 PyObject
* obj3
= 0 ;
18775 PyObject
* obj4
= 0 ;
18776 PyObject
* obj5
= 0 ;
18777 PyObject
* obj6
= 0 ;
18778 char * kwnames
[] = {
18779 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18784 if (!SWIG_IsOK(res1
)) {
18785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18789 if (!SWIG_IsOK(ecode2
)) {
18790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18792 arg2
= static_cast< int >(val2
);
18793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18794 if (!SWIG_IsOK(ecode3
)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18797 arg3
= static_cast< int >(val3
);
18798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18799 if (!SWIG_IsOK(ecode4
)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18802 arg4
= static_cast< int >(val4
);
18803 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18804 if (!SWIG_IsOK(ecode5
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18807 arg5
= static_cast< int >(val5
);
18808 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18809 if (!SWIG_IsOK(ecode6
)) {
18810 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18812 arg6
= static_cast< int >(val6
);
18813 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18814 if (!SWIG_IsOK(ecode7
)) {
18815 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18817 arg7
= static_cast< int >(val7
);
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_Py_Void();
18831 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= 0;
18833 wxDC
*arg1
= (wxDC
*) 0 ;
18834 wxPoint
*arg2
= 0 ;
18835 wxPoint
*arg3
= 0 ;
18836 wxPoint
*arg4
= 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 PyObject
* obj2
= 0 ;
18845 PyObject
* obj3
= 0 ;
18846 char * kwnames
[] = {
18847 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18852 if (!SWIG_IsOK(res1
)) {
18853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxDC
*arg1
= (wxDC
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 PyObject
* obj2
= 0 ;
18901 PyObject
* obj3
= 0 ;
18902 PyObject
* obj4
= 0 ;
18903 char * kwnames
[] = {
18904 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18909 if (!SWIG_IsOK(res1
)) {
18910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18914 if (!SWIG_IsOK(ecode2
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18917 arg2
= static_cast< int >(val2
);
18918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18919 if (!SWIG_IsOK(ecode3
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18922 arg3
= static_cast< int >(val3
);
18923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18924 if (!SWIG_IsOK(ecode4
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18927 arg4
= static_cast< int >(val4
);
18928 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18929 if (!SWIG_IsOK(ecode5
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18932 arg5
= static_cast< int >(val5
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_Py_Void();
18946 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxDC
*arg1
= (wxDC
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 char * kwnames
[] = {
18956 (char *) "self",(char *) "rect", NULL
18959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_Py_Void();
18982 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
= 0;
18984 wxDC
*arg1
= (wxDC
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 PyObject
* obj2
= 0 ;
19008 PyObject
* obj3
= 0 ;
19009 PyObject
* obj4
= 0 ;
19010 PyObject
* obj5
= 0 ;
19011 PyObject
* obj6
= 0 ;
19012 char * kwnames
[] = {
19013 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19023 if (!SWIG_IsOK(ecode2
)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19026 arg2
= static_cast< int >(val2
);
19027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19028 if (!SWIG_IsOK(ecode3
)) {
19029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19031 arg3
= static_cast< int >(val3
);
19032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19033 if (!SWIG_IsOK(ecode4
)) {
19034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19036 arg4
= static_cast< int >(val4
);
19037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19038 if (!SWIG_IsOK(ecode5
)) {
19039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19041 arg5
= static_cast< int >(val5
);
19042 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19043 if (!SWIG_IsOK(ecode6
)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19046 arg6
= static_cast< double >(val6
);
19047 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19048 if (!SWIG_IsOK(ecode7
)) {
19049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19051 arg7
= static_cast< double >(val7
);
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= SWIG_Py_Void();
19065 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
= 0;
19067 wxDC
*arg1
= (wxDC
*) 0 ;
19068 wxPoint
*arg2
= 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 PyObject
* obj2
= 0 ;
19083 PyObject
* obj3
= 0 ;
19084 PyObject
* obj4
= 0 ;
19085 char * kwnames
[] = {
19086 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19091 if (!SWIG_IsOK(res1
)) {
19092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19101 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19103 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19104 if (!SWIG_IsOK(ecode4
)) {
19105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19107 arg4
= static_cast< double >(val4
);
19108 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19109 if (!SWIG_IsOK(ecode5
)) {
19110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19112 arg5
= static_cast< double >(val5
);
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_Py_Void();
19126 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
= 0;
19128 wxDC
*arg1
= (wxDC
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 PyObject
* obj2
= 0 ;
19140 char * kwnames
[] = {
19141 (char *) "self",(char *) "x",(char *) "y", NULL
19144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19151 if (!SWIG_IsOK(ecode2
)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19154 arg2
= static_cast< int >(val2
);
19155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19156 if (!SWIG_IsOK(ecode3
)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19159 arg3
= static_cast< int >(val3
);
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 (arg1
)->DrawPoint(arg2
,arg3
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_Py_Void();
19173 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
= 0;
19175 wxDC
*arg1
= (wxDC
*) 0 ;
19176 wxPoint
*arg2
= 0 ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char * kwnames
[] = {
19183 (char *) "self",(char *) "pt", NULL
19186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19188 if (!SWIG_IsOK(res1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_Py_Void();
19209 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
= 0;
19211 wxDC
*arg1
= (wxDC
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 PyObject
* obj2
= 0 ;
19229 PyObject
* obj3
= 0 ;
19230 PyObject
* obj4
= 0 ;
19231 char * kwnames
[] = {
19232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19242 if (!SWIG_IsOK(ecode2
)) {
19243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19245 arg2
= static_cast< int >(val2
);
19246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19247 if (!SWIG_IsOK(ecode3
)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19250 arg3
= static_cast< int >(val3
);
19251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19252 if (!SWIG_IsOK(ecode4
)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19255 arg4
= static_cast< int >(val4
);
19256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19257 if (!SWIG_IsOK(ecode5
)) {
19258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19260 arg5
= static_cast< int >(val5
);
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_Py_Void();
19274 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
= 0;
19276 wxDC
*arg1
= (wxDC
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char * kwnames
[] = {
19284 (char *) "self",(char *) "rect", NULL
19287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19289 if (!SWIG_IsOK(res1
)) {
19290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_Py_Void();
19310 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
= 0;
19312 wxDC
*arg1
= (wxDC
*) 0 ;
19313 wxPoint
*arg2
= 0 ;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 PyObject
* obj2
= 0 ;
19322 char * kwnames
[] = {
19323 (char *) "self",(char *) "pt",(char *) "sz", NULL
19326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19328 if (!SWIG_IsOK(res1
)) {
19329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19338 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 PyObject
* obj1
= 0 ;
19375 PyObject
* obj2
= 0 ;
19376 PyObject
* obj3
= 0 ;
19377 PyObject
* obj4
= 0 ;
19378 PyObject
* obj5
= 0 ;
19379 char * kwnames
[] = {
19380 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19385 if (!SWIG_IsOK(res1
)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19390 if (!SWIG_IsOK(ecode2
)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19393 arg2
= static_cast< int >(val2
);
19394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19395 if (!SWIG_IsOK(ecode3
)) {
19396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19398 arg3
= static_cast< int >(val3
);
19399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19400 if (!SWIG_IsOK(ecode4
)) {
19401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19403 arg4
= static_cast< int >(val4
);
19404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19405 if (!SWIG_IsOK(ecode5
)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19408 arg5
= static_cast< int >(val5
);
19409 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19410 if (!SWIG_IsOK(ecode6
)) {
19411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19413 arg6
= static_cast< double >(val6
);
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= SWIG_Py_Void();
19427 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
= 0;
19429 wxDC
*arg1
= (wxDC
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 PyObject
* obj1
= 0 ;
19439 PyObject
* obj2
= 0 ;
19440 char * kwnames
[] = {
19441 (char *) "self",(char *) "r",(char *) "radius", NULL
19444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19446 if (!SWIG_IsOK(res1
)) {
19447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19452 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19454 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19455 if (!SWIG_IsOK(ecode3
)) {
19456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19458 arg3
= static_cast< double >(val3
);
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= SWIG_Py_Void();
19472 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
= 0;
19474 wxDC
*arg1
= (wxDC
*) 0 ;
19475 wxPoint
*arg2
= 0 ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 PyObject
* obj2
= 0 ;
19487 PyObject
* obj3
= 0 ;
19488 char * kwnames
[] = {
19489 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19504 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19506 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19507 if (!SWIG_IsOK(ecode4
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19510 arg4
= static_cast< double >(val4
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxDC
*arg1
= (wxDC
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 PyObject
* obj2
= 0 ;
19541 PyObject
* obj3
= 0 ;
19542 char * kwnames
[] = {
19543 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19553 if (!SWIG_IsOK(ecode2
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19556 arg2
= static_cast< int >(val2
);
19557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19558 if (!SWIG_IsOK(ecode3
)) {
19559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19561 arg3
= static_cast< int >(val3
);
19562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19563 if (!SWIG_IsOK(ecode4
)) {
19564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19566 arg4
= static_cast< int >(val4
);
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_Py_Void();
19580 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
= 0;
19582 wxDC
*arg1
= (wxDC
*) 0 ;
19583 wxPoint
*arg2
= 0 ;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 PyObject
* obj2
= 0 ;
19593 char * kwnames
[] = {
19594 (char *) "self",(char *) "pt",(char *) "radius", NULL
19597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19608 if (!SWIG_IsOK(ecode3
)) {
19609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19611 arg3
= static_cast< int >(val3
);
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_Py_Void();
19625 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
= 0;
19627 wxDC
*arg1
= (wxDC
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 PyObject
* obj2
= 0 ;
19645 PyObject
* obj3
= 0 ;
19646 PyObject
* obj4
= 0 ;
19647 char * kwnames
[] = {
19648 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19653 if (!SWIG_IsOK(res1
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19658 if (!SWIG_IsOK(ecode2
)) {
19659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19661 arg2
= static_cast< int >(val2
);
19662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19663 if (!SWIG_IsOK(ecode3
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19666 arg3
= static_cast< int >(val3
);
19667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19668 if (!SWIG_IsOK(ecode4
)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19671 arg4
= static_cast< int >(val4
);
19672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19673 if (!SWIG_IsOK(ecode5
)) {
19674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19676 arg5
= static_cast< int >(val5
);
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_Py_Void();
19690 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= 0;
19692 wxDC
*arg1
= (wxDC
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "rect", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19705 if (!SWIG_IsOK(res1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19711 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_Py_Void();
19726 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
= 0;
19728 wxDC
*arg1
= (wxDC
*) 0 ;
19729 wxPoint
*arg2
= 0 ;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj1
= 0 ;
19737 PyObject
* obj2
= 0 ;
19738 char * kwnames
[] = {
19739 (char *) "self",(char *) "pt",(char *) "sz", NULL
19742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19744 if (!SWIG_IsOK(res1
)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19754 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= SWIG_Py_Void();
19769 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
= 0;
19771 wxDC
*arg1
= (wxDC
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 PyObject
* obj2
= 0 ;
19786 PyObject
* obj3
= 0 ;
19787 char * kwnames
[] = {
19788 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19798 if (!SWIG_IsOK(res2
)) {
19799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19804 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19806 if (!SWIG_IsOK(ecode3
)) {
19807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19809 arg3
= static_cast< int >(val3
);
19810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19811 if (!SWIG_IsOK(ecode4
)) {
19812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19814 arg4
= static_cast< int >(val4
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_Py_Void();
19828 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= 0;
19830 wxDC
*arg1
= (wxDC
*) 0 ;
19832 wxPoint
*arg3
= 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 PyObject
* obj2
= 0 ;
19841 char * kwnames
[] = {
19842 (char *) "self",(char *) "icon",(char *) "pt", NULL
19845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19847 if (!SWIG_IsOK(res1
)) {
19848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19852 if (!SWIG_IsOK(res2
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19858 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_Py_Void();
19876 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxDC
*arg1
= (wxDC
*) 0 ;
19879 wxBitmap
*arg2
= 0 ;
19882 bool arg5
= (bool) false ;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 PyObject
* obj2
= 0 ;
19896 PyObject
* obj3
= 0 ;
19897 PyObject
* obj4
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19909 if (!SWIG_IsOK(res2
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19915 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19917 if (!SWIG_IsOK(ecode3
)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19920 arg3
= static_cast< int >(val3
);
19921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19922 if (!SWIG_IsOK(ecode4
)) {
19923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19925 arg4
= static_cast< int >(val4
);
19927 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19928 if (!SWIG_IsOK(ecode5
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19931 arg5
= static_cast< bool >(val5
);
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_Py_Void();
19946 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
= 0;
19948 wxDC
*arg1
= (wxDC
*) 0 ;
19949 wxBitmap
*arg2
= 0 ;
19950 wxPoint
*arg3
= 0 ;
19951 bool arg4
= (bool) false ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 PyObject
* obj2
= 0 ;
19962 PyObject
* obj3
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19974 if (!SWIG_IsOK(res2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19980 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19986 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19987 if (!SWIG_IsOK(ecode4
)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19990 arg4
= static_cast< bool >(val4
);
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= SWIG_Py_Void();
20005 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
= 0;
20007 wxDC
*arg1
= (wxDC
*) 0 ;
20008 wxString
*arg2
= 0 ;
20013 bool temp2
= false ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 PyObject
* obj2
= 0 ;
20021 PyObject
* obj3
= 0 ;
20022 char * kwnames
[] = {
20023 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20028 if (!SWIG_IsOK(res1
)) {
20029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20033 arg2
= wxString_in_helper(obj1
);
20034 if (arg2
== NULL
) SWIG_fail
;
20037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20038 if (!SWIG_IsOK(ecode3
)) {
20039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20041 arg3
= static_cast< int >(val3
);
20042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20043 if (!SWIG_IsOK(ecode4
)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20046 arg4
= static_cast< int >(val4
);
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_Py_Void();
20068 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxDC
*arg1
= (wxDC
*) 0 ;
20071 wxString
*arg2
= 0 ;
20072 wxPoint
*arg3
= 0 ;
20075 bool temp2
= false ;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 PyObject
* obj2
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "text",(char *) "pt", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20091 arg2
= wxString_in_helper(obj1
);
20092 if (arg2
== NULL
) SWIG_fail
;
20097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_Py_Void();
20120 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
= 0;
20122 wxDC
*arg1
= (wxDC
*) 0 ;
20123 wxString
*arg2
= 0 ;
20129 bool temp2
= false ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 PyObject
* obj2
= 0 ;
20139 PyObject
* obj3
= 0 ;
20140 PyObject
* obj4
= 0 ;
20141 char * kwnames
[] = {
20142 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20147 if (!SWIG_IsOK(res1
)) {
20148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20152 arg2
= wxString_in_helper(obj1
);
20153 if (arg2
== NULL
) SWIG_fail
;
20156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20157 if (!SWIG_IsOK(ecode3
)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20160 arg3
= static_cast< int >(val3
);
20161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20162 if (!SWIG_IsOK(ecode4
)) {
20163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20165 arg4
= static_cast< int >(val4
);
20166 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20167 if (!SWIG_IsOK(ecode5
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20170 arg5
= static_cast< double >(val5
);
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= SWIG_Py_Void();
20192 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20195 wxString
*arg2
= 0 ;
20196 wxPoint
*arg3
= 0 ;
20200 bool temp2
= false ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 PyObject
* obj2
= 0 ;
20207 PyObject
* obj3
= 0 ;
20208 char * kwnames
[] = {
20209 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20214 if (!SWIG_IsOK(res1
)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20219 arg2
= wxString_in_helper(obj1
);
20220 if (arg2
== NULL
) SWIG_fail
;
20225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20227 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20228 if (!SWIG_IsOK(ecode4
)) {
20229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20231 arg4
= static_cast< double >(val4
);
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_Py_Void();
20253 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
= 0;
20255 wxDC
*arg1
= (wxDC
*) 0 ;
20260 wxDC
*arg6
= (wxDC
*) 0 ;
20263 int arg9
= (int) wxCOPY
;
20264 bool arg10
= (bool) false ;
20265 int arg11
= (int) -1 ;
20266 int arg12
= (int) -1 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 PyObject
* obj2
= 0 ;
20295 PyObject
* obj3
= 0 ;
20296 PyObject
* obj4
= 0 ;
20297 PyObject
* obj5
= 0 ;
20298 PyObject
* obj6
= 0 ;
20299 PyObject
* obj7
= 0 ;
20300 PyObject
* obj8
= 0 ;
20301 PyObject
* obj9
= 0 ;
20302 PyObject
* obj10
= 0 ;
20303 PyObject
* obj11
= 0 ;
20304 char * kwnames
[] = {
20305 (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
20308 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
;
20309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20310 if (!SWIG_IsOK(res1
)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20313 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20315 if (!SWIG_IsOK(ecode2
)) {
20316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20318 arg2
= static_cast< int >(val2
);
20319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20320 if (!SWIG_IsOK(ecode3
)) {
20321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20323 arg3
= static_cast< int >(val3
);
20324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20325 if (!SWIG_IsOK(ecode4
)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20328 arg4
= static_cast< int >(val4
);
20329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20330 if (!SWIG_IsOK(ecode5
)) {
20331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20333 arg5
= static_cast< int >(val5
);
20334 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20335 if (!SWIG_IsOK(res6
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20338 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20339 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20340 if (!SWIG_IsOK(ecode7
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20343 arg7
= static_cast< int >(val7
);
20344 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20345 if (!SWIG_IsOK(ecode8
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20348 arg8
= static_cast< int >(val8
);
20350 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20351 if (!SWIG_IsOK(ecode9
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20354 arg9
= static_cast< int >(val9
);
20357 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20358 if (!SWIG_IsOK(ecode10
)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20361 arg10
= static_cast< bool >(val10
);
20364 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20365 if (!SWIG_IsOK(ecode11
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20368 arg11
= static_cast< int >(val11
);
20371 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20372 if (!SWIG_IsOK(ecode12
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20375 arg12
= static_cast< int >(val12
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20392 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
= 0;
20394 wxDC
*arg1
= (wxDC
*) 0 ;
20395 wxPoint
*arg2
= 0 ;
20397 wxDC
*arg4
= (wxDC
*) 0 ;
20398 wxPoint
*arg5
= 0 ;
20399 int arg6
= (int) wxCOPY
;
20400 bool arg7
= (bool) false ;
20401 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20402 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 PyObject
* obj2
= 0 ;
20419 PyObject
* obj3
= 0 ;
20420 PyObject
* obj4
= 0 ;
20421 PyObject
* obj5
= 0 ;
20422 PyObject
* obj6
= 0 ;
20423 PyObject
* obj7
= 0 ;
20424 char * kwnames
[] = {
20425 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20440 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20442 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20443 if (!SWIG_IsOK(res4
)) {
20444 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20446 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20449 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20452 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20453 if (!SWIG_IsOK(ecode6
)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20456 arg6
= static_cast< int >(val6
);
20459 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20460 if (!SWIG_IsOK(ecode7
)) {
20461 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20463 arg7
= static_cast< bool >(val7
);
20468 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20486 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
= 0;
20488 wxDC
*arg1
= (wxDC
*) 0 ;
20489 wxRect
*arg2
= (wxRect
*) NULL
;
20490 SwigValueWrapper
<wxBitmap
> result
;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "self",(char *) "subrect", NULL
20501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20509 if (!SWIG_IsOK(res2
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20512 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20527 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
= 0;
20529 wxDC
*arg1
= (wxDC
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20546 PyObject
* obj2
= 0 ;
20547 PyObject
* obj3
= 0 ;
20548 PyObject
* obj4
= 0 ;
20549 char * kwnames
[] = {
20550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20555 if (!SWIG_IsOK(res1
)) {
20556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20560 if (!SWIG_IsOK(ecode2
)) {
20561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20563 arg2
= static_cast< int >(val2
);
20564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20565 if (!SWIG_IsOK(ecode3
)) {
20566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20568 arg3
= static_cast< int >(val3
);
20569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20570 if (!SWIG_IsOK(ecode4
)) {
20571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20573 arg4
= static_cast< int >(val4
);
20574 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20575 if (!SWIG_IsOK(ecode5
)) {
20576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20578 arg5
= static_cast< int >(val5
);
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_Py_Void();
20592 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
= 0;
20594 wxDC
*arg1
= (wxDC
*) 0 ;
20595 wxPoint
*arg2
= 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 PyObject
* obj2
= 0 ;
20604 char * kwnames
[] = {
20605 (char *) "self",(char *) "pt",(char *) "sz", NULL
20608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20610 if (!SWIG_IsOK(res1
)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20620 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= SWIG_Py_Void();
20635 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
= 0;
20637 wxDC
*arg1
= (wxDC
*) 0 ;
20638 wxRegion
*arg2
= 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 char * kwnames
[] = {
20646 (char *) "self",(char *) "region", NULL
20649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20656 if (!SWIG_IsOK(res2
)) {
20657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20662 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_Py_Void();
20676 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
= 0;
20678 wxDC
*arg1
= (wxDC
*) 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 char * kwnames
[] = {
20686 (char *) "self",(char *) "rect", NULL
20689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20691 if (!SWIG_IsOK(res1
)) {
20692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20697 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= SWIG_Py_Void();
20712 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
= 0;
20714 wxDC
*arg1
= (wxDC
*) 0 ;
20716 wxPoint
*arg3
= (wxPoint
*) 0 ;
20717 int arg4
= (int) 0 ;
20718 int arg5
= (int) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 PyObject
* obj2
= 0 ;
20728 PyObject
* obj3
= 0 ;
20729 char * kwnames
[] = {
20730 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20735 if (!SWIG_IsOK(res1
)) {
20736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20740 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20741 if (arg3
== NULL
) SWIG_fail
;
20744 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20745 if (!SWIG_IsOK(ecode4
)) {
20746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20748 arg4
= static_cast< int >(val4
);
20751 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20752 if (!SWIG_IsOK(ecode5
)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20755 arg5
= static_cast< int >(val5
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_Py_Void();
20765 if (arg3
) delete [] arg3
;
20770 if (arg3
) delete [] arg3
;
20776 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
= 0;
20778 wxDC
*arg1
= (wxDC
*) 0 ;
20780 wxPoint
*arg3
= (wxPoint
*) 0 ;
20781 int arg4
= (int) 0 ;
20782 int arg5
= (int) 0 ;
20783 int arg6
= (int) wxODDEVEN_RULE
;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 PyObject
* obj3
= 0 ;
20796 PyObject
* obj4
= 0 ;
20797 char * kwnames
[] = {
20798 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20808 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20809 if (arg3
== NULL
) SWIG_fail
;
20812 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20813 if (!SWIG_IsOK(ecode4
)) {
20814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20816 arg4
= static_cast< int >(val4
);
20819 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20820 if (!SWIG_IsOK(ecode5
)) {
20821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20823 arg5
= static_cast< int >(val5
);
20826 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20827 if (!SWIG_IsOK(ecode6
)) {
20828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20830 arg6
= static_cast< int >(val6
);
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_Py_Void();
20840 if (arg3
) delete [] arg3
;
20845 if (arg3
) delete [] arg3
;
20851 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
= 0;
20853 wxDC
*arg1
= (wxDC
*) 0 ;
20854 wxString
*arg2
= 0 ;
20856 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20857 int arg5
= (int) -1 ;
20860 bool temp2
= false ;
20866 PyObject
* obj0
= 0 ;
20867 PyObject
* obj1
= 0 ;
20868 PyObject
* obj2
= 0 ;
20869 PyObject
* obj3
= 0 ;
20870 PyObject
* obj4
= 0 ;
20871 char * kwnames
[] = {
20872 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20882 arg2
= wxString_in_helper(obj1
);
20883 if (arg2
== NULL
) SWIG_fail
;
20888 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20892 if (!SWIG_IsOK(ecode4
)) {
20893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20895 arg4
= static_cast< int >(val4
);
20898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20899 if (!SWIG_IsOK(ecode5
)) {
20900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20902 arg5
= static_cast< int >(val5
);
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= SWIG_Py_Void();
20925 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxDC
*arg1
= (wxDC
*) 0 ;
20928 wxString
*arg2
= 0 ;
20929 wxBitmap
*arg3
= 0 ;
20931 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20932 int arg6
= (int) -1 ;
20936 bool temp2
= false ;
20944 PyObject
* obj0
= 0 ;
20945 PyObject
* obj1
= 0 ;
20946 PyObject
* obj2
= 0 ;
20947 PyObject
* obj3
= 0 ;
20948 PyObject
* obj4
= 0 ;
20949 PyObject
* obj5
= 0 ;
20950 char * kwnames
[] = {
20951 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20956 if (!SWIG_IsOK(res1
)) {
20957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20961 arg2
= wxString_in_helper(obj1
);
20962 if (arg2
== NULL
) SWIG_fail
;
20965 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20966 if (!SWIG_IsOK(res3
)) {
20967 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20972 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20975 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20978 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20979 if (!SWIG_IsOK(ecode5
)) {
20980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20982 arg5
= static_cast< int >(val5
);
20985 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20986 if (!SWIG_IsOK(ecode6
)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20989 arg6
= static_cast< int >(val6
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21012 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
= 0;
21014 wxDC
*arg1
= (wxDC
*) 0 ;
21016 wxPoint
*arg3
= (wxPoint
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 char * kwnames
[] = {
21022 (char *) "self",(char *) "points", NULL
21025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21027 if (!SWIG_IsOK(res1
)) {
21028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21032 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21033 if (arg3
== NULL
) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->DrawSpline(arg2
,arg3
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_Py_Void();
21043 if (arg3
) delete [] arg3
;
21048 if (arg3
) delete [] arg3
;
21054 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21055 PyObject
*resultobj
= 0;
21056 wxDC
*arg1
= (wxDC
*) 0 ;
21059 PyObject
*swig_obj
[1] ;
21061 if (!args
) SWIG_fail
;
21062 swig_obj
[0] = args
;
21063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21064 if (!SWIG_IsOK(res1
)) {
21065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_Py_Void();
21081 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= 0;
21083 wxDC
*arg1
= (wxDC
*) 0 ;
21084 wxString
*arg2
= 0 ;
21088 bool temp2
= false ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 char * kwnames
[] = {
21092 (char *) "self",(char *) "message", NULL
21095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21102 arg2
= wxString_in_helper(obj1
);
21103 if (arg2
== NULL
) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21129 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21130 PyObject
*resultobj
= 0;
21131 wxDC
*arg1
= (wxDC
*) 0 ;
21134 PyObject
*swig_obj
[1] ;
21136 if (!args
) SWIG_fail
;
21137 swig_obj
[0] = args
;
21138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21139 if (!SWIG_IsOK(res1
)) {
21140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_Py_Void();
21156 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 PyObject
*resultobj
= 0;
21158 wxDC
*arg1
= (wxDC
*) 0 ;
21161 PyObject
*swig_obj
[1] ;
21163 if (!args
) SWIG_fail
;
21164 swig_obj
[0] = args
;
21165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21166 if (!SWIG_IsOK(res1
)) {
21167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 (arg1
)->StartPage();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_Py_Void();
21183 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 PyObject
*resultobj
= 0;
21185 wxDC
*arg1
= (wxDC
*) 0 ;
21188 PyObject
*swig_obj
[1] ;
21190 if (!args
) SWIG_fail
;
21191 swig_obj
[0] = args
;
21192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_Py_Void();
21210 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
= 0;
21212 wxDC
*arg1
= (wxDC
*) 0 ;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 char * kwnames
[] = {
21221 (char *) "self",(char *) "font", NULL
21224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21226 if (!SWIG_IsOK(res1
)) {
21227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21231 if (!SWIG_IsOK(res2
)) {
21232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21237 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 (arg1
)->SetFont((wxFont
const &)*arg2
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_Py_Void();
21251 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
= 0;
21253 wxDC
*arg1
= (wxDC
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char * kwnames
[] = {
21262 (char *) "self",(char *) "pen", NULL
21265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21267 if (!SWIG_IsOK(res1
)) {
21268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21272 if (!SWIG_IsOK(res2
)) {
21273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21278 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 (arg1
)->SetPen((wxPen
const &)*arg2
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= SWIG_Py_Void();
21292 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
= 0;
21294 wxDC
*arg1
= (wxDC
*) 0 ;
21295 wxBrush
*arg2
= 0 ;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 char * kwnames
[] = {
21303 (char *) "self",(char *) "brush", NULL
21306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21308 if (!SWIG_IsOK(res1
)) {
21309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21311 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21313 if (!SWIG_IsOK(res2
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21319 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= SWIG_Py_Void();
21333 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
= 0;
21335 wxDC
*arg1
= (wxDC
*) 0 ;
21336 wxBrush
*arg2
= 0 ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char * kwnames
[] = {
21344 (char *) "self",(char *) "brush", NULL
21347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21349 if (!SWIG_IsOK(res1
)) {
21350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21354 if (!SWIG_IsOK(res2
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21360 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= SWIG_Py_Void();
21374 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
= 0;
21376 wxDC
*arg1
= (wxDC
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 char * kwnames
[] = {
21385 (char *) "self",(char *) "mode", NULL
21388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21390 if (!SWIG_IsOK(res1
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21395 if (!SWIG_IsOK(ecode2
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21398 arg2
= static_cast< int >(val2
);
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 (arg1
)->SetBackgroundMode(arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= SWIG_Py_Void();
21412 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
= 0;
21414 wxDC
*arg1
= (wxDC
*) 0 ;
21415 wxPalette
*arg2
= 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char * kwnames
[] = {
21423 (char *) "self",(char *) "palette", NULL
21426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21428 if (!SWIG_IsOK(res1
)) {
21429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21433 if (!SWIG_IsOK(res2
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21439 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_Py_Void();
21453 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21454 PyObject
*resultobj
= 0;
21455 wxDC
*arg1
= (wxDC
*) 0 ;
21458 PyObject
*swig_obj
[1] ;
21460 if (!args
) SWIG_fail
;
21461 swig_obj
[0] = args
;
21462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->DestroyClippingRegion();
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= SWIG_Py_Void();
21480 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxDC
*arg1
= (wxDC
*) 0 ;
21483 int *arg2
= (int *) 0 ;
21484 int *arg3
= (int *) 0 ;
21485 int *arg4
= (int *) 0 ;
21486 int *arg5
= (int *) 0 ;
21490 int res2
= SWIG_TMPOBJ
;
21492 int res3
= SWIG_TMPOBJ
;
21494 int res4
= SWIG_TMPOBJ
;
21496 int res5
= SWIG_TMPOBJ
;
21497 PyObject
*swig_obj
[1] ;
21503 if (!args
) SWIG_fail
;
21504 swig_obj
[0] = args
;
21505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21506 if (!SWIG_IsOK(res1
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_Py_Void();
21517 if (SWIG_IsTmpObj(res2
)) {
21518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21520 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21523 if (SWIG_IsTmpObj(res3
)) {
21524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21526 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21529 if (SWIG_IsTmpObj(res4
)) {
21530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21532 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21535 if (SWIG_IsTmpObj(res5
)) {
21536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21538 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21547 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21548 PyObject
*resultobj
= 0;
21549 wxDC
*arg1
= (wxDC
*) 0 ;
21553 PyObject
*swig_obj
[1] ;
21555 if (!args
) SWIG_fail
;
21556 swig_obj
[0] = args
;
21557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21558 if (!SWIG_IsOK(res1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= wxDC_GetClippingRect(arg1
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21575 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21576 PyObject
*resultobj
= 0;
21577 wxDC
*arg1
= (wxDC
*) 0 ;
21581 PyObject
*swig_obj
[1] ;
21583 if (!args
) SWIG_fail
;
21584 swig_obj
[0] = args
;
21585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21586 if (!SWIG_IsOK(res1
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_From_int(static_cast< int >(result
));
21603 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21604 PyObject
*resultobj
= 0;
21605 wxDC
*arg1
= (wxDC
*) 0 ;
21609 PyObject
*swig_obj
[1] ;
21611 if (!args
) SWIG_fail
;
21612 swig_obj
[0] = args
;
21613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21614 if (!SWIG_IsOK(res1
)) {
21615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 resultobj
= SWIG_From_int(static_cast< int >(result
));
21631 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
= 0;
21633 wxDC
*arg1
= (wxDC
*) 0 ;
21634 wxString
*arg2
= 0 ;
21635 int *arg3
= (int *) 0 ;
21636 int *arg4
= (int *) 0 ;
21639 bool temp2
= false ;
21641 int res3
= SWIG_TMPOBJ
;
21643 int res4
= SWIG_TMPOBJ
;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char * kwnames
[] = {
21647 (char *) "self",(char *) "string", NULL
21652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21659 arg2
= wxString_in_helper(obj1
);
21660 if (arg2
== NULL
) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_Py_Void();
21670 if (SWIG_IsTmpObj(res3
)) {
21671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21676 if (SWIG_IsTmpObj(res4
)) {
21677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21679 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21696 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
= 0;
21698 wxDC
*arg1
= (wxDC
*) 0 ;
21699 wxString
*arg2
= 0 ;
21700 int *arg3
= (int *) 0 ;
21701 int *arg4
= (int *) 0 ;
21702 int *arg5
= (int *) 0 ;
21703 int *arg6
= (int *) 0 ;
21704 wxFont
*arg7
= (wxFont
*) NULL
;
21707 bool temp2
= false ;
21709 int res3
= SWIG_TMPOBJ
;
21711 int res4
= SWIG_TMPOBJ
;
21713 int res5
= SWIG_TMPOBJ
;
21715 int res6
= SWIG_TMPOBJ
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char * kwnames
[] = {
21722 (char *) "self",(char *) "string",(char *) "font", NULL
21729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21731 if (!SWIG_IsOK(res1
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21736 arg2
= wxString_in_helper(obj1
);
21737 if (arg2
== NULL
) SWIG_fail
;
21741 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21742 if (!SWIG_IsOK(res7
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21745 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= SWIG_Py_Void();
21754 if (SWIG_IsTmpObj(res3
)) {
21755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21757 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21760 if (SWIG_IsTmpObj(res4
)) {
21761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21763 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21766 if (SWIG_IsTmpObj(res5
)) {
21767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21769 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21772 if (SWIG_IsTmpObj(res6
)) {
21773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21775 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21792 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
= 0;
21794 wxDC
*arg1
= (wxDC
*) 0 ;
21795 wxString
*arg2
= 0 ;
21796 int *arg3
= (int *) 0 ;
21797 int *arg4
= (int *) 0 ;
21798 int *arg5
= (int *) 0 ;
21799 wxFont
*arg6
= (wxFont
*) NULL
;
21802 bool temp2
= false ;
21804 int res3
= SWIG_TMPOBJ
;
21806 int res4
= SWIG_TMPOBJ
;
21808 int res5
= SWIG_TMPOBJ
;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 PyObject
* obj2
= 0 ;
21814 char * kwnames
[] = {
21815 (char *) "self",(char *) "text",(char *) "font", NULL
21821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21828 arg2
= wxString_in_helper(obj1
);
21829 if (arg2
== NULL
) SWIG_fail
;
21833 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21834 if (!SWIG_IsOK(res6
)) {
21835 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21837 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_Py_Void();
21846 if (SWIG_IsTmpObj(res3
)) {
21847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21849 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21852 if (SWIG_IsTmpObj(res4
)) {
21853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21858 if (SWIG_IsTmpObj(res5
)) {
21859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21878 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
= 0;
21880 wxDC
*arg1
= (wxDC
*) 0 ;
21881 wxString
*arg2
= 0 ;
21885 bool temp2
= false ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char * kwnames
[] = {
21889 (char *) "self",(char *) "text", NULL
21892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21899 arg2
= wxString_in_helper(obj1
);
21900 if (arg2
== NULL
) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= wxArrayInt2PyList_helper(result
);
21926 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21927 PyObject
*resultobj
= 0;
21928 wxDC
*arg1
= (wxDC
*) 0 ;
21932 PyObject
*swig_obj
[1] ;
21934 if (!args
) SWIG_fail
;
21935 swig_obj
[0] = args
;
21936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21937 if (!SWIG_IsOK(res1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (arg1
)->GetSize();
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21954 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21955 PyObject
*resultobj
= 0;
21956 wxDC
*arg1
= (wxDC
*) 0 ;
21957 int *arg2
= (int *) 0 ;
21958 int *arg3
= (int *) 0 ;
21962 int res2
= SWIG_TMPOBJ
;
21964 int res3
= SWIG_TMPOBJ
;
21965 PyObject
*swig_obj
[1] ;
21969 if (!args
) SWIG_fail
;
21970 swig_obj
[0] = args
;
21971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21972 if (!SWIG_IsOK(res1
)) {
21973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 (arg1
)->GetSize(arg2
,arg3
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_Py_Void();
21983 if (SWIG_IsTmpObj(res2
)) {
21984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21986 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21989 if (SWIG_IsTmpObj(res3
)) {
21990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21992 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22001 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22002 PyObject
*resultobj
= 0;
22003 wxDC
*arg1
= (wxDC
*) 0 ;
22007 PyObject
*swig_obj
[1] ;
22009 if (!args
) SWIG_fail
;
22010 swig_obj
[0] = args
;
22011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22012 if (!SWIG_IsOK(res1
)) {
22013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22029 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22030 PyObject
*resultobj
= 0;
22031 wxDC
*arg1
= (wxDC
*) 0 ;
22032 int *arg2
= (int *) 0 ;
22033 int *arg3
= (int *) 0 ;
22037 int res2
= SWIG_TMPOBJ
;
22039 int res3
= SWIG_TMPOBJ
;
22040 PyObject
*swig_obj
[1] ;
22044 if (!args
) SWIG_fail
;
22045 swig_obj
[0] = args
;
22046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22047 if (!SWIG_IsOK(res1
)) {
22048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= SWIG_Py_Void();
22058 if (SWIG_IsTmpObj(res2
)) {
22059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22061 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22062 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22064 if (SWIG_IsTmpObj(res3
)) {
22065 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22067 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22068 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22076 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
= 0;
22078 wxDC
*arg1
= (wxDC
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char * kwnames
[] = {
22088 (char *) "self",(char *) "x", NULL
22091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22098 if (!SWIG_IsOK(ecode2
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22101 arg2
= static_cast< int >(val2
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_From_int(static_cast< int >(result
));
22115 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxDC
*arg1
= (wxDC
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "self",(char *) "y", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22132 if (!SWIG_IsOK(res1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22137 if (!SWIG_IsOK(ecode2
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22140 arg2
= static_cast< int >(val2
);
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= SWIG_From_int(static_cast< int >(result
));
22154 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
= 0;
22156 wxDC
*arg1
= (wxDC
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char * kwnames
[] = {
22166 (char *) "self",(char *) "x", NULL
22169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22176 if (!SWIG_IsOK(ecode2
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22179 arg2
= static_cast< int >(val2
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_From_int(static_cast< int >(result
));
22193 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= 0;
22195 wxDC
*arg1
= (wxDC
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char * kwnames
[] = {
22205 (char *) "self",(char *) "y", NULL
22208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22215 if (!SWIG_IsOK(ecode2
)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22218 arg2
= static_cast< int >(val2
);
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_From_int(static_cast< int >(result
));
22232 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
= 0;
22234 wxDC
*arg1
= (wxDC
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 char * kwnames
[] = {
22244 (char *) "self",(char *) "x", NULL
22247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22254 if (!SWIG_IsOK(ecode2
)) {
22255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22257 arg2
= static_cast< int >(val2
);
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_From_int(static_cast< int >(result
));
22271 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
= 0;
22273 wxDC
*arg1
= (wxDC
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char * kwnames
[] = {
22283 (char *) "self",(char *) "y", NULL
22286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22293 if (!SWIG_IsOK(ecode2
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22296 arg2
= static_cast< int >(val2
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_From_int(static_cast< int >(result
));
22310 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
= 0;
22312 wxDC
*arg1
= (wxDC
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char * kwnames
[] = {
22322 (char *) "self",(char *) "x", NULL
22325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22327 if (!SWIG_IsOK(res1
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22332 if (!SWIG_IsOK(ecode2
)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22335 arg2
= static_cast< int >(val2
);
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_From_int(static_cast< int >(result
));
22349 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= 0;
22351 wxDC
*arg1
= (wxDC
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 char * kwnames
[] = {
22361 (char *) "self",(char *) "y", NULL
22364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22366 if (!SWIG_IsOK(res1
)) {
22367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22371 if (!SWIG_IsOK(ecode2
)) {
22372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22374 arg2
= static_cast< int >(val2
);
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= SWIG_From_int(static_cast< int >(result
));
22388 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22389 PyObject
*resultobj
= 0;
22390 wxDC
*arg1
= (wxDC
*) 0 ;
22394 PyObject
*swig_obj
[1] ;
22396 if (!args
) SWIG_fail
;
22397 swig_obj
[0] = args
;
22398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22418 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22419 PyObject
*resultobj
= 0;
22420 wxDC
*arg1
= (wxDC
*) 0 ;
22424 PyObject
*swig_obj
[1] ;
22426 if (!args
) SWIG_fail
;
22427 swig_obj
[0] = args
;
22428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22448 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22449 PyObject
*resultobj
= 0;
22450 wxDC
*arg1
= (wxDC
*) 0 ;
22454 PyObject
*swig_obj
[1] ;
22456 if (!args
) SWIG_fail
;
22457 swig_obj
[0] = args
;
22458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_From_int(static_cast< int >(result
));
22476 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22477 PyObject
*resultobj
= 0;
22478 wxDC
*arg1
= (wxDC
*) 0 ;
22482 PyObject
*swig_obj
[1] ;
22484 if (!args
) SWIG_fail
;
22485 swig_obj
[0] = args
;
22486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22487 if (!SWIG_IsOK(res1
)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 result
= ((wxDC
const *)arg1
)->GetPPI();
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22504 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22505 PyObject
*resultobj
= 0;
22506 wxDC
*arg1
= (wxDC
*) 0 ;
22510 PyObject
*swig_obj
[1] ;
22512 if (!args
) SWIG_fail
;
22513 swig_obj
[0] = args
;
22514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22515 if (!SWIG_IsOK(res1
)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22534 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22535 PyObject
*resultobj
= 0;
22536 wxDC
*arg1
= (wxDC
*) 0 ;
22540 PyObject
*swig_obj
[1] ;
22542 if (!args
) SWIG_fail
;
22543 swig_obj
[0] = args
;
22544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_From_int(static_cast< int >(result
));
22562 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22563 PyObject
*resultobj
= 0;
22564 wxDC
*arg1
= (wxDC
*) 0 ;
22565 wxBrush
*result
= 0 ;
22568 PyObject
*swig_obj
[1] ;
22570 if (!args
) SWIG_fail
;
22571 swig_obj
[0] = args
;
22572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22581 result
= (wxBrush
*) &_result_ref
;
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22587 wxBrush
* resultptr
= new wxBrush(*result
);
22588 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22596 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22597 PyObject
*resultobj
= 0;
22598 wxDC
*arg1
= (wxDC
*) 0 ;
22599 wxBrush
*result
= 0 ;
22602 PyObject
*swig_obj
[1] ;
22604 if (!args
) SWIG_fail
;
22605 swig_obj
[0] = args
;
22606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22607 if (!SWIG_IsOK(res1
)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22615 result
= (wxBrush
*) &_result_ref
;
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22621 wxBrush
* resultptr
= new wxBrush(*result
);
22622 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22630 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22631 PyObject
*resultobj
= 0;
22632 wxDC
*arg1
= (wxDC
*) 0 ;
22633 wxFont
*result
= 0 ;
22636 PyObject
*swig_obj
[1] ;
22638 if (!args
) SWIG_fail
;
22639 swig_obj
[0] = args
;
22640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22649 result
= (wxFont
*) &_result_ref
;
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 wxFont
* resultptr
= new wxFont(*result
);
22656 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22664 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22665 PyObject
*resultobj
= 0;
22666 wxDC
*arg1
= (wxDC
*) 0 ;
22667 wxPen
*result
= 0 ;
22670 PyObject
*swig_obj
[1] ;
22672 if (!args
) SWIG_fail
;
22673 swig_obj
[0] = args
;
22674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22675 if (!SWIG_IsOK(res1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22683 result
= (wxPen
*) &_result_ref
;
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 wxPen
* resultptr
= new wxPen(*result
);
22690 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22698 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22699 PyObject
*resultobj
= 0;
22700 wxDC
*arg1
= (wxDC
*) 0 ;
22701 wxColour
*result
= 0 ;
22704 PyObject
*swig_obj
[1] ;
22706 if (!args
) SWIG_fail
;
22707 swig_obj
[0] = args
;
22708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22717 result
= (wxColour
*) &_result_ref
;
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22729 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 PyObject
*resultobj
= 0;
22731 wxDC
*arg1
= (wxDC
*) 0 ;
22732 wxColour
*result
= 0 ;
22735 PyObject
*swig_obj
[1] ;
22737 if (!args
) SWIG_fail
;
22738 swig_obj
[0] = args
;
22739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22748 result
= (wxColour
*) &_result_ref
;
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22760 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
= 0;
22762 wxDC
*arg1
= (wxDC
*) 0 ;
22763 wxColour
*arg2
= 0 ;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 char * kwnames
[] = {
22770 (char *) "self",(char *) "colour", NULL
22773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22775 if (!SWIG_IsOK(res1
)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_Py_Void();
22796 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
= 0;
22798 wxDC
*arg1
= (wxDC
*) 0 ;
22799 wxColour
*arg2
= 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char * kwnames
[] = {
22806 (char *) "self",(char *) "colour", NULL
22809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_Py_Void();
22832 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 PyObject
*resultobj
= 0;
22834 wxDC
*arg1
= (wxDC
*) 0 ;
22838 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_From_int(static_cast< int >(result
));
22860 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
= 0;
22862 wxDC
*arg1
= (wxDC
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char * kwnames
[] = {
22871 (char *) "self",(char *) "mode", NULL
22874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22881 if (!SWIG_IsOK(ecode2
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22884 arg2
= static_cast< int >(val2
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->SetMapMode(arg2
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22898 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 PyObject
*resultobj
= 0;
22900 wxDC
*arg1
= (wxDC
*) 0 ;
22901 double *arg2
= (double *) 0 ;
22902 double *arg3
= (double *) 0 ;
22906 int res2
= SWIG_TMPOBJ
;
22908 int res3
= SWIG_TMPOBJ
;
22909 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_Py_Void();
22927 if (SWIG_IsTmpObj(res2
)) {
22928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22930 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22933 if (SWIG_IsTmpObj(res3
)) {
22934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22936 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22945 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
= 0;
22947 wxDC
*arg1
= (wxDC
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 PyObject
* obj2
= 0 ;
22959 char * kwnames
[] = {
22960 (char *) "self",(char *) "x",(char *) "y", NULL
22963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22969 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22970 if (!SWIG_IsOK(ecode2
)) {
22971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22973 arg2
= static_cast< double >(val2
);
22974 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22975 if (!SWIG_IsOK(ecode3
)) {
22976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22978 arg3
= static_cast< double >(val3
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetUserScale(arg2
,arg3
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22993 PyObject
*resultobj
= 0;
22994 wxDC
*arg1
= (wxDC
*) 0 ;
22995 double *arg2
= (double *) 0 ;
22996 double *arg3
= (double *) 0 ;
23000 int res2
= SWIG_TMPOBJ
;
23002 int res3
= SWIG_TMPOBJ
;
23003 PyObject
*swig_obj
[1] ;
23007 if (!args
) SWIG_fail
;
23008 swig_obj
[0] = args
;
23009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23010 if (!SWIG_IsOK(res1
)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 (arg1
)->GetLogicalScale(arg2
,arg3
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_Py_Void();
23021 if (SWIG_IsTmpObj(res2
)) {
23022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23024 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23027 if (SWIG_IsTmpObj(res3
)) {
23028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23039 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
= 0;
23041 wxDC
*arg1
= (wxDC
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 PyObject
* obj2
= 0 ;
23053 char * kwnames
[] = {
23054 (char *) "self",(char *) "x",(char *) "y", NULL
23057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23063 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23064 if (!SWIG_IsOK(ecode2
)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23067 arg2
= static_cast< double >(val2
);
23068 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23069 if (!SWIG_IsOK(ecode3
)) {
23070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23072 arg3
= static_cast< double >(val3
);
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 (arg1
)->SetLogicalScale(arg2
,arg3
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_Py_Void();
23086 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23087 PyObject
*resultobj
= 0;
23088 wxDC
*arg1
= (wxDC
*) 0 ;
23092 PyObject
*swig_obj
[1] ;
23094 if (!args
) SWIG_fail
;
23095 swig_obj
[0] = args
;
23096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23097 if (!SWIG_IsOK(res1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23114 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23115 PyObject
*resultobj
= 0;
23116 wxDC
*arg1
= (wxDC
*) 0 ;
23117 int *arg2
= (int *) 0 ;
23118 int *arg3
= (int *) 0 ;
23122 int res2
= SWIG_TMPOBJ
;
23124 int res3
= SWIG_TMPOBJ
;
23125 PyObject
*swig_obj
[1] ;
23129 if (!args
) SWIG_fail
;
23130 swig_obj
[0] = args
;
23131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_Py_Void();
23143 if (SWIG_IsTmpObj(res2
)) {
23144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23146 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23149 if (SWIG_IsTmpObj(res3
)) {
23150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23152 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23161 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
= 0;
23163 wxDC
*arg1
= (wxDC
*) 0 ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 PyObject
* obj2
= 0 ;
23175 char * kwnames
[] = {
23176 (char *) "self",(char *) "x",(char *) "y", NULL
23179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23181 if (!SWIG_IsOK(res1
)) {
23182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23186 if (!SWIG_IsOK(ecode2
)) {
23187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23189 arg2
= static_cast< int >(val2
);
23190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23191 if (!SWIG_IsOK(ecode3
)) {
23192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23194 arg3
= static_cast< int >(val3
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_Py_Void();
23208 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
= 0;
23210 wxDC
*arg1
= (wxDC
*) 0 ;
23211 wxPoint
*arg2
= 0 ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 char * kwnames
[] = {
23218 (char *) "self",(char *) "point", NULL
23221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23223 if (!SWIG_IsOK(res1
)) {
23224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= SWIG_Py_Void();
23244 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23245 PyObject
*resultobj
= 0;
23246 wxDC
*arg1
= (wxDC
*) 0 ;
23250 PyObject
*swig_obj
[1] ;
23252 if (!args
) SWIG_fail
;
23253 swig_obj
[0] = args
;
23254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23255 if (!SWIG_IsOK(res1
)) {
23256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23272 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23273 PyObject
*resultobj
= 0;
23274 wxDC
*arg1
= (wxDC
*) 0 ;
23275 int *arg2
= (int *) 0 ;
23276 int *arg3
= (int *) 0 ;
23280 int res2
= SWIG_TMPOBJ
;
23282 int res3
= SWIG_TMPOBJ
;
23283 PyObject
*swig_obj
[1] ;
23287 if (!args
) SWIG_fail
;
23288 swig_obj
[0] = args
;
23289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= SWIG_Py_Void();
23301 if (SWIG_IsTmpObj(res2
)) {
23302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23304 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23307 if (SWIG_IsTmpObj(res3
)) {
23308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23310 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23319 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
= 0;
23321 wxDC
*arg1
= (wxDC
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 PyObject
* obj2
= 0 ;
23333 char * kwnames
[] = {
23334 (char *) "self",(char *) "x",(char *) "y", NULL
23337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23339 if (!SWIG_IsOK(res1
)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23344 if (!SWIG_IsOK(ecode2
)) {
23345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23347 arg2
= static_cast< int >(val2
);
23348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23349 if (!SWIG_IsOK(ecode3
)) {
23350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23352 arg3
= static_cast< int >(val3
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_Py_Void();
23366 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
= 0;
23368 wxDC
*arg1
= (wxDC
*) 0 ;
23369 wxPoint
*arg2
= 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char * kwnames
[] = {
23376 (char *) "self",(char *) "point", NULL
23379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_Py_Void();
23402 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
= 0;
23404 wxDC
*arg1
= (wxDC
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23426 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23427 if (!SWIG_IsOK(ecode2
)) {
23428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23430 arg2
= static_cast< bool >(val2
);
23431 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23432 if (!SWIG_IsOK(ecode3
)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23435 arg3
= static_cast< bool >(val3
);
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_Py_Void();
23449 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23450 PyObject
*resultobj
= 0;
23451 wxDC
*arg1
= (wxDC
*) 0 ;
23455 PyObject
*swig_obj
[1] ;
23457 if (!args
) SWIG_fail
;
23458 swig_obj
[0] = args
;
23459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23460 if (!SWIG_IsOK(res1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_From_int(static_cast< int >(result
));
23477 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
= 0;
23479 wxDC
*arg1
= (wxDC
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char * kwnames
[] = {
23488 (char *) "self",(char *) "function", NULL
23491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23498 if (!SWIG_IsOK(ecode2
)) {
23499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23501 arg2
= static_cast< int >(val2
);
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->SetLogicalFunction(arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_Py_Void();
23515 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23516 PyObject
*resultobj
= 0;
23517 wxDC
*arg1
= (wxDC
*) 0 ;
23520 PyObject
*swig_obj
[1] ;
23522 if (!args
) SWIG_fail
;
23523 swig_obj
[0] = args
;
23524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23528 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 (arg1
)->ComputeScaleAndOrigin();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_Py_Void();
23542 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
= 0;
23544 wxDC
*arg1
= (wxDC
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 PyObject
* obj2
= 0 ;
23556 char * kwnames
[] = {
23557 (char *) "self",(char *) "x",(char *) "y", NULL
23560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23567 if (!SWIG_IsOK(ecode2
)) {
23568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23570 arg2
= static_cast< int >(val2
);
23571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23572 if (!SWIG_IsOK(ecode3
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23575 arg3
= static_cast< int >(val3
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_Py_Void();
23589 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
= 0;
23591 wxDC
*arg1
= (wxDC
*) 0 ;
23592 wxPoint
*arg2
= 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char * kwnames
[] = {
23599 (char *) "self",(char *) "point", NULL
23602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23604 if (!SWIG_IsOK(res1
)) {
23605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23610 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_Py_Void();
23625 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 PyObject
*resultobj
= 0;
23627 wxDC
*arg1
= (wxDC
*) 0 ;
23630 PyObject
*swig_obj
[1] ;
23632 if (!args
) SWIG_fail
;
23633 swig_obj
[0] = args
;
23634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23635 if (!SWIG_IsOK(res1
)) {
23636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 (arg1
)->ResetBoundingBox();
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= SWIG_Py_Void();
23652 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23653 PyObject
*resultobj
= 0;
23654 wxDC
*arg1
= (wxDC
*) 0 ;
23658 PyObject
*swig_obj
[1] ;
23660 if (!args
) SWIG_fail
;
23661 swig_obj
[0] = args
;
23662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (int)((wxDC
const *)arg1
)->MinX();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_From_int(static_cast< int >(result
));
23680 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23681 PyObject
*resultobj
= 0;
23682 wxDC
*arg1
= (wxDC
*) 0 ;
23686 PyObject
*swig_obj
[1] ;
23688 if (!args
) SWIG_fail
;
23689 swig_obj
[0] = args
;
23690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23691 if (!SWIG_IsOK(res1
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (int)((wxDC
const *)arg1
)->MaxX();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= SWIG_From_int(static_cast< int >(result
));
23708 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23709 PyObject
*resultobj
= 0;
23710 wxDC
*arg1
= (wxDC
*) 0 ;
23714 PyObject
*swig_obj
[1] ;
23716 if (!args
) SWIG_fail
;
23717 swig_obj
[0] = args
;
23718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23719 if (!SWIG_IsOK(res1
)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (int)((wxDC
const *)arg1
)->MinY();
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_From_int(static_cast< int >(result
));
23736 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23737 PyObject
*resultobj
= 0;
23738 wxDC
*arg1
= (wxDC
*) 0 ;
23742 PyObject
*swig_obj
[1] ;
23744 if (!args
) SWIG_fail
;
23745 swig_obj
[0] = args
;
23746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23747 if (!SWIG_IsOK(res1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 result
= (int)((wxDC
const *)arg1
)->MaxY();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_From_int(static_cast< int >(result
));
23764 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23765 PyObject
*resultobj
= 0;
23766 wxDC
*arg1
= (wxDC
*) 0 ;
23767 int *arg2
= (int *) 0 ;
23768 int *arg3
= (int *) 0 ;
23769 int *arg4
= (int *) 0 ;
23770 int *arg5
= (int *) 0 ;
23774 int res2
= SWIG_TMPOBJ
;
23776 int res3
= SWIG_TMPOBJ
;
23778 int res4
= SWIG_TMPOBJ
;
23780 int res5
= SWIG_TMPOBJ
;
23781 PyObject
*swig_obj
[1] ;
23787 if (!args
) SWIG_fail
;
23788 swig_obj
[0] = args
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= SWIG_Py_Void();
23801 if (SWIG_IsTmpObj(res2
)) {
23802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23804 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23807 if (SWIG_IsTmpObj(res3
)) {
23808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23810 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23813 if (SWIG_IsTmpObj(res4
)) {
23814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23816 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23819 if (SWIG_IsTmpObj(res5
)) {
23820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23822 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23831 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23832 PyObject
*resultobj
= 0;
23833 wxDC
*arg1
= (wxDC
*) 0 ;
23834 wxLayoutDirection result
;
23837 PyObject
*swig_obj
[1] ;
23839 if (!args
) SWIG_fail
;
23840 swig_obj
[0] = args
;
23841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23842 if (!SWIG_IsOK(res1
)) {
23843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_From_int(static_cast< int >(result
));
23859 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
= 0;
23861 wxDC
*arg1
= (wxDC
*) 0 ;
23862 wxLayoutDirection arg2
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "self",(char *) "dir", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23880 if (!SWIG_IsOK(ecode2
)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23883 arg2
= static_cast< wxLayoutDirection
>(val2
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 (arg1
)->SetLayoutDirection(arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_Py_Void();
23897 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 PyObject
*resultobj
= 0;
23899 wxDC
*arg1
= (wxDC
*) 0 ;
23903 PyObject
*swig_obj
[1] ;
23905 if (!args
) SWIG_fail
;
23906 swig_obj
[0] = args
;
23907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23908 if (!SWIG_IsOK(res1
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (long)(arg1
)->GetHDC();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_From_long(static_cast< long >(result
));
23925 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
= 0;
23927 wxDC
*arg1
= (wxDC
*) 0 ;
23928 PyObject
*arg2
= (PyObject
*) 0 ;
23929 PyObject
*arg3
= (PyObject
*) 0 ;
23930 PyObject
*arg4
= (PyObject
*) 0 ;
23931 PyObject
*result
= 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 PyObject
* obj2
= 0 ;
23937 PyObject
* obj3
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= result
;
23964 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= 0;
23966 wxDC
*arg1
= (wxDC
*) 0 ;
23967 PyObject
*arg2
= (PyObject
*) 0 ;
23968 PyObject
*arg3
= (PyObject
*) 0 ;
23969 PyObject
*arg4
= (PyObject
*) 0 ;
23970 PyObject
*result
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 PyObject
* obj3
= 0 ;
23977 char * kwnames
[] = {
23978 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23983 if (!SWIG_IsOK(res1
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
;
24003 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
= 0;
24005 wxDC
*arg1
= (wxDC
*) 0 ;
24006 PyObject
*arg2
= (PyObject
*) 0 ;
24007 PyObject
*arg3
= (PyObject
*) 0 ;
24008 PyObject
*arg4
= (PyObject
*) 0 ;
24009 PyObject
*result
= 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 PyObject
* obj2
= 0 ;
24015 PyObject
* obj3
= 0 ;
24016 char * kwnames
[] = {
24017 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= result
;
24042 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= 0;
24044 wxDC
*arg1
= (wxDC
*) 0 ;
24045 PyObject
*arg2
= (PyObject
*) 0 ;
24046 PyObject
*arg3
= (PyObject
*) 0 ;
24047 PyObject
*arg4
= (PyObject
*) 0 ;
24048 PyObject
*result
= 0 ;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 PyObject
* obj2
= 0 ;
24054 PyObject
* obj3
= 0 ;
24055 char * kwnames
[] = {
24056 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24061 if (!SWIG_IsOK(res1
)) {
24062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= result
;
24081 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
= 0;
24083 wxDC
*arg1
= (wxDC
*) 0 ;
24084 PyObject
*arg2
= (PyObject
*) 0 ;
24085 PyObject
*arg3
= (PyObject
*) 0 ;
24086 PyObject
*arg4
= (PyObject
*) 0 ;
24087 PyObject
*result
= 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 PyObject
* obj2
= 0 ;
24093 PyObject
* obj3
= 0 ;
24094 char * kwnames
[] = {
24095 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24100 if (!SWIG_IsOK(res1
)) {
24101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= result
;
24120 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
= 0;
24122 wxDC
*arg1
= (wxDC
*) 0 ;
24123 PyObject
*arg2
= (PyObject
*) 0 ;
24124 PyObject
*arg3
= (PyObject
*) 0 ;
24125 PyObject
*arg4
= (PyObject
*) 0 ;
24126 PyObject
*arg5
= (PyObject
*) 0 ;
24127 PyObject
*result
= 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 PyObject
* obj3
= 0 ;
24134 PyObject
* obj4
= 0 ;
24135 char * kwnames
[] = {
24136 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24141 if (!SWIG_IsOK(res1
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
;
24162 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24165 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24166 return SWIG_Py_Void();
24169 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
= 0;
24172 wxColour
*arg2
= 0 ;
24173 wxDCTextColourChanger
*result
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char * kwnames
[] = {
24180 (char *) "dc",(char *) "col", NULL
24183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24184 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24194 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24209 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24210 PyObject
*resultobj
= 0;
24211 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24214 PyObject
*swig_obj
[1] ;
24216 if (!args
) SWIG_fail
;
24217 swig_obj
[0] = args
;
24218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24222 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_Py_Void();
24237 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24240 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24241 return SWIG_Py_Void();
24244 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 return SWIG_Python_InitShadowInstance(args
);
24248 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= 0;
24252 wxDCPenChanger
*result
= 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 char * kwnames
[] = {
24260 (char *) "dc",(char *) "pen", NULL
24263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24264 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24273 if (!SWIG_IsOK(res2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24279 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24293 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24294 PyObject
*resultobj
= 0;
24295 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24298 PyObject
*swig_obj
[1] ;
24300 if (!args
) SWIG_fail
;
24301 swig_obj
[0] = args
;
24302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24303 if (!SWIG_IsOK(res1
)) {
24304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24306 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_Py_Void();
24321 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24324 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24325 return SWIG_Py_Void();
24328 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24329 return SWIG_Python_InitShadowInstance(args
);
24332 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
= 0;
24335 wxBrush
*arg2
= 0 ;
24336 wxDCBrushChanger
*result
= 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char * kwnames
[] = {
24344 (char *) "dc",(char *) "brush", NULL
24347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24357 if (!SWIG_IsOK(res2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24363 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24377 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24378 PyObject
*resultobj
= 0;
24379 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24382 PyObject
*swig_obj
[1] ;
24384 if (!args
) SWIG_fail
;
24385 swig_obj
[0] = args
;
24386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24390 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= SWIG_Py_Void();
24405 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24408 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24409 return SWIG_Py_Void();
24412 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24413 return SWIG_Python_InitShadowInstance(args
);
24416 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24417 PyObject
*resultobj
= 0;
24419 wxRegion
*arg2
= 0 ;
24420 wxDCClipper
*result
= 0 ;
24426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24428 if (!SWIG_IsOK(res1
)) {
24429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24435 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24436 if (!SWIG_IsOK(res2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24442 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24456 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24457 PyObject
*resultobj
= 0;
24460 wxDCClipper
*result
= 0 ;
24465 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24476 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24491 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24492 PyObject
*resultobj
= 0;
24498 wxDCClipper
*result
= 0 ;
24510 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24519 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24520 if (!SWIG_IsOK(ecode2
)) {
24521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24523 arg2
= static_cast< int >(val2
);
24524 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24525 if (!SWIG_IsOK(ecode3
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24528 arg3
= static_cast< int >(val3
);
24529 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24530 if (!SWIG_IsOK(ecode4
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24533 arg4
= static_cast< int >(val4
);
24534 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24535 if (!SWIG_IsOK(ecode5
)) {
24536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24538 arg5
= static_cast< int >(val5
);
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24552 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24556 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24561 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24562 _v
= SWIG_CheckState(res
);
24564 if (!_v
) goto check_1
;
24565 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24570 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24573 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24577 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24582 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24583 PyObject
*resultobj
= 0;
24584 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24587 PyObject
*swig_obj
[1] ;
24589 if (!args
) SWIG_fail
;
24590 swig_obj
[0] = args
;
24591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24595 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= SWIG_Py_Void();
24610 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24613 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24614 return SWIG_Py_Void();
24617 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24618 return SWIG_Python_InitShadowInstance(args
);
24621 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24622 PyObject
*resultobj
= 0;
24623 wxScreenDC
*result
= 0 ;
24625 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24627 if (!wxPyCheckForApp()) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (wxScreenDC
*)new wxScreenDC();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24640 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= 0;
24642 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24643 wxWindow
*arg2
= (wxWindow
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "window", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24660 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24662 if (!SWIG_IsOK(res2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24681 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= 0;
24683 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24684 wxRect
*arg2
= (wxRect
*) NULL
;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char * kwnames
[] = {
24693 (char *) "self",(char *) "rect", NULL
24696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24698 if (!SWIG_IsOK(res1
)) {
24699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24701 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24704 if (!SWIG_IsOK(res2
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24707 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24724 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24725 PyObject
*resultobj
= 0;
24726 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24730 PyObject
*swig_obj
[1] ;
24732 if (!args
) SWIG_fail
;
24733 swig_obj
[0] = args
;
24734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24738 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (bool)(arg1
)->EndDrawingOnTop();
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24754 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24757 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24758 return SWIG_Py_Void();
24761 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24762 return SWIG_Python_InitShadowInstance(args
);
24765 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
= 0;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24768 wxWindowDC
*result
= 0 ;
24771 PyObject
* obj0
= 0 ;
24772 char * kwnames
[] = {
24773 (char *) "win", NULL
24776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24783 if (!wxPyCheckForApp()) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24796 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24799 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24800 return SWIG_Py_Void();
24803 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24804 return SWIG_Python_InitShadowInstance(args
);
24807 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
= 0;
24809 wxWindow
*arg1
= (wxWindow
*) 0 ;
24810 wxClientDC
*result
= 0 ;
24813 PyObject
* obj0
= 0 ;
24814 char * kwnames
[] = {
24815 (char *) "win", NULL
24818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24820 if (!SWIG_IsOK(res1
)) {
24821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24825 if (!wxPyCheckForApp()) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (wxClientDC
*)new wxClientDC(arg1
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24838 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24841 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24842 return SWIG_Py_Void();
24845 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24846 return SWIG_Python_InitShadowInstance(args
);
24849 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
= 0;
24851 wxWindow
*arg1
= (wxWindow
*) 0 ;
24852 wxPaintDC
*result
= 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char * kwnames
[] = {
24857 (char *) "win", NULL
24860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24867 if (!wxPyCheckForApp()) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24880 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24884 return SWIG_Py_Void();
24887 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24888 return SWIG_Python_InitShadowInstance(args
);
24891 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24894 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24895 wxMemoryDC
*result
= 0 ;
24898 PyObject
* obj0
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "bitmap", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24905 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24915 if (!wxPyCheckForApp()) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24928 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxDC
*arg1
= (wxDC
*) 0 ;
24931 wxMemoryDC
*result
= 0 ;
24934 PyObject
* obj0
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "oldDC", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24946 if (!wxPyCheckForApp()) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24959 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
= 0;
24961 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24962 wxBitmap
*arg2
= 0 ;
24967 PyObject
* obj0
= 0 ;
24968 PyObject
* obj1
= 0 ;
24969 char * kwnames
[] = {
24970 (char *) "self",(char *) "bitmap", NULL
24973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24978 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24980 if (!SWIG_IsOK(res2
)) {
24981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24986 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 (arg1
)->SelectObject(*arg2
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_Py_Void();
25000 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
= 0;
25002 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25003 wxBitmap
*arg2
= 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 char * kwnames
[] = {
25011 (char *) "self",(char *) "bmp", NULL
25014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25016 if (!SWIG_IsOK(res1
)) {
25017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25019 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25021 if (!SWIG_IsOK(res2
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25027 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_Py_Void();
25041 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25044 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25045 return SWIG_Py_Void();
25048 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25049 return SWIG_Python_InitShadowInstance(args
);
25052 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25053 PyObject
*resultobj
= 0;
25054 wxDC
*arg1
= (wxDC
*) 0 ;
25055 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25056 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25057 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25058 wxBufferedDC
*result
= 0 ;
25066 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25073 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25074 if (!SWIG_IsOK(res2
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25080 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25083 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25084 if (!SWIG_IsOK(ecode3
)) {
25085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25087 arg3
= static_cast< int >(val3
);
25090 if (!wxPyCheckForApp()) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25103 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25104 PyObject
*resultobj
= 0;
25105 wxDC
*arg1
= (wxDC
*) 0 ;
25107 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25108 wxBufferedDC
*result
= 0 ;
25115 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25123 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25126 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25127 if (!SWIG_IsOK(ecode3
)) {
25128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25130 arg3
= static_cast< int >(val3
);
25133 if (!wxPyCheckForApp()) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25146 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25150 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25152 if ((argc
>= 1) && (argc
<= 3)) {
25157 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25158 _v
= SWIG_CheckState(res
);
25160 if (!_v
) goto check_1
;
25162 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25166 if ((argc
>= 2) && (argc
<= 3)) {
25167 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25171 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25176 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25177 PyObject
*resultobj
= 0;
25178 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25181 PyObject
*swig_obj
[1] ;
25183 if (!args
) SWIG_fail
;
25184 swig_obj
[0] = args
;
25185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25186 if (!SWIG_IsOK(res1
)) {
25187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25189 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_Py_Void();
25204 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25209 PyObject
*swig_obj
[1] ;
25211 if (!args
) SWIG_fail
;
25212 swig_obj
[0] = args
;
25213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25214 if (!SWIG_IsOK(res1
)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25217 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char * kwnames
[] = {
25242 (char *) "self",(char *) "style", NULL
25245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25250 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25252 if (!SWIG_IsOK(ecode2
)) {
25253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25255 arg2
= static_cast< int >(val2
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->SetStyle(arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_Py_Void();
25269 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25270 PyObject
*resultobj
= 0;
25271 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25275 PyObject
*swig_obj
[1] ;
25277 if (!args
) SWIG_fail
;
25278 swig_obj
[0] = args
;
25279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25280 if (!SWIG_IsOK(res1
)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25283 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_From_int(static_cast< int >(result
));
25297 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25300 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25301 return SWIG_Py_Void();
25304 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 return SWIG_Python_InitShadowInstance(args
);
25308 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25312 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25313 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25314 wxBufferedPaintDC
*result
= 0 ;
25321 PyObject
* obj0
= 0 ;
25322 PyObject
* obj1
= 0 ;
25323 PyObject
* obj2
= 0 ;
25324 char * kwnames
[] = {
25325 (char *) "window",(char *) "buffer",(char *) "style", NULL
25328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25336 if (!SWIG_IsOK(res2
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25342 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25346 if (!SWIG_IsOK(ecode3
)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25349 arg3
= static_cast< int >(val3
);
25352 if (!wxPyCheckForApp()) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25365 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25368 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25369 return SWIG_Py_Void();
25372 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25373 return SWIG_Python_InitShadowInstance(args
);
25376 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
= 0;
25378 wxWindow
*arg1
= (wxWindow
*) 0 ;
25379 wxAutoBufferedPaintDC
*result
= 0 ;
25382 PyObject
* obj0
= 0 ;
25383 char * kwnames
[] = {
25384 (char *) "win", NULL
25387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25389 if (!SWIG_IsOK(res1
)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25406 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25409 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25410 return SWIG_Py_Void();
25413 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 return SWIG_Python_InitShadowInstance(args
);
25417 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 char * kwnames
[] = {
25425 (char *) "window", NULL
25428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25430 if (!SWIG_IsOK(res1
)) {
25431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25449 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
= 0;
25453 wxMirrorDC
*result
= 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char * kwnames
[] = {
25461 (char *) "dc",(char *) "mirror", NULL
25464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25474 if (!SWIG_IsOK(ecode2
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25477 arg2
= static_cast< bool >(val2
);
25479 if (!wxPyCheckForApp()) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25492 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25495 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25496 return SWIG_Py_Void();
25499 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 return SWIG_Python_InitShadowInstance(args
);
25503 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= 0;
25505 wxPrintData
*arg1
= 0 ;
25506 wxPostScriptDC
*result
= 0 ;
25509 PyObject
* obj0
= 0 ;
25510 char * kwnames
[] = {
25511 (char *) "printData", NULL
25514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25515 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25516 if (!SWIG_IsOK(res1
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25522 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25524 if (!wxPyCheckForApp()) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25537 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 PyObject
*resultobj
= 0;
25539 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25540 wxPrintData
*result
= 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25551 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25556 result
= (wxPrintData
*) &_result_ref
;
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25568 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
= 0;
25570 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25571 wxPrintData
*arg2
= 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char * kwnames
[] = {
25579 (char *) "self",(char *) "data", NULL
25582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25584 if (!SWIG_IsOK(res1
)) {
25585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25587 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25589 if (!SWIG_IsOK(res2
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25595 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_Py_Void();
25609 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
= 0;
25614 PyObject
* obj0
= 0 ;
25615 char * kwnames
[] = {
25616 (char *) "ppi", NULL
25619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25620 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25621 if (!SWIG_IsOK(ecode1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25624 arg1
= static_cast< int >(val1
);
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 wxPostScriptDC::SetResolution(arg1
);
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_Py_Void();
25638 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 PyObject
*resultobj
= 0;
25642 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= (int)wxPostScriptDC::GetResolution();
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_From_int(static_cast< int >(result
));
25656 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25659 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25660 return SWIG_Py_Void();
25663 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 return SWIG_Python_InitShadowInstance(args
);
25667 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
= 0;
25669 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25670 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25671 wxMetaFile
*result
= 0 ;
25672 bool temp1
= false ;
25673 PyObject
* obj0
= 0 ;
25674 char * kwnames
[] = {
25675 (char *) "filename", NULL
25678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25681 arg1
= wxString_in_helper(obj0
);
25682 if (arg1
== NULL
) SWIG_fail
;
25687 if (!wxPyCheckForApp()) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25708 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25713 PyObject
*swig_obj
[1] ;
25715 if (!args
) SWIG_fail
;
25716 swig_obj
[0] = args
;
25717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25721 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_Py_Void();
25736 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25750 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (bool)(arg1
)->IsOk();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25766 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
= 0;
25768 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25769 int arg2
= (int) 0 ;
25770 int arg3
= (int) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 PyObject
* obj2
= 0 ;
25781 char * kwnames
[] = {
25782 (char *) "self",(char *) "width",(char *) "height", NULL
25785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25787 if (!SWIG_IsOK(res1
)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25790 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25793 if (!SWIG_IsOK(ecode2
)) {
25794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25796 arg2
= static_cast< int >(val2
);
25799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25800 if (!SWIG_IsOK(ecode3
)) {
25801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25803 arg3
= static_cast< int >(val3
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25820 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25821 PyObject
*resultobj
= 0;
25822 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25826 PyObject
*swig_obj
[1] ;
25828 if (!args
) SWIG_fail
;
25829 swig_obj
[0] = args
;
25830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25831 if (!SWIG_IsOK(res1
)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25834 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 result
= (arg1
)->GetSize();
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25848 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 PyObject
*resultobj
= 0;
25850 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25854 PyObject
*swig_obj
[1] ;
25856 if (!args
) SWIG_fail
;
25857 swig_obj
[0] = args
;
25858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25862 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (int)(arg1
)->GetWidth();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_From_int(static_cast< int >(result
));
25876 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 PyObject
*resultobj
= 0;
25878 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25882 PyObject
*swig_obj
[1] ;
25884 if (!args
) SWIG_fail
;
25885 swig_obj
[0] = args
;
25886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25890 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (int)(arg1
)->GetHeight();
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_From_int(static_cast< int >(result
));
25904 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25905 PyObject
*resultobj
= 0;
25906 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25907 wxString
*result
= 0 ;
25910 PyObject
*swig_obj
[1] ;
25912 if (!args
) SWIG_fail
;
25913 swig_obj
[0] = args
;
25914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25915 if (!SWIG_IsOK(res1
)) {
25916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25918 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25923 result
= (wxString
*) &_result_ref
;
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25932 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25941 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25944 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25945 return SWIG_Py_Void();
25948 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25949 return SWIG_Python_InitShadowInstance(args
);
25952 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
= 0;
25954 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25955 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25956 int arg2
= (int) 0 ;
25957 int arg3
= (int) 0 ;
25958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25960 wxMetaFileDC
*result
= 0 ;
25961 bool temp1
= false ;
25966 bool temp4
= false ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 PyObject
* obj2
= 0 ;
25970 PyObject
* obj3
= 0 ;
25971 char * kwnames
[] = {
25972 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25978 arg1
= wxString_in_helper(obj0
);
25979 if (arg1
== NULL
) SWIG_fail
;
25984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25985 if (!SWIG_IsOK(ecode2
)) {
25986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25988 arg2
= static_cast< int >(val2
);
25991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25992 if (!SWIG_IsOK(ecode3
)) {
25993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25995 arg3
= static_cast< int >(val3
);
25999 arg4
= wxString_in_helper(obj3
);
26000 if (arg4
== NULL
) SWIG_fail
;
26005 if (!wxPyCheckForApp()) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26034 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26035 PyObject
*resultobj
= 0;
26036 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26037 wxMetaFile
*result
= 0 ;
26040 PyObject
*swig_obj
[1] ;
26042 if (!args
) SWIG_fail
;
26043 swig_obj
[0] = args
;
26044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26045 if (!SWIG_IsOK(res1
)) {
26046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26048 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (wxMetaFile
*)(arg1
)->Close();
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26062 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26065 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26066 return SWIG_Py_Void();
26069 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26070 return SWIG_Python_InitShadowInstance(args
);
26073 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
= 0;
26075 wxPrintData
*arg1
= 0 ;
26076 wxPrinterDC
*result
= 0 ;
26079 PyObject
* obj0
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "printData", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26092 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26094 if (!wxPyCheckForApp()) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26107 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26111 return SWIG_Py_Void();
26114 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26115 return SWIG_Python_InitShadowInstance(args
);
26118 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
= 0;
26120 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26121 wxGraphicsObject
*result
= 0 ;
26124 PyObject
* obj0
= 0 ;
26125 char * kwnames
[] = {
26126 (char *) "renderer", NULL
26129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26135 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26138 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26148 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26149 PyObject
*resultobj
= 0;
26150 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26153 PyObject
*swig_obj
[1] ;
26155 if (!args
) SWIG_fail
;
26156 swig_obj
[0] = args
;
26157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26161 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_Py_Void();
26174 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26175 PyObject
*resultobj
= 0;
26176 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26180 PyObject
*swig_obj
[1] ;
26182 if (!args
) SWIG_fail
;
26183 swig_obj
[0] = args
;
26184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26188 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26190 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26191 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26202 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26203 PyObject
*resultobj
= 0;
26204 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26205 wxGraphicsRenderer
*result
= 0 ;
26208 PyObject
*swig_obj
[1] ;
26210 if (!args
) SWIG_fail
;
26211 swig_obj
[0] = args
;
26212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26213 if (!SWIG_IsOK(res1
)) {
26214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26216 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26218 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26228 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26231 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26232 return SWIG_Py_Void();
26235 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26236 return SWIG_Python_InitShadowInstance(args
);
26239 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26240 PyObject
*resultobj
= 0;
26241 wxGraphicsPen
*result
= 0 ;
26243 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26245 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26255 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26256 PyObject
*resultobj
= 0;
26257 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26260 PyObject
*swig_obj
[1] ;
26262 if (!args
) SWIG_fail
;
26263 swig_obj
[0] = args
;
26264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26265 if (!SWIG_IsOK(res1
)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26268 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_Py_Void();
26281 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26284 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26285 return SWIG_Py_Void();
26288 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26289 return SWIG_Python_InitShadowInstance(args
);
26292 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26293 PyObject
*resultobj
= 0;
26294 wxGraphicsBrush
*result
= 0 ;
26296 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26298 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26308 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 PyObject
*resultobj
= 0;
26310 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26313 PyObject
*swig_obj
[1] ;
26315 if (!args
) SWIG_fail
;
26316 swig_obj
[0] = args
;
26317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26321 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_Py_Void();
26334 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26337 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26338 return SWIG_Py_Void();
26341 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26342 return SWIG_Python_InitShadowInstance(args
);
26345 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26346 PyObject
*resultobj
= 0;
26347 wxGraphicsFont
*result
= 0 ;
26349 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26351 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26361 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26362 PyObject
*resultobj
= 0;
26363 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26366 PyObject
*swig_obj
[1] ;
26368 if (!args
) SWIG_fail
;
26369 swig_obj
[0] = args
;
26370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26371 if (!SWIG_IsOK(res1
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26374 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_Py_Void();
26387 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26390 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26391 return SWIG_Py_Void();
26394 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26395 return SWIG_Python_InitShadowInstance(args
);
26398 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26399 PyObject
*resultobj
= 0;
26400 wxGraphicsMatrix
*result
= 0 ;
26402 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26404 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26414 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 PyObject
*resultobj
= 0;
26416 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26419 PyObject
*swig_obj
[1] ;
26421 if (!args
) SWIG_fail
;
26422 swig_obj
[0] = args
;
26423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26427 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_Py_Void();
26440 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
= 0;
26442 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26443 wxGraphicsMatrix
*arg2
= 0 ;
26448 PyObject
* obj0
= 0 ;
26449 PyObject
* obj1
= 0 ;
26450 char * kwnames
[] = {
26451 (char *) "self",(char *) "t", NULL
26454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26456 if (!SWIG_IsOK(res1
)) {
26457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26459 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26461 if (!SWIG_IsOK(res2
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26467 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26469 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_Py_Void();
26479 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
= 0;
26481 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26482 wxDouble arg2
= (wxDouble
) 1.0 ;
26483 wxDouble arg3
= (wxDouble
) 0.0 ;
26484 wxDouble arg4
= (wxDouble
) 0.0 ;
26485 wxDouble arg5
= (wxDouble
) 1.0 ;
26486 wxDouble arg6
= (wxDouble
) 0.0 ;
26487 wxDouble arg7
= (wxDouble
) 0.0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 PyObject
* obj2
= 0 ;
26505 PyObject
* obj3
= 0 ;
26506 PyObject
* obj4
= 0 ;
26507 PyObject
* obj5
= 0 ;
26508 PyObject
* obj6
= 0 ;
26509 char * kwnames
[] = {
26510 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26515 if (!SWIG_IsOK(res1
)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26518 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26520 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26521 if (!SWIG_IsOK(ecode2
)) {
26522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26524 arg2
= static_cast< wxDouble
>(val2
);
26527 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26528 if (!SWIG_IsOK(ecode3
)) {
26529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26531 arg3
= static_cast< wxDouble
>(val3
);
26534 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26535 if (!SWIG_IsOK(ecode4
)) {
26536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26538 arg4
= static_cast< wxDouble
>(val4
);
26541 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26542 if (!SWIG_IsOK(ecode5
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26545 arg5
= static_cast< wxDouble
>(val5
);
26548 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26549 if (!SWIG_IsOK(ecode6
)) {
26550 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26552 arg6
= static_cast< wxDouble
>(val6
);
26555 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26556 if (!SWIG_IsOK(ecode7
)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26559 arg7
= static_cast< wxDouble
>(val7
);
26562 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= SWIG_Py_Void();
26572 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26573 PyObject
*resultobj
= 0;
26574 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26577 PyObject
*swig_obj
[1] ;
26579 if (!args
) SWIG_fail
;
26580 swig_obj
[0] = args
;
26581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26582 if (!SWIG_IsOK(res1
)) {
26583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26585 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26600 wxGraphicsMatrix
*arg2
= 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "t", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26617 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26619 if (!SWIG_IsOK(res2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26625 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26627 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26639 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26640 PyObject
*resultobj
= 0;
26641 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26645 PyObject
*swig_obj
[1] ;
26647 if (!args
) SWIG_fail
;
26648 swig_obj
[0] = args
;
26649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26650 if (!SWIG_IsOK(res1
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26653 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26655 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26667 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
= 0;
26669 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 PyObject
* obj2
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "dx",(char *) "dy", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26690 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26692 if (!SWIG_IsOK(ecode2
)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26695 arg2
= static_cast< wxDouble
>(val2
);
26696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26697 if (!SWIG_IsOK(ecode3
)) {
26698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26700 arg3
= static_cast< wxDouble
>(val3
);
26702 (arg1
)->Translate(arg2
,arg3
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26723 PyObject
* obj0
= 0 ;
26724 PyObject
* obj1
= 0 ;
26725 PyObject
* obj2
= 0 ;
26726 char * kwnames
[] = {
26727 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26735 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26736 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26737 if (!SWIG_IsOK(ecode2
)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26740 arg2
= static_cast< wxDouble
>(val2
);
26741 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26742 if (!SWIG_IsOK(ecode3
)) {
26743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26745 arg3
= static_cast< wxDouble
>(val3
);
26747 (arg1
)->Scale(arg2
,arg3
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= SWIG_Py_Void();
26757 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
= 0;
26759 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 char * kwnames
[] = {
26768 (char *) "self",(char *) "angle", NULL
26771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26773 if (!SWIG_IsOK(res1
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26776 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26777 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26778 if (!SWIG_IsOK(ecode2
)) {
26779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26781 arg2
= static_cast< wxDouble
>(val2
);
26783 (arg1
)->Rotate(arg2
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= SWIG_Py_Void();
26793 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
= 0;
26795 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26796 wxDouble
*arg2
= (wxDouble
*) 0 ;
26797 wxDouble
*arg3
= (wxDouble
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 PyObject
* obj2
= 0 ;
26807 char * kwnames
[] = {
26808 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26816 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26817 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26819 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26820 if (!SWIG_IsOK(ecode
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26823 temp2
= static_cast< wxDouble
>(val
);
26825 res2
= SWIG_AddTmpMask(ecode
);
26827 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26829 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26830 if (!SWIG_IsOK(ecode
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26833 temp3
= static_cast< wxDouble
>(val
);
26835 res3
= SWIG_AddTmpMask(ecode
);
26838 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= SWIG_Py_Void();
26842 if (SWIG_IsTmpObj(res2
)) {
26843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26845 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26848 if (SWIG_IsTmpObj(res3
)) {
26849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26851 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26860 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
= 0;
26862 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26863 wxDouble
*arg2
= (wxDouble
*) 0 ;
26864 wxDouble
*arg3
= (wxDouble
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26883 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26884 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26886 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26887 if (!SWIG_IsOK(ecode
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26890 temp2
= static_cast< wxDouble
>(val
);
26892 res2
= SWIG_AddTmpMask(ecode
);
26894 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26896 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26897 if (!SWIG_IsOK(ecode
)) {
26898 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26900 temp3
= static_cast< wxDouble
>(val
);
26902 res3
= SWIG_AddTmpMask(ecode
);
26905 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_Py_Void();
26909 if (SWIG_IsTmpObj(res2
)) {
26910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26912 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26915 if (SWIG_IsTmpObj(res3
)) {
26916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26927 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26928 PyObject
*resultobj
= 0;
26929 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26933 PyObject
*swig_obj
[1] ;
26935 if (!args
) SWIG_fail
;
26936 swig_obj
[0] = args
;
26937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26938 if (!SWIG_IsOK(res1
)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26941 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26943 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26953 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26956 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26957 return SWIG_Py_Void();
26960 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26961 return SWIG_Python_InitShadowInstance(args
);
26964 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 PyObject
*resultobj
= 0;
26966 wxGraphicsPath
*result
= 0 ;
26968 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26970 if (!wxPyCheckForApp()) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26983 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26984 PyObject
*resultobj
= 0;
26985 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26988 PyObject
*swig_obj
[1] ;
26990 if (!args
) SWIG_fail
;
26991 swig_obj
[0] = args
;
26992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26996 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27010 PyObject
*resultobj
= 0;
27011 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27021 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27023 if (!SWIG_IsOK(res1
)) {
27024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27026 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27027 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27028 if (!SWIG_IsOK(ecode2
)) {
27029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27031 arg2
= static_cast< wxDouble
>(val2
);
27032 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27033 if (!SWIG_IsOK(ecode3
)) {
27034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27036 arg3
= static_cast< wxDouble
>(val3
);
27038 (arg1
)->MoveToPoint(arg2
,arg3
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27049 PyObject
*resultobj
= 0;
27050 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27051 wxPoint2D
*arg2
= 0 ;
27056 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27061 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27064 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27067 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_Py_Void();
27077 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27081 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27084 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27087 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27091 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27096 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27097 PyObject
*resultobj
= 0;
27098 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27108 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27113 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27114 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27115 if (!SWIG_IsOK(ecode2
)) {
27116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27118 arg2
= static_cast< wxDouble
>(val2
);
27119 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27120 if (!SWIG_IsOK(ecode3
)) {
27121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27123 arg3
= static_cast< wxDouble
>(val3
);
27125 (arg1
)->AddLineToPoint(arg2
,arg3
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= SWIG_Py_Void();
27135 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27136 PyObject
*resultobj
= 0;
27137 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27138 wxPoint2D
*arg2
= 0 ;
27143 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27145 if (!SWIG_IsOK(res1
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27148 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27151 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27154 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_Py_Void();
27164 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27168 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27171 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27174 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27178 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27183 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27184 PyObject
*resultobj
= 0;
27185 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27207 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27212 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27213 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27214 if (!SWIG_IsOK(ecode2
)) {
27215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27217 arg2
= static_cast< wxDouble
>(val2
);
27218 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27219 if (!SWIG_IsOK(ecode3
)) {
27220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27222 arg3
= static_cast< wxDouble
>(val3
);
27223 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27224 if (!SWIG_IsOK(ecode4
)) {
27225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27227 arg4
= static_cast< wxDouble
>(val4
);
27228 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27229 if (!SWIG_IsOK(ecode5
)) {
27230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27232 arg5
= static_cast< wxDouble
>(val5
);
27233 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27234 if (!SWIG_IsOK(ecode6
)) {
27235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27237 arg6
= static_cast< wxDouble
>(val6
);
27238 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27239 if (!SWIG_IsOK(ecode7
)) {
27240 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27242 arg7
= static_cast< wxDouble
>(val7
);
27244 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= SWIG_Py_Void();
27254 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27255 PyObject
*resultobj
= 0;
27256 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27257 wxPoint2D
*arg2
= 0 ;
27258 wxPoint2D
*arg3
= 0 ;
27259 wxPoint2D
*arg4
= 0 ;
27266 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27268 if (!SWIG_IsOK(res1
)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27271 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27274 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27278 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27282 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27285 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_Py_Void();
27295 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27299 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27302 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27305 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27309 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27314 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
= 0;
27316 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27317 wxGraphicsPath
*arg2
= 0 ;
27322 PyObject
* obj0
= 0 ;
27323 PyObject
* obj1
= 0 ;
27324 char * kwnames
[] = {
27325 (char *) "self",(char *) "path", NULL
27328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27330 if (!SWIG_IsOK(res1
)) {
27331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27333 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27335 if (!SWIG_IsOK(res2
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27341 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27343 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_Py_Void();
27353 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27354 PyObject
*resultobj
= 0;
27355 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27358 PyObject
*swig_obj
[1] ;
27360 if (!args
) SWIG_fail
;
27361 swig_obj
[0] = args
;
27362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27363 if (!SWIG_IsOK(res1
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27366 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27368 (arg1
)->CloseSubpath();
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= SWIG_Py_Void();
27378 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 PyObject
*resultobj
= 0;
27380 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27384 PyObject
*swig_obj
[1] ;
27386 if (!args
) SWIG_fail
;
27387 swig_obj
[0] = args
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27392 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27394 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27404 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27405 PyObject
*resultobj
= 0;
27406 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27428 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27430 if (!SWIG_IsOK(res1
)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27433 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27434 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27435 if (!SWIG_IsOK(ecode2
)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27438 arg2
= static_cast< wxDouble
>(val2
);
27439 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27440 if (!SWIG_IsOK(ecode3
)) {
27441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27443 arg3
= static_cast< wxDouble
>(val3
);
27444 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27445 if (!SWIG_IsOK(ecode4
)) {
27446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27448 arg4
= static_cast< wxDouble
>(val4
);
27449 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27450 if (!SWIG_IsOK(ecode5
)) {
27451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27453 arg5
= static_cast< wxDouble
>(val5
);
27454 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27455 if (!SWIG_IsOK(ecode6
)) {
27456 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27458 arg6
= static_cast< wxDouble
>(val6
);
27459 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27460 if (!SWIG_IsOK(ecode7
)) {
27461 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27463 arg7
= static_cast< bool >(val7
);
27465 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_Py_Void();
27475 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27476 PyObject
*resultobj
= 0;
27477 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27478 wxPoint2D
*arg2
= 0 ;
27495 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27497 if (!SWIG_IsOK(res1
)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27500 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27503 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27505 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27506 if (!SWIG_IsOK(ecode3
)) {
27507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27509 arg3
= static_cast< wxDouble
>(val3
);
27510 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27511 if (!SWIG_IsOK(ecode4
)) {
27512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27514 arg4
= static_cast< wxDouble
>(val4
);
27515 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27516 if (!SWIG_IsOK(ecode5
)) {
27517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27519 arg5
= static_cast< wxDouble
>(val5
);
27520 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27521 if (!SWIG_IsOK(ecode6
)) {
27522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27524 arg6
= static_cast< bool >(val6
);
27526 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_Py_Void();
27536 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27543 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27546 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27550 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27555 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
= 0;
27557 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 PyObject
* obj2
= 0 ;
27575 PyObject
* obj3
= 0 ;
27576 PyObject
* obj4
= 0 ;
27577 char * kwnames
[] = {
27578 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27583 if (!SWIG_IsOK(res1
)) {
27584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27586 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27587 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27588 if (!SWIG_IsOK(ecode2
)) {
27589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27591 arg2
= static_cast< wxDouble
>(val2
);
27592 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27593 if (!SWIG_IsOK(ecode3
)) {
27594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27596 arg3
= static_cast< wxDouble
>(val3
);
27597 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27598 if (!SWIG_IsOK(ecode4
)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27601 arg4
= static_cast< wxDouble
>(val4
);
27602 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27603 if (!SWIG_IsOK(ecode5
)) {
27604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27606 arg5
= static_cast< wxDouble
>(val5
);
27608 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_Py_Void();
27618 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
= 0;
27620 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 PyObject
* obj2
= 0 ;
27638 PyObject
* obj3
= 0 ;
27639 PyObject
* obj4
= 0 ;
27640 char * kwnames
[] = {
27641 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27649 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27650 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27651 if (!SWIG_IsOK(ecode2
)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27654 arg2
= static_cast< wxDouble
>(val2
);
27655 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27656 if (!SWIG_IsOK(ecode3
)) {
27657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27659 arg3
= static_cast< wxDouble
>(val3
);
27660 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27661 if (!SWIG_IsOK(ecode4
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27664 arg4
= static_cast< wxDouble
>(val4
);
27665 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27666 if (!SWIG_IsOK(ecode5
)) {
27667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27669 arg5
= static_cast< wxDouble
>(val5
);
27671 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_Py_Void();
27681 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
= 0;
27683 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 PyObject
* obj2
= 0 ;
27698 PyObject
* obj3
= 0 ;
27699 char * kwnames
[] = {
27700 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27708 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27709 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27710 if (!SWIG_IsOK(ecode2
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27713 arg2
= static_cast< wxDouble
>(val2
);
27714 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27715 if (!SWIG_IsOK(ecode3
)) {
27716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27718 arg3
= static_cast< wxDouble
>(val3
);
27719 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27720 if (!SWIG_IsOK(ecode4
)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27723 arg4
= static_cast< wxDouble
>(val4
);
27725 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_Py_Void();
27735 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
= 0;
27737 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 PyObject
* obj2
= 0 ;
27758 PyObject
* obj3
= 0 ;
27759 PyObject
* obj4
= 0 ;
27760 PyObject
* obj5
= 0 ;
27761 char * kwnames
[] = {
27762 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27767 if (!SWIG_IsOK(res1
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27770 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27771 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27772 if (!SWIG_IsOK(ecode2
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27775 arg2
= static_cast< wxDouble
>(val2
);
27776 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27777 if (!SWIG_IsOK(ecode3
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27780 arg3
= static_cast< wxDouble
>(val3
);
27781 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27782 if (!SWIG_IsOK(ecode4
)) {
27783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27785 arg4
= static_cast< wxDouble
>(val4
);
27786 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27787 if (!SWIG_IsOK(ecode5
)) {
27788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27790 arg5
= static_cast< wxDouble
>(val5
);
27791 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27792 if (!SWIG_IsOK(ecode6
)) {
27793 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27795 arg6
= static_cast< wxDouble
>(val6
);
27797 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= SWIG_Py_Void();
27807 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
= 0;
27809 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 PyObject
* obj2
= 0 ;
27827 PyObject
* obj3
= 0 ;
27828 PyObject
* obj4
= 0 ;
27829 char * kwnames
[] = {
27830 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27838 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27839 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27840 if (!SWIG_IsOK(ecode2
)) {
27841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27843 arg2
= static_cast< wxDouble
>(val2
);
27844 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27845 if (!SWIG_IsOK(ecode3
)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27848 arg3
= static_cast< wxDouble
>(val3
);
27849 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27850 if (!SWIG_IsOK(ecode4
)) {
27851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27853 arg4
= static_cast< wxDouble
>(val4
);
27854 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27855 if (!SWIG_IsOK(ecode5
)) {
27856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27858 arg5
= static_cast< wxDouble
>(val5
);
27860 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_Py_Void();
27870 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
= 0;
27872 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 PyObject
* obj1
= 0 ;
27892 PyObject
* obj2
= 0 ;
27893 PyObject
* obj3
= 0 ;
27894 PyObject
* obj4
= 0 ;
27895 PyObject
* obj5
= 0 ;
27896 char * kwnames
[] = {
27897 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27902 if (!SWIG_IsOK(res1
)) {
27903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27905 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27906 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27907 if (!SWIG_IsOK(ecode2
)) {
27908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27910 arg2
= static_cast< wxDouble
>(val2
);
27911 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27912 if (!SWIG_IsOK(ecode3
)) {
27913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27915 arg3
= static_cast< wxDouble
>(val3
);
27916 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27917 if (!SWIG_IsOK(ecode4
)) {
27918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27920 arg4
= static_cast< wxDouble
>(val4
);
27921 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27922 if (!SWIG_IsOK(ecode5
)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27925 arg5
= static_cast< wxDouble
>(val5
);
27926 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27927 if (!SWIG_IsOK(ecode6
)) {
27928 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27930 arg6
= static_cast< wxDouble
>(val6
);
27932 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_Py_Void();
27942 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27948 PyObject
*swig_obj
[1] ;
27950 if (!args
) SWIG_fail
;
27951 swig_obj
[0] = args
;
27952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27956 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27958 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27968 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
= 0;
27970 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27971 void *arg2
= (void *) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 char * kwnames
[] = {
27978 (char *) "self",(char *) "p", NULL
27981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27986 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27987 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27988 if (!SWIG_IsOK(res2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27992 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_Py_Void();
28002 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28004 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28005 wxGraphicsMatrix
*arg2
= 0 ;
28010 PyObject
* obj0
= 0 ;
28011 PyObject
* obj1
= 0 ;
28012 char * kwnames
[] = {
28013 (char *) "self",(char *) "matrix", NULL
28016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28018 if (!SWIG_IsOK(res1
)) {
28019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28021 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28023 if (!SWIG_IsOK(res2
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28029 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28031 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_Py_Void();
28041 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28044 wxRect2DDouble result
;
28047 PyObject
*swig_obj
[1] ;
28049 if (!args
) SWIG_fail
;
28050 swig_obj
[0] = args
;
28051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28055 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28057 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28067 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28068 PyObject
*resultobj
= 0;
28069 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28072 int arg4
= (int) wxODDEVEN_RULE
;
28083 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28088 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28089 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28090 if (!SWIG_IsOK(ecode2
)) {
28091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28093 arg2
= static_cast< wxDouble
>(val2
);
28094 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28095 if (!SWIG_IsOK(ecode3
)) {
28096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28098 arg3
= static_cast< wxDouble
>(val3
);
28100 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28101 if (!SWIG_IsOK(ecode4
)) {
28102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28104 arg4
= static_cast< int >(val4
);
28107 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28119 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28120 PyObject
*resultobj
= 0;
28121 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28122 wxPoint2DDouble
*arg2
= 0 ;
28123 int arg3
= (int) wxODDEVEN_RULE
;
28132 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28137 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28138 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28139 if (!SWIG_IsOK(res2
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28145 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28147 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28148 if (!SWIG_IsOK(ecode3
)) {
28149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28151 arg3
= static_cast< int >(val3
);
28154 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28166 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28170 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28172 if ((argc
>= 2) && (argc
<= 3)) {
28175 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28176 _v
= SWIG_CheckState(res
);
28178 if (!_v
) goto check_1
;
28182 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28183 _v
= SWIG_CheckState(res
);
28186 if (!_v
) goto check_1
;
28188 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28192 if ((argc
>= 3) && (argc
<= 4)) {
28193 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28202 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28205 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28206 return SWIG_Py_Void();
28209 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28210 return SWIG_Python_InitShadowInstance(args
);
28213 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28214 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28219 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28220 PyObject
*pyobj
= 0;
28222 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28227 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28228 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28233 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28234 PyObject
*pyobj
= 0;
28236 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28241 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28242 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28247 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28248 PyObject
*pyobj
= 0;
28250 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28255 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28256 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28261 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28262 PyObject
*pyobj
= 0;
28264 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28269 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28270 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28275 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28276 PyObject
*pyobj
= 0;
28278 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28283 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28284 PyObject
*resultobj
= 0;
28285 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28288 PyObject
*swig_obj
[1] ;
28290 if (!args
) SWIG_fail
;
28291 swig_obj
[0] = args
;
28292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_Py_Void();
28309 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28310 PyObject
*resultobj
= 0;
28311 wxWindowDC
*arg1
= 0 ;
28312 wxGraphicsContext
*result
= 0 ;
28316 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28324 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28326 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28336 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28337 PyObject
*resultobj
= 0;
28338 wxWindow
*arg1
= (wxWindow
*) 0 ;
28339 wxGraphicsContext
*result
= 0 ;
28343 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28345 if (!SWIG_IsOK(res1
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28350 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28360 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28364 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28369 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28370 _v
= SWIG_CheckState(res
);
28372 if (!_v
) goto check_1
;
28373 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28378 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28382 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28387 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28388 PyObject
*resultobj
= 0;
28389 wxGraphicsContext
*result
= 0 ;
28391 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28393 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28403 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
= 0;
28405 void *arg1
= (void *) 0 ;
28406 wxGraphicsContext
*result
= 0 ;
28408 PyObject
* obj0
= 0 ;
28409 char * kwnames
[] = {
28410 (char *) "context", NULL
28413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28419 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28429 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
= 0;
28431 void *arg1
= (void *) 0 ;
28432 wxGraphicsContext
*result
= 0 ;
28434 PyObject
* obj0
= 0 ;
28435 char * kwnames
[] = {
28436 (char *) "window", NULL
28439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28440 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28445 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28455 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28456 PyObject
*resultobj
= 0;
28457 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28458 wxGraphicsPath result
;
28461 PyObject
*swig_obj
[1] ;
28463 if (!args
) SWIG_fail
;
28464 swig_obj
[0] = args
;
28465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28466 if (!SWIG_IsOK(res1
)) {
28467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28469 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28471 result
= (arg1
)->CreatePath();
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28481 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
= 0;
28483 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28485 wxGraphicsPen result
;
28490 PyObject
* obj0
= 0 ;
28491 PyObject
* obj1
= 0 ;
28492 char * kwnames
[] = {
28493 (char *) "self",(char *) "pen", NULL
28496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28498 if (!SWIG_IsOK(res1
)) {
28499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28501 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28503 if (!SWIG_IsOK(res2
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28509 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28511 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28521 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
= 0;
28523 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28524 wxBrush
*arg2
= 0 ;
28525 wxGraphicsBrush result
;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char * kwnames
[] = {
28533 (char *) "self",(char *) "brush", NULL
28536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28538 if (!SWIG_IsOK(res1
)) {
28539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28541 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28543 if (!SWIG_IsOK(res2
)) {
28544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28549 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28551 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28561 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
= 0;
28563 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28568 wxColour
*arg6
= 0 ;
28569 wxColour
*arg7
= 0 ;
28570 wxGraphicsBrush result
;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 PyObject
* obj2
= 0 ;
28586 PyObject
* obj3
= 0 ;
28587 PyObject
* obj4
= 0 ;
28588 PyObject
* obj5
= 0 ;
28589 PyObject
* obj6
= 0 ;
28590 char * kwnames
[] = {
28591 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28599 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28600 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28601 if (!SWIG_IsOK(ecode2
)) {
28602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28604 arg2
= static_cast< wxDouble
>(val2
);
28605 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28606 if (!SWIG_IsOK(ecode3
)) {
28607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28609 arg3
= static_cast< wxDouble
>(val3
);
28610 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28611 if (!SWIG_IsOK(ecode4
)) {
28612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28614 arg4
= static_cast< wxDouble
>(val4
);
28615 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28616 if (!SWIG_IsOK(ecode5
)) {
28617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28619 arg5
= static_cast< wxDouble
>(val5
);
28622 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28626 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28629 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28639 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
= 0;
28641 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28647 wxColour
*arg7
= 0 ;
28648 wxColour
*arg8
= 0 ;
28649 wxGraphicsBrush result
;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 PyObject
* obj2
= 0 ;
28667 PyObject
* obj3
= 0 ;
28668 PyObject
* obj4
= 0 ;
28669 PyObject
* obj5
= 0 ;
28670 PyObject
* obj6
= 0 ;
28671 PyObject
* obj7
= 0 ;
28672 char * kwnames
[] = {
28673 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28678 if (!SWIG_IsOK(res1
)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28681 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28682 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28683 if (!SWIG_IsOK(ecode2
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28686 arg2
= static_cast< wxDouble
>(val2
);
28687 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28688 if (!SWIG_IsOK(ecode3
)) {
28689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28691 arg3
= static_cast< wxDouble
>(val3
);
28692 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28693 if (!SWIG_IsOK(ecode4
)) {
28694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28696 arg4
= static_cast< wxDouble
>(val4
);
28697 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28698 if (!SWIG_IsOK(ecode5
)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28701 arg5
= static_cast< wxDouble
>(val5
);
28702 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28703 if (!SWIG_IsOK(ecode6
)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28706 arg6
= static_cast< wxDouble
>(val6
);
28709 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28713 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28716 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28726 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
= 0;
28728 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28730 wxColour
const &arg3_defvalue
= *wxBLACK
;
28731 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28732 wxGraphicsFont result
;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 PyObject
* obj2
= 0 ;
28741 char * kwnames
[] = {
28742 (char *) "self",(char *) "font",(char *) "col", NULL
28745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28750 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28752 if (!SWIG_IsOK(res2
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28758 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28766 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28776 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
= 0;
28778 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28779 wxDouble arg2
= (wxDouble
) 1.0 ;
28780 wxDouble arg3
= (wxDouble
) 0.0 ;
28781 wxDouble arg4
= (wxDouble
) 0.0 ;
28782 wxDouble arg5
= (wxDouble
) 1.0 ;
28783 wxDouble arg6
= (wxDouble
) 0.0 ;
28784 wxDouble arg7
= (wxDouble
) 0.0 ;
28785 wxGraphicsMatrix result
;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 PyObject
* obj2
= 0 ;
28803 PyObject
* obj3
= 0 ;
28804 PyObject
* obj4
= 0 ;
28805 PyObject
* obj5
= 0 ;
28806 PyObject
* obj6
= 0 ;
28807 char * kwnames
[] = {
28808 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28813 if (!SWIG_IsOK(res1
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28816 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28818 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28819 if (!SWIG_IsOK(ecode2
)) {
28820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28822 arg2
= static_cast< wxDouble
>(val2
);
28825 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28826 if (!SWIG_IsOK(ecode3
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28829 arg3
= static_cast< wxDouble
>(val3
);
28832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28833 if (!SWIG_IsOK(ecode4
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28836 arg4
= static_cast< wxDouble
>(val4
);
28839 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28840 if (!SWIG_IsOK(ecode5
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28843 arg5
= static_cast< wxDouble
>(val5
);
28846 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28847 if (!SWIG_IsOK(ecode6
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28850 arg6
= static_cast< wxDouble
>(val6
);
28853 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28854 if (!SWIG_IsOK(ecode7
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28857 arg7
= static_cast< wxDouble
>(val7
);
28860 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28870 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28871 PyObject
*resultobj
= 0;
28872 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28875 PyObject
*swig_obj
[1] ;
28877 if (!args
) SWIG_fail
;
28878 swig_obj
[0] = args
;
28879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28880 if (!SWIG_IsOK(res1
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28883 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28885 (arg1
)->PushState();
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 resultobj
= SWIG_Py_Void();
28895 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28896 PyObject
*resultobj
= 0;
28897 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28900 PyObject
*swig_obj
[1] ;
28902 if (!args
) SWIG_fail
;
28903 swig_obj
[0] = args
;
28904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28908 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28910 (arg1
)->PopState();
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_Py_Void();
28920 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
= 0;
28922 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28923 wxRegion
*arg2
= 0 ;
28928 PyObject
* obj0
= 0 ;
28929 PyObject
* obj1
= 0 ;
28930 char * kwnames
[] = {
28931 (char *) "self",(char *) "region", NULL
28934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28939 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28941 if (!SWIG_IsOK(res2
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28947 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28949 (arg1
)->Clip((wxRegion
const &)*arg2
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
= 0;
28961 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 PyObject
* obj2
= 0 ;
28979 PyObject
* obj3
= 0 ;
28980 PyObject
* obj4
= 0 ;
28981 char * kwnames
[] = {
28982 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28990 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28991 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28992 if (!SWIG_IsOK(ecode2
)) {
28993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28995 arg2
= static_cast< wxDouble
>(val2
);
28996 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28997 if (!SWIG_IsOK(ecode3
)) {
28998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29000 arg3
= static_cast< wxDouble
>(val3
);
29001 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29002 if (!SWIG_IsOK(ecode4
)) {
29003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29005 arg4
= static_cast< wxDouble
>(val4
);
29006 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29007 if (!SWIG_IsOK(ecode5
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29010 arg5
= static_cast< wxDouble
>(val5
);
29012 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_Py_Void();
29022 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29023 PyObject
*resultobj
= 0;
29024 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29027 PyObject
*swig_obj
[1] ;
29029 if (!args
) SWIG_fail
;
29030 swig_obj
[0] = args
;
29031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29035 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29037 (arg1
)->ResetClip();
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_Py_Void();
29047 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29048 PyObject
*resultobj
= 0;
29049 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29053 PyObject
*swig_obj
[1] ;
29055 if (!args
) SWIG_fail
;
29056 swig_obj
[0] = args
;
29057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29058 if (!SWIG_IsOK(res1
)) {
29059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29061 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29063 result
= (void *)(arg1
)->GetNativeContext();
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29073 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
= 0;
29075 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "self",(char *) "dx",(char *) "dy", NULL
29091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29096 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29097 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29098 if (!SWIG_IsOK(ecode2
)) {
29099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29101 arg2
= static_cast< wxDouble
>(val2
);
29102 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29103 if (!SWIG_IsOK(ecode3
)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29106 arg3
= static_cast< wxDouble
>(val3
);
29108 (arg1
)->Translate(arg2
,arg3
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 resultobj
= SWIG_Py_Void();
29118 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
= 0;
29120 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 PyObject
* obj2
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29141 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29142 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29143 if (!SWIG_IsOK(ecode2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29146 arg2
= static_cast< wxDouble
>(val2
);
29147 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29148 if (!SWIG_IsOK(ecode3
)) {
29149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29151 arg3
= static_cast< wxDouble
>(val3
);
29153 (arg1
)->Scale(arg2
,arg3
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= SWIG_Py_Void();
29163 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
= 0;
29165 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29171 PyObject
* obj0
= 0 ;
29172 PyObject
* obj1
= 0 ;
29173 char * kwnames
[] = {
29174 (char *) "self",(char *) "angle", NULL
29177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29179 if (!SWIG_IsOK(res1
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29182 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29183 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29184 if (!SWIG_IsOK(ecode2
)) {
29185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29187 arg2
= static_cast< wxDouble
>(val2
);
29189 (arg1
)->Rotate(arg2
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= SWIG_Py_Void();
29199 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
= 0;
29201 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29202 wxGraphicsMatrix
*arg2
= 0 ;
29207 PyObject
* obj0
= 0 ;
29208 PyObject
* obj1
= 0 ;
29209 char * kwnames
[] = {
29210 (char *) "self",(char *) "matrix", NULL
29213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29215 if (!SWIG_IsOK(res1
)) {
29216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29218 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29220 if (!SWIG_IsOK(res2
)) {
29221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29226 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29228 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= SWIG_Py_Void();
29238 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
= 0;
29240 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29241 wxGraphicsMatrix
*arg2
= 0 ;
29246 PyObject
* obj0
= 0 ;
29247 PyObject
* obj1
= 0 ;
29248 char * kwnames
[] = {
29249 (char *) "self",(char *) "matrix", NULL
29252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29254 if (!SWIG_IsOK(res1
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29259 if (!SWIG_IsOK(res2
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29265 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29267 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29277 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29278 PyObject
*resultobj
= 0;
29279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29280 wxGraphicsMatrix result
;
29283 PyObject
*swig_obj
[1] ;
29285 if (!args
) SWIG_fail
;
29286 swig_obj
[0] = args
;
29287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29288 if (!SWIG_IsOK(res1
)) {
29289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29291 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29293 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29303 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29304 PyObject
*resultobj
= 0;
29305 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29306 wxGraphicsPen
*arg2
= 0 ;
29312 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29314 if (!SWIG_IsOK(res1
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29317 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29318 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29319 if (!SWIG_IsOK(res2
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29325 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29327 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 resultobj
= SWIG_Py_Void();
29337 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29338 PyObject
*resultobj
= 0;
29339 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29346 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29348 if (!SWIG_IsOK(res1
)) {
29349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29351 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29352 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29353 if (!SWIG_IsOK(res2
)) {
29354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29359 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29361 (arg1
)->SetPen((wxPen
const &)*arg2
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_Py_Void();
29371 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29375 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29380 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29381 _v
= SWIG_CheckState(res
);
29383 if (!_v
) goto check_1
;
29384 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29389 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29393 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29398 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29399 PyObject
*resultobj
= 0;
29400 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29401 wxGraphicsBrush
*arg2
= 0 ;
29407 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29412 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29413 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29414 if (!SWIG_IsOK(res2
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29420 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29422 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_Py_Void();
29432 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29433 PyObject
*resultobj
= 0;
29434 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29435 wxBrush
*arg2
= 0 ;
29441 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29446 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29447 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29448 if (!SWIG_IsOK(res2
)) {
29449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29454 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29456 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_Py_Void();
29466 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29470 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29475 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29476 _v
= SWIG_CheckState(res
);
29478 if (!_v
) goto check_1
;
29479 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29484 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29488 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29493 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29494 PyObject
*resultobj
= 0;
29495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29496 wxGraphicsFont
*arg2
= 0 ;
29502 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29504 if (!SWIG_IsOK(res1
)) {
29505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29507 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29508 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29509 if (!SWIG_IsOK(res2
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29515 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29517 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_Py_Void();
29527 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29528 PyObject
*resultobj
= 0;
29529 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29531 wxColour
const &arg3_defvalue
= *wxBLACK
;
29532 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29539 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29544 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29545 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29546 if (!SWIG_IsOK(res2
)) {
29547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29552 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29556 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29560 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_Py_Void();
29570 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29574 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29579 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29580 _v
= SWIG_CheckState(res
);
29582 if (!_v
) goto check_1
;
29583 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29587 if ((argc
>= 2) && (argc
<= 3)) {
29588 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29597 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
= 0;
29599 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29600 wxGraphicsPath
*arg2
= 0 ;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 char * kwnames
[] = {
29608 (char *) "self",(char *) "path", NULL
29611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29616 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29618 if (!SWIG_IsOK(res2
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29624 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29626 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= SWIG_Py_Void();
29636 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
= 0;
29638 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29639 wxGraphicsPath
*arg2
= 0 ;
29640 int arg3
= (int) wxODDEVEN_RULE
;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 PyObject
* obj2
= 0 ;
29650 char * kwnames
[] = {
29651 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29656 if (!SWIG_IsOK(res1
)) {
29657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29659 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29661 if (!SWIG_IsOK(res2
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29667 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29670 if (!SWIG_IsOK(ecode3
)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29673 arg3
= static_cast< int >(val3
);
29676 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= SWIG_Py_Void();
29686 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29687 PyObject
*resultobj
= 0;
29688 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29689 wxGraphicsPath
*arg2
= 0 ;
29690 int arg3
= (int) wxODDEVEN_RULE
;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 PyObject
* obj2
= 0 ;
29700 char * kwnames
[] = {
29701 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29706 if (!SWIG_IsOK(res1
)) {
29707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29709 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29711 if (!SWIG_IsOK(res2
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29717 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29720 if (!SWIG_IsOK(ecode3
)) {
29721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29723 arg3
= static_cast< int >(val3
);
29726 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= SWIG_Py_Void();
29736 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= 0;
29738 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29739 wxString
*arg2
= 0 ;
29742 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29743 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29746 bool temp2
= false ;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 PyObject
* obj2
= 0 ;
29756 PyObject
* obj3
= 0 ;
29757 PyObject
* obj4
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29767 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29769 arg2
= wxString_in_helper(obj1
);
29770 if (arg2
== NULL
) SWIG_fail
;
29773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29774 if (!SWIG_IsOK(ecode3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29777 arg3
= static_cast< wxDouble
>(val3
);
29778 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29779 if (!SWIG_IsOK(ecode4
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29782 arg4
= static_cast< wxDouble
>(val4
);
29784 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29785 if (!SWIG_IsOK(res5
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29791 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29794 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_Py_Void();
29812 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
= 0;
29814 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29815 wxString
*arg2
= 0 ;
29819 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29820 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29823 bool temp2
= false ;
29832 PyObject
* obj0
= 0 ;
29833 PyObject
* obj1
= 0 ;
29834 PyObject
* obj2
= 0 ;
29835 PyObject
* obj3
= 0 ;
29836 PyObject
* obj4
= 0 ;
29837 PyObject
* obj5
= 0 ;
29838 char * kwnames
[] = {
29839 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29844 if (!SWIG_IsOK(res1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29847 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29849 arg2
= wxString_in_helper(obj1
);
29850 if (arg2
== NULL
) SWIG_fail
;
29853 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29854 if (!SWIG_IsOK(ecode3
)) {
29855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29857 arg3
= static_cast< wxDouble
>(val3
);
29858 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29859 if (!SWIG_IsOK(ecode4
)) {
29860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29862 arg4
= static_cast< wxDouble
>(val4
);
29863 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29864 if (!SWIG_IsOK(ecode5
)) {
29865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29867 arg5
= static_cast< wxDouble
>(val5
);
29869 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29870 if (!SWIG_IsOK(res6
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29876 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29879 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_Py_Void();
29897 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
= 0;
29899 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29900 wxString
*arg2
= 0 ;
29901 wxDouble
*arg3
= (wxDouble
*) 0 ;
29902 wxDouble
*arg4
= (wxDouble
*) 0 ;
29903 wxDouble
*arg5
= (wxDouble
*) 0 ;
29904 wxDouble
*arg6
= (wxDouble
*) 0 ;
29907 bool temp2
= false ;
29909 int res3
= SWIG_TMPOBJ
;
29911 int res4
= SWIG_TMPOBJ
;
29913 int res5
= SWIG_TMPOBJ
;
29915 int res6
= SWIG_TMPOBJ
;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 char * kwnames
[] = {
29919 (char *) "self",(char *) "text", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29931 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29933 arg2
= wxString_in_helper(obj1
);
29934 if (arg2
== NULL
) SWIG_fail
;
29938 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= SWIG_Py_Void();
29942 if (SWIG_IsTmpObj(res3
)) {
29943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29945 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29948 if (SWIG_IsTmpObj(res4
)) {
29949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29951 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29954 if (SWIG_IsTmpObj(res5
)) {
29955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29957 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29960 if (SWIG_IsTmpObj(res6
)) {
29961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29963 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29980 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
= 0;
29982 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29983 wxString
*arg2
= 0 ;
29984 PyObject
*result
= 0 ;
29987 bool temp2
= false ;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 char * kwnames
[] = {
29991 (char *) "self",(char *) "text", NULL
29994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29999 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30001 arg2
= wxString_in_helper(obj1
);
30002 if (arg2
== NULL
) SWIG_fail
;
30006 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= result
;
30024 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
= 0;
30026 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30027 wxString
*arg2
= 0 ;
30028 wxArrayDouble result
;
30031 bool temp2
= false ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char * kwnames
[] = {
30035 (char *) "self",(char *) "text", NULL
30038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30040 if (!SWIG_IsOK(res1
)) {
30041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30043 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30045 arg2
= wxString_in_helper(obj1
);
30046 if (arg2
== NULL
) SWIG_fail
;
30050 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= wxArrayDouble2PyList_helper(result
);
30070 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
= 0;
30072 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30073 wxBitmap
*arg2
= 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 PyObject
* obj2
= 0 ;
30093 PyObject
* obj3
= 0 ;
30094 PyObject
* obj4
= 0 ;
30095 PyObject
* obj5
= 0 ;
30096 char * kwnames
[] = {
30097 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30105 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30107 if (!SWIG_IsOK(res2
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30113 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30114 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30115 if (!SWIG_IsOK(ecode3
)) {
30116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30118 arg3
= static_cast< wxDouble
>(val3
);
30119 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30120 if (!SWIG_IsOK(ecode4
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30123 arg4
= static_cast< wxDouble
>(val4
);
30124 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30125 if (!SWIG_IsOK(ecode5
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30128 arg5
= static_cast< wxDouble
>(val5
);
30129 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30130 if (!SWIG_IsOK(ecode6
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30133 arg6
= static_cast< wxDouble
>(val6
);
30135 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= SWIG_Py_Void();
30145 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
= 0;
30147 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 PyObject
* obj2
= 0 ;
30168 PyObject
* obj3
= 0 ;
30169 PyObject
* obj4
= 0 ;
30170 PyObject
* obj5
= 0 ;
30171 char * kwnames
[] = {
30172 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30177 if (!SWIG_IsOK(res1
)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30180 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30182 if (!SWIG_IsOK(res2
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30188 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30189 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30190 if (!SWIG_IsOK(ecode3
)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30193 arg3
= static_cast< wxDouble
>(val3
);
30194 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30195 if (!SWIG_IsOK(ecode4
)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30198 arg4
= static_cast< wxDouble
>(val4
);
30199 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30200 if (!SWIG_IsOK(ecode5
)) {
30201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30203 arg5
= static_cast< wxDouble
>(val5
);
30204 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30205 if (!SWIG_IsOK(ecode6
)) {
30206 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30208 arg6
= static_cast< wxDouble
>(val6
);
30210 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_Py_Void();
30220 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
= 0;
30222 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30237 PyObject
* obj0
= 0 ;
30238 PyObject
* obj1
= 0 ;
30239 PyObject
* obj2
= 0 ;
30240 PyObject
* obj3
= 0 ;
30241 PyObject
* obj4
= 0 ;
30242 char * kwnames
[] = {
30243 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30251 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30252 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30253 if (!SWIG_IsOK(ecode2
)) {
30254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30256 arg2
= static_cast< wxDouble
>(val2
);
30257 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30258 if (!SWIG_IsOK(ecode3
)) {
30259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30261 arg3
= static_cast< wxDouble
>(val3
);
30262 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30263 if (!SWIG_IsOK(ecode4
)) {
30264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30266 arg4
= static_cast< wxDouble
>(val4
);
30267 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30268 if (!SWIG_IsOK(ecode5
)) {
30269 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30271 arg5
= static_cast< wxDouble
>(val5
);
30273 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= SWIG_Py_Void();
30283 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
= 0;
30285 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30287 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "self",(char *) "points", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30301 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30303 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30304 if (arg3
== NULL
) SWIG_fail
;
30307 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= SWIG_Py_Void();
30312 if (arg3
) delete [] arg3
;
30317 if (arg3
) delete [] arg3
;
30323 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
= 0;
30325 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30326 PyObject
*arg2
= (PyObject
*) 0 ;
30327 PyObject
*arg3
= (PyObject
*) 0 ;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 PyObject
* obj2
= 0 ;
30333 char * kwnames
[] = {
30334 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30339 if (!SWIG_IsOK(res1
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30346 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_Py_Void();
30356 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
= 0;
30358 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30360 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30361 int arg4
= (int) wxODDEVEN_RULE
;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 PyObject
* obj2
= 0 ;
30369 char * kwnames
[] = {
30370 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30375 if (!SWIG_IsOK(res1
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30378 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30380 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30381 if (arg3
== NULL
) SWIG_fail
;
30384 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30385 if (!SWIG_IsOK(ecode4
)) {
30386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30388 arg4
= static_cast< int >(val4
);
30391 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= SWIG_Py_Void();
30396 if (arg3
) delete [] arg3
;
30401 if (arg3
) delete [] arg3
;
30407 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
= 0;
30409 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 PyObject
* obj2
= 0 ;
30427 PyObject
* obj3
= 0 ;
30428 PyObject
* obj4
= 0 ;
30429 char * kwnames
[] = {
30430 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30438 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30439 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30440 if (!SWIG_IsOK(ecode2
)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30443 arg2
= static_cast< wxDouble
>(val2
);
30444 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30445 if (!SWIG_IsOK(ecode3
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30448 arg3
= static_cast< wxDouble
>(val3
);
30449 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30450 if (!SWIG_IsOK(ecode4
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30453 arg4
= static_cast< wxDouble
>(val4
);
30454 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30455 if (!SWIG_IsOK(ecode5
)) {
30456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30458 arg5
= static_cast< wxDouble
>(val5
);
30460 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= SWIG_Py_Void();
30470 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
= 0;
30472 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 PyObject
* obj2
= 0 ;
30490 PyObject
* obj3
= 0 ;
30491 PyObject
* obj4
= 0 ;
30492 char * kwnames
[] = {
30493 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30498 if (!SWIG_IsOK(res1
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30501 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30502 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30503 if (!SWIG_IsOK(ecode2
)) {
30504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30506 arg2
= static_cast< wxDouble
>(val2
);
30507 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30508 if (!SWIG_IsOK(ecode3
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30511 arg3
= static_cast< wxDouble
>(val3
);
30512 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30513 if (!SWIG_IsOK(ecode4
)) {
30514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30516 arg4
= static_cast< wxDouble
>(val4
);
30517 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30518 if (!SWIG_IsOK(ecode5
)) {
30519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30521 arg5
= static_cast< wxDouble
>(val5
);
30523 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= SWIG_Py_Void();
30533 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
= 0;
30535 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 PyObject
* obj2
= 0 ;
30556 PyObject
* obj3
= 0 ;
30557 PyObject
* obj4
= 0 ;
30558 PyObject
* obj5
= 0 ;
30559 char * kwnames
[] = {
30560 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30568 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30569 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30570 if (!SWIG_IsOK(ecode2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30573 arg2
= static_cast< wxDouble
>(val2
);
30574 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30575 if (!SWIG_IsOK(ecode3
)) {
30576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30578 arg3
= static_cast< wxDouble
>(val3
);
30579 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30580 if (!SWIG_IsOK(ecode4
)) {
30581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30583 arg4
= static_cast< wxDouble
>(val4
);
30584 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30585 if (!SWIG_IsOK(ecode5
)) {
30586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30588 arg5
= static_cast< wxDouble
>(val5
);
30589 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30590 if (!SWIG_IsOK(ecode6
)) {
30591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30593 arg6
= static_cast< wxDouble
>(val6
);
30595 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= SWIG_Py_Void();
30605 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30606 PyObject
*resultobj
= 0;
30607 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30611 PyObject
*swig_obj
[1] ;
30613 if (!args
) SWIG_fail
;
30614 swig_obj
[0] = args
;
30615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30619 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30621 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30633 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30636 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30637 return SWIG_Py_Void();
30640 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30641 PyObject
*resultobj
= 0;
30642 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30645 PyObject
*swig_obj
[1] ;
30647 if (!args
) SWIG_fail
;
30648 swig_obj
[0] = args
;
30649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30650 if (!SWIG_IsOK(res1
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30653 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= SWIG_Py_Void();
30666 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30667 PyObject
*resultobj
= 0;
30668 wxGraphicsRenderer
*result
= 0 ;
30670 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30672 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30682 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30683 PyObject
*resultobj
= 0;
30684 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30685 wxWindowDC
*arg2
= 0 ;
30686 wxGraphicsContext
*result
= 0 ;
30692 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30697 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30698 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30699 if (!SWIG_IsOK(res2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30705 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30707 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30717 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30718 PyObject
*resultobj
= 0;
30719 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30720 wxWindow
*arg2
= (wxWindow
*) 0 ;
30721 wxGraphicsContext
*result
= 0 ;
30727 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30729 if (!SWIG_IsOK(res1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30732 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30733 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30734 if (!SWIG_IsOK(res2
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30739 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30749 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30753 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30758 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30759 _v
= SWIG_CheckState(res
);
30761 if (!_v
) goto check_1
;
30762 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30767 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30771 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30776 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30777 PyObject
*resultobj
= 0;
30778 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30779 wxGraphicsContext
*result
= 0 ;
30782 PyObject
*swig_obj
[1] ;
30784 if (!args
) SWIG_fail
;
30785 swig_obj
[0] = args
;
30786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30787 if (!SWIG_IsOK(res1
)) {
30788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30790 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30792 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30793 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30802 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
= 0;
30804 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30805 void *arg2
= (void *) 0 ;
30806 wxGraphicsContext
*result
= 0 ;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 char * kwnames
[] = {
30813 (char *) "self",(char *) "context", NULL
30816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30821 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30822 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30823 if (!SWIG_IsOK(res2
)) {
30824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30827 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30837 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
= 0;
30839 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30840 void *arg2
= (void *) 0 ;
30841 wxGraphicsContext
*result
= 0 ;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 char * kwnames
[] = {
30848 (char *) "self",(char *) "window", NULL
30851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30853 if (!SWIG_IsOK(res1
)) {
30854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30856 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30857 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30858 if (!SWIG_IsOK(res2
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30862 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30872 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30873 PyObject
*resultobj
= 0;
30874 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30875 wxGraphicsPath result
;
30878 PyObject
*swig_obj
[1] ;
30880 if (!args
) SWIG_fail
;
30881 swig_obj
[0] = args
;
30882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30883 if (!SWIG_IsOK(res1
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30886 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30888 result
= (arg1
)->CreatePath();
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30898 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30901 wxDouble arg2
= (wxDouble
) 1.0 ;
30902 wxDouble arg3
= (wxDouble
) 0.0 ;
30903 wxDouble arg4
= (wxDouble
) 0.0 ;
30904 wxDouble arg5
= (wxDouble
) 1.0 ;
30905 wxDouble arg6
= (wxDouble
) 0.0 ;
30906 wxDouble arg7
= (wxDouble
) 0.0 ;
30907 wxGraphicsMatrix result
;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 PyObject
* obj2
= 0 ;
30925 PyObject
* obj3
= 0 ;
30926 PyObject
* obj4
= 0 ;
30927 PyObject
* obj5
= 0 ;
30928 PyObject
* obj6
= 0 ;
30929 char * kwnames
[] = {
30930 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30935 if (!SWIG_IsOK(res1
)) {
30936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30938 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30940 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30941 if (!SWIG_IsOK(ecode2
)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30944 arg2
= static_cast< wxDouble
>(val2
);
30947 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30948 if (!SWIG_IsOK(ecode3
)) {
30949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30951 arg3
= static_cast< wxDouble
>(val3
);
30954 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30955 if (!SWIG_IsOK(ecode4
)) {
30956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30958 arg4
= static_cast< wxDouble
>(val4
);
30961 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30962 if (!SWIG_IsOK(ecode5
)) {
30963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30965 arg5
= static_cast< wxDouble
>(val5
);
30968 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30969 if (!SWIG_IsOK(ecode6
)) {
30970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30972 arg6
= static_cast< wxDouble
>(val6
);
30975 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30976 if (!SWIG_IsOK(ecode7
)) {
30977 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30979 arg7
= static_cast< wxDouble
>(val7
);
30982 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30992 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
= 0;
30994 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30996 wxGraphicsPen result
;
31001 PyObject
* obj0
= 0 ;
31002 PyObject
* obj1
= 0 ;
31003 char * kwnames
[] = {
31004 (char *) "self",(char *) "pen", NULL
31007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31009 if (!SWIG_IsOK(res1
)) {
31010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31012 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31014 if (!SWIG_IsOK(res2
)) {
31015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31020 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31022 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31025 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31032 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
= 0;
31034 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31035 wxBrush
*arg2
= 0 ;
31036 wxGraphicsBrush result
;
31041 PyObject
* obj0
= 0 ;
31042 PyObject
* obj1
= 0 ;
31043 char * kwnames
[] = {
31044 (char *) "self",(char *) "brush", NULL
31047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31049 if (!SWIG_IsOK(res1
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31052 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31054 if (!SWIG_IsOK(res2
)) {
31055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31060 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31062 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31072 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
= 0;
31074 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31079 wxColour
*arg6
= 0 ;
31080 wxColour
*arg7
= 0 ;
31081 wxGraphicsBrush result
;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 PyObject
* obj2
= 0 ;
31097 PyObject
* obj3
= 0 ;
31098 PyObject
* obj4
= 0 ;
31099 PyObject
* obj5
= 0 ;
31100 PyObject
* obj6
= 0 ;
31101 char * kwnames
[] = {
31102 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31107 if (!SWIG_IsOK(res1
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31110 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31111 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31112 if (!SWIG_IsOK(ecode2
)) {
31113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31115 arg2
= static_cast< wxDouble
>(val2
);
31116 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31117 if (!SWIG_IsOK(ecode3
)) {
31118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31120 arg3
= static_cast< wxDouble
>(val3
);
31121 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31122 if (!SWIG_IsOK(ecode4
)) {
31123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31125 arg4
= static_cast< wxDouble
>(val4
);
31126 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31127 if (!SWIG_IsOK(ecode5
)) {
31128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31130 arg5
= static_cast< wxDouble
>(val5
);
31133 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31137 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31140 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31150 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
= 0;
31152 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31158 wxColour
*arg7
= 0 ;
31159 wxColour
*arg8
= 0 ;
31160 wxGraphicsBrush result
;
31175 PyObject
* obj0
= 0 ;
31176 PyObject
* obj1
= 0 ;
31177 PyObject
* obj2
= 0 ;
31178 PyObject
* obj3
= 0 ;
31179 PyObject
* obj4
= 0 ;
31180 PyObject
* obj5
= 0 ;
31181 PyObject
* obj6
= 0 ;
31182 PyObject
* obj7
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31192 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31193 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31194 if (!SWIG_IsOK(ecode2
)) {
31195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31197 arg2
= static_cast< wxDouble
>(val2
);
31198 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31199 if (!SWIG_IsOK(ecode3
)) {
31200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31202 arg3
= static_cast< wxDouble
>(val3
);
31203 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31204 if (!SWIG_IsOK(ecode4
)) {
31205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31207 arg4
= static_cast< wxDouble
>(val4
);
31208 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31209 if (!SWIG_IsOK(ecode5
)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31212 arg5
= static_cast< wxDouble
>(val5
);
31213 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31214 if (!SWIG_IsOK(ecode6
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31217 arg6
= static_cast< wxDouble
>(val6
);
31220 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31224 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31227 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31237 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
= 0;
31239 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31241 wxColour
const &arg3_defvalue
= *wxBLACK
;
31242 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31243 wxGraphicsFont result
;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 PyObject
* obj2
= 0 ;
31252 char * kwnames
[] = {
31253 (char *) "self",(char *) "font",(char *) "col", NULL
31256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31258 if (!SWIG_IsOK(res1
)) {
31259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31261 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31263 if (!SWIG_IsOK(res2
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31269 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31273 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31277 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31287 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31290 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31291 return SWIG_Py_Void();
31294 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31295 PyObject
*resultobj
= 0;
31296 wxWindowDC
*arg1
= 0 ;
31297 wxGCDC
*result
= 0 ;
31301 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31303 if (!SWIG_IsOK(res1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31309 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31311 if (!wxPyCheckForApp()) SWIG_fail
;
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31324 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31325 PyObject
*resultobj
= 0;
31326 wxWindow
*arg1
= (wxWindow
*) 0 ;
31327 wxGCDC
*result
= 0 ;
31331 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31338 if (!wxPyCheckForApp()) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (wxGCDC
*)new wxGCDC(arg1
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31351 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31355 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31360 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31361 _v
= SWIG_CheckState(res
);
31363 if (!_v
) goto check_1
;
31364 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31369 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31373 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31378 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31379 PyObject
*resultobj
= 0;
31380 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31383 PyObject
*swig_obj
[1] ;
31385 if (!args
) SWIG_fail
;
31386 swig_obj
[0] = args
;
31387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31388 if (!SWIG_IsOK(res1
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31391 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= SWIG_Py_Void();
31404 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31405 PyObject
*resultobj
= 0;
31406 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31407 wxGraphicsContext
*result
= 0 ;
31410 PyObject
*swig_obj
[1] ;
31412 if (!args
) SWIG_fail
;
31413 swig_obj
[0] = args
;
31414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31415 if (!SWIG_IsOK(res1
)) {
31416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31418 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31420 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31421 if (PyErr_Occurred()) SWIG_fail
;
31423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31430 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
= 0;
31432 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31433 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 char * kwnames
[] = {
31441 (char *) "self",(char *) "ctx", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31446 if (!SWIG_IsOK(res1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31449 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31451 if (!SWIG_IsOK(res2
)) {
31452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31454 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31456 (arg1
)->SetGraphicsContext(arg2
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_Py_Void();
31466 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31469 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31470 return SWIG_Py_Void();
31473 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31474 return SWIG_Python_InitShadowInstance(args
);
31477 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31478 PyObject
*resultobj
= 0;
31479 wxOverlay
*result
= 0 ;
31481 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31484 result
= (wxOverlay
*)new wxOverlay();
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31495 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31496 PyObject
*resultobj
= 0;
31497 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31500 PyObject
*swig_obj
[1] ;
31502 if (!args
) SWIG_fail
;
31503 swig_obj
[0] = args
;
31504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31505 if (!SWIG_IsOK(res1
)) {
31506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31508 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 resultobj
= SWIG_Py_Void();
31523 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31524 PyObject
*resultobj
= 0;
31525 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31528 PyObject
*swig_obj
[1] ;
31530 if (!args
) SWIG_fail
;
31531 swig_obj
[0] = args
;
31532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31533 if (!SWIG_IsOK(res1
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31536 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 resultobj
= SWIG_Py_Void();
31550 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31553 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31554 return SWIG_Py_Void();
31557 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31558 return SWIG_Python_InitShadowInstance(args
);
31561 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31562 PyObject
*resultobj
= 0;
31563 wxOverlay
*arg1
= 0 ;
31564 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31569 wxDCOverlay
*result
= 0 ;
31583 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31585 if (!SWIG_IsOK(res1
)) {
31586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31591 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31592 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31593 if (!SWIG_IsOK(res2
)) {
31594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31596 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31597 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31598 if (!SWIG_IsOK(ecode3
)) {
31599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31601 arg3
= static_cast< int >(val3
);
31602 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31603 if (!SWIG_IsOK(ecode4
)) {
31604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31606 arg4
= static_cast< int >(val4
);
31607 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31608 if (!SWIG_IsOK(ecode5
)) {
31609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31611 arg5
= static_cast< int >(val5
);
31612 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31613 if (!SWIG_IsOK(ecode6
)) {
31614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31616 arg6
= static_cast< int >(val6
);
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31630 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31631 PyObject
*resultobj
= 0;
31632 wxOverlay
*arg1
= 0 ;
31633 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31634 wxDCOverlay
*result
= 0 ;
31640 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31642 if (!SWIG_IsOK(res1
)) {
31643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31648 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31649 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31650 if (!SWIG_IsOK(res2
)) {
31651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31653 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31667 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31671 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31674 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31677 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31686 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31687 PyObject
*resultobj
= 0;
31688 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31691 PyObject
*swig_obj
[1] ;
31693 if (!args
) SWIG_fail
;
31694 swig_obj
[0] = args
;
31695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31696 if (!SWIG_IsOK(res1
)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31699 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_Py_Void();
31714 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31715 PyObject
*resultobj
= 0;
31716 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31719 PyObject
*swig_obj
[1] ;
31721 if (!args
) SWIG_fail
;
31722 swig_obj
[0] = args
;
31723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31724 if (!SWIG_IsOK(res1
)) {
31725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31727 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= SWIG_Py_Void();
31741 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31744 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31745 return SWIG_Py_Void();
31748 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31749 return SWIG_Python_InitShadowInstance(args
);
31752 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
= 0;
31756 int arg3
= (int) true ;
31757 int arg4
= (int) 1 ;
31758 wxImageList
*result
= 0 ;
31767 PyObject
* obj0
= 0 ;
31768 PyObject
* obj1
= 0 ;
31769 PyObject
* obj2
= 0 ;
31770 PyObject
* obj3
= 0 ;
31771 char * kwnames
[] = {
31772 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31777 if (!SWIG_IsOK(ecode1
)) {
31778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31780 arg1
= static_cast< int >(val1
);
31781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31782 if (!SWIG_IsOK(ecode2
)) {
31783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31785 arg2
= static_cast< int >(val2
);
31787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31788 if (!SWIG_IsOK(ecode3
)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31791 arg3
= static_cast< int >(val3
);
31794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31795 if (!SWIG_IsOK(ecode4
)) {
31796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31798 arg4
= static_cast< int >(val4
);
31801 if (!wxPyCheckForApp()) SWIG_fail
;
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31814 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31815 PyObject
*resultobj
= 0;
31816 wxImageList
*arg1
= (wxImageList
*) 0 ;
31819 PyObject
*swig_obj
[1] ;
31821 if (!args
) SWIG_fail
;
31822 swig_obj
[0] = args
;
31823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31824 if (!SWIG_IsOK(res1
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31827 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31835 resultobj
= SWIG_Py_Void();
31842 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
= 0;
31844 wxImageList
*arg1
= (wxImageList
*) 0 ;
31845 wxBitmap
*arg2
= 0 ;
31846 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31847 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31855 PyObject
* obj0
= 0 ;
31856 PyObject
* obj1
= 0 ;
31857 PyObject
* obj2
= 0 ;
31858 char * kwnames
[] = {
31859 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31864 if (!SWIG_IsOK(res1
)) {
31865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31867 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31869 if (!SWIG_IsOK(res2
)) {
31870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31875 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31877 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31878 if (!SWIG_IsOK(res3
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31884 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= SWIG_From_int(static_cast< int >(result
));
31899 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31900 PyObject
*resultobj
= 0;
31901 wxImageList
*arg1
= (wxImageList
*) 0 ;
31902 wxBitmap
*arg2
= 0 ;
31903 wxColour
*arg3
= 0 ;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 PyObject
* obj2
= 0 ;
31913 char * kwnames
[] = {
31914 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31919 if (!SWIG_IsOK(res1
)) {
31920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31922 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31924 if (!SWIG_IsOK(res2
)) {
31925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31930 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31933 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_From_int(static_cast< int >(result
));
31948 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
= 0;
31950 wxImageList
*arg1
= (wxImageList
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "self",(char *) "icon", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31968 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31970 if (!SWIG_IsOK(res2
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31976 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= SWIG_From_int(static_cast< int >(result
));
31990 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
= 0;
31992 wxImageList
*arg1
= (wxImageList
*) 0 ;
31994 SwigValueWrapper
<wxBitmap
> result
;
31999 PyObject
* obj0
= 0 ;
32000 PyObject
* obj1
= 0 ;
32001 char * kwnames
[] = {
32002 (char *) "self",(char *) "index", NULL
32005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32007 if (!SWIG_IsOK(res1
)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32010 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32012 if (!SWIG_IsOK(ecode2
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32015 arg2
= static_cast< int >(val2
);
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32029 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
= 0;
32031 wxImageList
*arg1
= (wxImageList
*) 0 ;
32038 PyObject
* obj0
= 0 ;
32039 PyObject
* obj1
= 0 ;
32040 char * kwnames
[] = {
32041 (char *) "self",(char *) "index", NULL
32044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32046 if (!SWIG_IsOK(res1
)) {
32047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32049 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32051 if (!SWIG_IsOK(ecode2
)) {
32052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32054 arg2
= static_cast< int >(val2
);
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32061 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32068 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32069 PyObject
*resultobj
= 0;
32070 wxImageList
*arg1
= (wxImageList
*) 0 ;
32072 wxBitmap
*arg3
= 0 ;
32073 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32074 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 PyObject
* obj2
= 0 ;
32087 PyObject
* obj3
= 0 ;
32088 char * kwnames
[] = {
32089 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32094 if (!SWIG_IsOK(res1
)) {
32095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32097 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32099 if (!SWIG_IsOK(ecode2
)) {
32100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32102 arg2
= static_cast< int >(val2
);
32103 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32104 if (!SWIG_IsOK(res3
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32110 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32112 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32113 if (!SWIG_IsOK(res4
)) {
32114 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32119 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32136 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
= 0;
32138 wxImageList
*arg1
= (wxImageList
*) 0 ;
32143 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32144 bool arg7
= (bool) (bool)false ;
32160 PyObject
* obj0
= 0 ;
32161 PyObject
* obj1
= 0 ;
32162 PyObject
* obj2
= 0 ;
32163 PyObject
* obj3
= 0 ;
32164 PyObject
* obj4
= 0 ;
32165 PyObject
* obj5
= 0 ;
32166 PyObject
* obj6
= 0 ;
32167 char * kwnames
[] = {
32168 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32173 if (!SWIG_IsOK(res1
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32176 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32178 if (!SWIG_IsOK(ecode2
)) {
32179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32181 arg2
= static_cast< int >(val2
);
32182 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32183 if (!SWIG_IsOK(res3
)) {
32184 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32189 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32191 if (!SWIG_IsOK(ecode4
)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32194 arg4
= static_cast< int >(val4
);
32195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32196 if (!SWIG_IsOK(ecode5
)) {
32197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32199 arg5
= static_cast< int >(val5
);
32201 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32202 if (!SWIG_IsOK(ecode6
)) {
32203 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32205 arg6
= static_cast< int >(val6
);
32208 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32209 if (!SWIG_IsOK(ecode7
)) {
32210 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32212 arg7
= static_cast< bool >(val7
);
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32229 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32230 PyObject
*resultobj
= 0;
32231 wxImageList
*arg1
= (wxImageList
*) 0 ;
32235 PyObject
*swig_obj
[1] ;
32237 if (!args
) SWIG_fail
;
32238 swig_obj
[0] = args
;
32239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32240 if (!SWIG_IsOK(res1
)) {
32241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32243 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (int)(arg1
)->GetImageCount();
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= SWIG_From_int(static_cast< int >(result
));
32257 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
= 0;
32259 wxImageList
*arg1
= (wxImageList
*) 0 ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 char * kwnames
[] = {
32269 (char *) "self",(char *) "index", NULL
32272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32274 if (!SWIG_IsOK(res1
)) {
32275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32277 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32279 if (!SWIG_IsOK(ecode2
)) {
32280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32282 arg2
= static_cast< int >(val2
);
32284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32285 result
= (bool)(arg1
)->Remove(arg2
);
32286 wxPyEndAllowThreads(__tstate
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32298 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32299 PyObject
*resultobj
= 0;
32300 wxImageList
*arg1
= (wxImageList
*) 0 ;
32304 PyObject
*swig_obj
[1] ;
32306 if (!args
) SWIG_fail
;
32307 swig_obj
[0] = args
;
32308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32309 if (!SWIG_IsOK(res1
)) {
32310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32312 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (bool)(arg1
)->RemoveAll();
32316 wxPyEndAllowThreads(__tstate
);
32317 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32328 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxImageList
*arg1
= (wxImageList
*) 0 ;
32339 int res3
= SWIG_TMPOBJ
;
32341 int res4
= SWIG_TMPOBJ
;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "index", NULL
32350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32352 if (!SWIG_IsOK(res1
)) {
32353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32355 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32357 if (!SWIG_IsOK(ecode2
)) {
32358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32360 arg2
= static_cast< int >(val2
);
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= SWIG_Py_Void();
32368 if (SWIG_IsTmpObj(res3
)) {
32369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32371 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32374 if (SWIG_IsTmpObj(res4
)) {
32375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32377 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32386 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32389 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32390 return SWIG_Py_Void();
32393 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 return SWIG_Python_InitShadowInstance(args
);
32397 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32398 PyObject
*resultobj
= 0;
32399 wxStockGDI
*result
= 0 ;
32401 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 result
= (wxStockGDI
*)new wxStockGDI();
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32415 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32416 PyObject
*resultobj
= 0;
32417 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32420 PyObject
*swig_obj
[1] ;
32422 if (!args
) SWIG_fail
;
32423 swig_obj
[0] = args
;
32424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32425 if (!SWIG_IsOK(res1
)) {
32426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32428 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_Py_Void();
32443 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32444 PyObject
*resultobj
= 0;
32446 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 wxStockGDI::DeleteAll();
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_Py_Void();
32460 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32461 PyObject
*resultobj
= 0;
32462 wxStockGDI
*result
= 0 ;
32464 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32469 result
= (wxStockGDI
*) &_result_ref
;
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32481 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
= 0;
32483 wxStockGDI::Item arg1
;
32484 wxBrush
*result
= 0 ;
32487 PyObject
* obj0
= 0 ;
32488 char * kwnames
[] = {
32489 (char *) "item", NULL
32492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32494 if (!SWIG_IsOK(ecode1
)) {
32495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32497 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32511 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
= 0;
32513 wxStockGDI::Item arg1
;
32514 wxColour
*result
= 0 ;
32517 PyObject
* obj0
= 0 ;
32518 char * kwnames
[] = {
32519 (char *) "item", NULL
32522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32523 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32524 if (!SWIG_IsOK(ecode1
)) {
32525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32527 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32541 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
= 0;
32543 wxStockGDI::Item arg1
;
32544 wxCursor
*result
= 0 ;
32547 PyObject
* obj0
= 0 ;
32548 char * kwnames
[] = {
32549 (char *) "item", NULL
32552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32554 if (!SWIG_IsOK(ecode1
)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32557 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32571 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
= 0;
32573 wxStockGDI::Item arg1
;
32574 wxPen
*result
= 0 ;
32577 PyObject
* obj0
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "item", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32584 if (!SWIG_IsOK(ecode1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32587 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32601 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= 0;
32603 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32604 wxStockGDI::Item arg2
;
32605 wxFont
*result
= 0 ;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 char * kwnames
[] = {
32613 (char *) "self",(char *) "item", NULL
32616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32618 if (!SWIG_IsOK(res1
)) {
32619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32621 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32623 if (!SWIG_IsOK(ecode2
)) {
32624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32626 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32640 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32643 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32644 return SWIG_Py_Void();
32647 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32648 return SWIG_Python_InitShadowInstance(args
);
32651 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32652 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32657 SWIGINTERN PyObject
*NullBitmap_get(void) {
32658 PyObject
*pyobj
= 0;
32660 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32665 SWIGINTERN
int NullIcon_set(PyObject
*) {
32666 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32671 SWIGINTERN PyObject
*NullIcon_get(void) {
32672 PyObject
*pyobj
= 0;
32674 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32679 SWIGINTERN
int NullCursor_set(PyObject
*) {
32680 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32685 SWIGINTERN PyObject
*NullCursor_get(void) {
32686 PyObject
*pyobj
= 0;
32688 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32693 SWIGINTERN
int NullPen_set(PyObject
*) {
32694 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32699 SWIGINTERN PyObject
*NullPen_get(void) {
32700 PyObject
*pyobj
= 0;
32702 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32707 SWIGINTERN
int NullBrush_set(PyObject
*) {
32708 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32713 SWIGINTERN PyObject
*NullBrush_get(void) {
32714 PyObject
*pyobj
= 0;
32716 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32721 SWIGINTERN
int NullPalette_set(PyObject
*) {
32722 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32727 SWIGINTERN PyObject
*NullPalette_get(void) {
32728 PyObject
*pyobj
= 0;
32730 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32735 SWIGINTERN
int NullFont_set(PyObject
*) {
32736 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32741 SWIGINTERN PyObject
*NullFont_get(void) {
32742 PyObject
*pyobj
= 0;
32744 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32749 SWIGINTERN
int NullColour_set(PyObject
*) {
32750 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32755 SWIGINTERN PyObject
*NullColour_get(void) {
32756 PyObject
*pyobj
= 0;
32758 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32763 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 PyObject
*resultobj
= 0;
32765 wxGDIObjListBase
*result
= 0 ;
32767 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32781 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 PyObject
*resultobj
= 0;
32783 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32786 PyObject
*swig_obj
[1] ;
32788 if (!args
) SWIG_fail
;
32789 swig_obj
[0] = args
;
32790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32794 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32802 resultobj
= SWIG_Py_Void();
32809 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32812 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32813 return SWIG_Py_Void();
32816 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32817 return SWIG_Python_InitShadowInstance(args
);
32820 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
= 0;
32822 wxPenList
*arg1
= (wxPenList
*) 0 ;
32823 wxColour
*arg2
= 0 ;
32826 wxPen
*result
= 0 ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 PyObject
* obj2
= 0 ;
32837 PyObject
* obj3
= 0 ;
32838 char * kwnames
[] = {
32839 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32844 if (!SWIG_IsOK(res1
)) {
32845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32847 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32853 if (!SWIG_IsOK(ecode3
)) {
32854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32856 arg3
= static_cast< int >(val3
);
32857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32858 if (!SWIG_IsOK(ecode4
)) {
32859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32861 arg4
= static_cast< int >(val4
);
32863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32864 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32865 wxPyEndAllowThreads(__tstate
);
32866 if (PyErr_Occurred()) SWIG_fail
;
32868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32875 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32876 PyObject
*resultobj
= 0;
32877 wxPenList
*arg1
= (wxPenList
*) 0 ;
32878 wxPen
*arg2
= (wxPen
*) 0 ;
32883 PyObject
* obj0
= 0 ;
32884 PyObject
* obj1
= 0 ;
32885 char * kwnames
[] = {
32886 (char *) "self",(char *) "pen", NULL
32889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32891 if (!SWIG_IsOK(res1
)) {
32892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32894 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32896 if (!SWIG_IsOK(res2
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32899 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 (arg1
)->AddPen(arg2
);
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_Py_Void();
32913 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
= 0;
32915 wxPenList
*arg1
= (wxPenList
*) 0 ;
32916 wxPen
*arg2
= (wxPen
*) 0 ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 char * kwnames
[] = {
32924 (char *) "self",(char *) "pen", NULL
32927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32929 if (!SWIG_IsOK(res1
)) {
32930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32932 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32934 if (!SWIG_IsOK(res2
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32937 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 (arg1
)->RemovePen(arg2
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_Py_Void();
32951 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32954 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32955 return SWIG_Py_Void();
32958 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32959 PyObject
*resultobj
= 0;
32960 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32961 wxColour
*arg2
= 0 ;
32962 int arg3
= (int) wxSOLID
;
32963 wxBrush
*result
= 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 PyObject
* obj2
= 0 ;
32972 char * kwnames
[] = {
32973 (char *) "self",(char *) "colour",(char *) "style", NULL
32976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32978 if (!SWIG_IsOK(res1
)) {
32979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32981 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32984 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32988 if (!SWIG_IsOK(ecode3
)) {
32989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32991 arg3
= static_cast< int >(val3
);
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
32999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33006 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
= 0;
33008 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33009 wxBrush
*arg2
= (wxBrush
*) 0 ;
33014 PyObject
* obj0
= 0 ;
33015 PyObject
* obj1
= 0 ;
33016 char * kwnames
[] = {
33017 (char *) "self",(char *) "brush", NULL
33020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33022 if (!SWIG_IsOK(res1
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33025 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33027 if (!SWIG_IsOK(res2
)) {
33028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33030 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 (arg1
)->AddBrush(arg2
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_Py_Void();
33044 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33045 PyObject
*resultobj
= 0;
33046 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33047 wxBrush
*arg2
= (wxBrush
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 PyObject
* obj1
= 0 ;
33054 char * kwnames
[] = {
33055 (char *) "self",(char *) "brush", NULL
33058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33060 if (!SWIG_IsOK(res1
)) {
33061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33063 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33065 if (!SWIG_IsOK(res2
)) {
33066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33068 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33071 (arg1
)->RemoveBrush(arg2
);
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33075 resultobj
= SWIG_Py_Void();
33082 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33085 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33086 return SWIG_Py_Void();
33089 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33090 PyObject
*resultobj
= 0;
33091 wxFontList
*arg1
= (wxFontList
*) 0 ;
33096 bool arg6
= (bool) false ;
33097 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33099 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33100 wxFont
*result
= 0 ;
33113 bool temp7
= false ;
33116 PyObject
* obj0
= 0 ;
33117 PyObject
* obj1
= 0 ;
33118 PyObject
* obj2
= 0 ;
33119 PyObject
* obj3
= 0 ;
33120 PyObject
* obj4
= 0 ;
33121 PyObject
* obj5
= 0 ;
33122 PyObject
* obj6
= 0 ;
33123 PyObject
* obj7
= 0 ;
33124 char * kwnames
[] = {
33125 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33130 if (!SWIG_IsOK(res1
)) {
33131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33133 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33135 if (!SWIG_IsOK(ecode2
)) {
33136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33138 arg2
= static_cast< int >(val2
);
33139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33140 if (!SWIG_IsOK(ecode3
)) {
33141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33143 arg3
= static_cast< int >(val3
);
33144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33145 if (!SWIG_IsOK(ecode4
)) {
33146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33148 arg4
= static_cast< int >(val4
);
33149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33150 if (!SWIG_IsOK(ecode5
)) {
33151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33153 arg5
= static_cast< int >(val5
);
33155 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33156 if (!SWIG_IsOK(ecode6
)) {
33157 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33159 arg6
= static_cast< bool >(val6
);
33163 arg7
= wxString_in_helper(obj6
);
33164 if (arg7
== NULL
) SWIG_fail
;
33169 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33170 if (!SWIG_IsOK(ecode8
)) {
33171 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33173 arg8
= static_cast< wxFontEncoding
>(val8
);
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33177 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33178 wxPyEndAllowThreads(__tstate
);
33179 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33196 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33197 PyObject
*resultobj
= 0;
33198 wxFontList
*arg1
= (wxFontList
*) 0 ;
33199 wxFont
*arg2
= (wxFont
*) 0 ;
33204 PyObject
* obj0
= 0 ;
33205 PyObject
* obj1
= 0 ;
33206 char * kwnames
[] = {
33207 (char *) "self",(char *) "font", NULL
33210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33212 if (!SWIG_IsOK(res1
)) {
33213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33215 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33217 if (!SWIG_IsOK(res2
)) {
33218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33220 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 (arg1
)->AddFont(arg2
);
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 resultobj
= SWIG_Py_Void();
33234 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
= 0;
33236 wxFontList
*arg1
= (wxFontList
*) 0 ;
33237 wxFont
*arg2
= (wxFont
*) 0 ;
33242 PyObject
* obj0
= 0 ;
33243 PyObject
* obj1
= 0 ;
33244 char * kwnames
[] = {
33245 (char *) "self",(char *) "font", NULL
33248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33253 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33255 if (!SWIG_IsOK(res2
)) {
33256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33258 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 (arg1
)->RemoveFont(arg2
);
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= SWIG_Py_Void();
33272 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33275 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33276 return SWIG_Py_Void();
33279 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33280 PyObject
*resultobj
= 0;
33281 wxColourDatabase
*result
= 0 ;
33283 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33285 if (!wxPyCheckForApp()) SWIG_fail
;
33286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33287 result
= (wxColourDatabase
*)new wxColourDatabase();
33288 wxPyEndAllowThreads(__tstate
);
33289 if (PyErr_Occurred()) SWIG_fail
;
33291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33298 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33299 PyObject
*resultobj
= 0;
33300 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33303 PyObject
*swig_obj
[1] ;
33305 if (!args
) SWIG_fail
;
33306 swig_obj
[0] = args
;
33307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33311 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_Py_Void();
33326 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33329 wxString
*arg2
= 0 ;
33333 bool temp2
= false ;
33334 PyObject
* obj0
= 0 ;
33335 PyObject
* obj1
= 0 ;
33336 char * kwnames
[] = {
33337 (char *) "self",(char *) "name", NULL
33340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33342 if (!SWIG_IsOK(res1
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33345 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33347 arg2
= wxString_in_helper(obj1
);
33348 if (arg2
== NULL
) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33372 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33373 PyObject
*resultobj
= 0;
33374 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33375 wxColour
*arg2
= 0 ;
33380 PyObject
* obj0
= 0 ;
33381 PyObject
* obj1
= 0 ;
33382 char * kwnames
[] = {
33383 (char *) "self",(char *) "colour", NULL
33386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33388 if (!SWIG_IsOK(res1
)) {
33389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33391 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33394 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33415 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33416 PyObject
*resultobj
= 0;
33417 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33418 wxString
*arg2
= 0 ;
33419 wxColour
*arg3
= 0 ;
33422 bool temp2
= false ;
33424 PyObject
* obj0
= 0 ;
33425 PyObject
* obj1
= 0 ;
33426 PyObject
* obj2
= 0 ;
33427 char * kwnames
[] = {
33428 (char *) "self",(char *) "name",(char *) "colour", NULL
33431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33433 if (!SWIG_IsOK(res1
)) {
33434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33436 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33438 arg2
= wxString_in_helper(obj1
);
33439 if (arg2
== NULL
) SWIG_fail
;
33444 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33448 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33449 wxPyEndAllowThreads(__tstate
);
33450 if (PyErr_Occurred()) SWIG_fail
;
33452 resultobj
= SWIG_Py_Void();
33467 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33468 PyObject
*resultobj
= 0;
33469 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33470 wxString
*arg2
= 0 ;
33476 bool temp2
= false ;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 PyObject
* obj2
= 0 ;
33486 PyObject
* obj3
= 0 ;
33487 PyObject
* obj4
= 0 ;
33488 char * kwnames
[] = {
33489 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33494 if (!SWIG_IsOK(res1
)) {
33495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33497 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33499 arg2
= wxString_in_helper(obj1
);
33500 if (arg2
== NULL
) SWIG_fail
;
33503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33504 if (!SWIG_IsOK(ecode3
)) {
33505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33507 arg3
= static_cast< int >(val3
);
33508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33509 if (!SWIG_IsOK(ecode4
)) {
33510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33512 arg4
= static_cast< int >(val4
);
33513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33514 if (!SWIG_IsOK(ecode5
)) {
33515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33517 arg5
= static_cast< int >(val5
);
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33521 wxPyEndAllowThreads(__tstate
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33524 resultobj
= SWIG_Py_Void();
33539 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33542 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33543 return SWIG_Py_Void();
33546 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 return SWIG_Python_InitShadowInstance(args
);
33550 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33551 PyObject
*resultobj
= 0;
33552 wxFontList
*result
= 0 ;
33554 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33557 result
= (wxFontList
*)_wxPyInitTheFontList();
33558 wxPyEndAllowThreads(__tstate
);
33559 if (PyErr_Occurred()) SWIG_fail
;
33561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33568 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33569 PyObject
*resultobj
= 0;
33570 wxPenList
*result
= 0 ;
33572 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 result
= (wxPenList
*)_wxPyInitThePenList();
33576 wxPyEndAllowThreads(__tstate
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33586 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 PyObject
*resultobj
= 0;
33588 wxBrushList
*result
= 0 ;
33590 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33593 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33604 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33605 PyObject
*resultobj
= 0;
33606 wxColourDatabase
*result
= 0 ;
33608 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33622 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33623 PyObject
*resultobj
= 0;
33624 wxEffects
*result
= 0 ;
33626 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 result
= (wxEffects
*)new wxEffects();
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33640 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33641 PyObject
*resultobj
= 0;
33642 wxEffects
*arg1
= (wxEffects
*) 0 ;
33646 PyObject
*swig_obj
[1] ;
33648 if (!args
) SWIG_fail
;
33649 swig_obj
[0] = args
;
33650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33651 if (!SWIG_IsOK(res1
)) {
33652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33654 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33658 wxPyEndAllowThreads(__tstate
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33661 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33668 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33669 PyObject
*resultobj
= 0;
33670 wxEffects
*arg1
= (wxEffects
*) 0 ;
33674 PyObject
*swig_obj
[1] ;
33676 if (!args
) SWIG_fail
;
33677 swig_obj
[0] = args
;
33678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33679 if (!SWIG_IsOK(res1
)) {
33680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33682 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33696 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33697 PyObject
*resultobj
= 0;
33698 wxEffects
*arg1
= (wxEffects
*) 0 ;
33702 PyObject
*swig_obj
[1] ;
33704 if (!args
) SWIG_fail
;
33705 swig_obj
[0] = args
;
33706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33707 if (!SWIG_IsOK(res1
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33710 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33724 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33725 PyObject
*resultobj
= 0;
33726 wxEffects
*arg1
= (wxEffects
*) 0 ;
33730 PyObject
*swig_obj
[1] ;
33732 if (!args
) SWIG_fail
;
33733 swig_obj
[0] = args
;
33734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33735 if (!SWIG_IsOK(res1
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33738 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33742 wxPyEndAllowThreads(__tstate
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33745 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33752 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33753 PyObject
*resultobj
= 0;
33754 wxEffects
*arg1
= (wxEffects
*) 0 ;
33758 PyObject
*swig_obj
[1] ;
33760 if (!args
) SWIG_fail
;
33761 swig_obj
[0] = args
;
33762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33763 if (!SWIG_IsOK(res1
)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33766 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33769 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33773 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33780 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
= 0;
33782 wxEffects
*arg1
= (wxEffects
*) 0 ;
33783 wxColour
*arg2
= 0 ;
33787 PyObject
* obj0
= 0 ;
33788 PyObject
* obj1
= 0 ;
33789 char * kwnames
[] = {
33790 (char *) "self",(char *) "c", NULL
33793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33795 if (!SWIG_IsOK(res1
)) {
33796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33798 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33806 wxPyEndAllowThreads(__tstate
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33809 resultobj
= SWIG_Py_Void();
33816 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
= 0;
33818 wxEffects
*arg1
= (wxEffects
*) 0 ;
33819 wxColour
*arg2
= 0 ;
33823 PyObject
* obj0
= 0 ;
33824 PyObject
* obj1
= 0 ;
33825 char * kwnames
[] = {
33826 (char *) "self",(char *) "c", NULL
33829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33831 if (!SWIG_IsOK(res1
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33834 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33837 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 resultobj
= SWIG_Py_Void();
33852 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33853 PyObject
*resultobj
= 0;
33854 wxEffects
*arg1
= (wxEffects
*) 0 ;
33855 wxColour
*arg2
= 0 ;
33859 PyObject
* obj0
= 0 ;
33860 PyObject
* obj1
= 0 ;
33861 char * kwnames
[] = {
33862 (char *) "self",(char *) "c", NULL
33865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33870 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= SWIG_Py_Void();
33888 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
= 0;
33890 wxEffects
*arg1
= (wxEffects
*) 0 ;
33891 wxColour
*arg2
= 0 ;
33895 PyObject
* obj0
= 0 ;
33896 PyObject
* obj1
= 0 ;
33897 char * kwnames
[] = {
33898 (char *) "self",(char *) "c", NULL
33901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33906 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33914 wxPyEndAllowThreads(__tstate
);
33915 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= SWIG_Py_Void();
33924 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33925 PyObject
*resultobj
= 0;
33926 wxEffects
*arg1
= (wxEffects
*) 0 ;
33927 wxColour
*arg2
= 0 ;
33931 PyObject
* obj0
= 0 ;
33932 PyObject
* obj1
= 0 ;
33933 char * kwnames
[] = {
33934 (char *) "self",(char *) "c", NULL
33937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33939 if (!SWIG_IsOK(res1
)) {
33940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33950 wxPyEndAllowThreads(__tstate
);
33951 if (PyErr_Occurred()) SWIG_fail
;
33953 resultobj
= SWIG_Py_Void();
33960 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33961 PyObject
*resultobj
= 0;
33962 wxEffects
*arg1
= (wxEffects
*) 0 ;
33963 wxColour
*arg2
= 0 ;
33964 wxColour
*arg3
= 0 ;
33965 wxColour
*arg4
= 0 ;
33966 wxColour
*arg5
= 0 ;
33967 wxColour
*arg6
= 0 ;
33975 PyObject
* obj0
= 0 ;
33976 PyObject
* obj1
= 0 ;
33977 PyObject
* obj2
= 0 ;
33978 PyObject
* obj3
= 0 ;
33979 PyObject
* obj4
= 0 ;
33980 PyObject
* obj5
= 0 ;
33981 char * kwnames
[] = {
33982 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33987 if (!SWIG_IsOK(res1
)) {
33988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33990 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33997 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34001 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34005 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34009 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34014 wxPyEndAllowThreads(__tstate
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34017 resultobj
= SWIG_Py_Void();
34024 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
= 0;
34026 wxEffects
*arg1
= (wxEffects
*) 0 ;
34029 int arg4
= (int) 1 ;
34037 PyObject
* obj0
= 0 ;
34038 PyObject
* obj1
= 0 ;
34039 PyObject
* obj2
= 0 ;
34040 PyObject
* obj3
= 0 ;
34041 char * kwnames
[] = {
34042 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34047 if (!SWIG_IsOK(res1
)) {
34048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34050 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34052 if (!SWIG_IsOK(res2
)) {
34053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34058 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34061 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34065 if (!SWIG_IsOK(ecode4
)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34068 arg4
= static_cast< int >(val4
);
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_Py_Void();
34083 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
= 0;
34085 wxEffects
*arg1
= (wxEffects
*) 0 ;
34088 wxBitmap
*arg4
= 0 ;
34097 PyObject
* obj0
= 0 ;
34098 PyObject
* obj1
= 0 ;
34099 PyObject
* obj2
= 0 ;
34100 PyObject
* obj3
= 0 ;
34101 char * kwnames
[] = {
34102 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34107 if (!SWIG_IsOK(res1
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34110 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34115 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34116 if (!SWIG_IsOK(res3
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34122 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34123 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34124 if (!SWIG_IsOK(res4
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34130 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34146 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34149 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34150 return SWIG_Py_Void();
34153 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34154 return SWIG_Python_InitShadowInstance(args
);
34157 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34158 PyObject
*resultobj
= 0;
34162 wxSplitterRenderParams
*result
= 0 ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 PyObject
* obj2
= 0 ;
34172 char * kwnames
[] = {
34173 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34178 if (!SWIG_IsOK(ecode1
)) {
34179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34181 arg1
= static_cast< int >(val1
);
34182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34183 if (!SWIG_IsOK(ecode2
)) {
34184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34186 arg2
= static_cast< int >(val2
);
34187 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34188 if (!SWIG_IsOK(ecode3
)) {
34189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34191 arg3
= static_cast< bool >(val3
);
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34205 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34206 PyObject
*resultobj
= 0;
34207 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34210 PyObject
*swig_obj
[1] ;
34212 if (!args
) SWIG_fail
;
34213 swig_obj
[0] = args
;
34214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34215 if (!SWIG_IsOK(res1
)) {
34216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34218 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_Py_Void();
34233 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34234 PyObject
*resultobj
= 0;
34235 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34239 PyObject
*swig_obj
[1] ;
34241 if (!args
) SWIG_fail
;
34242 swig_obj
[0] = args
;
34243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34244 if (!SWIG_IsOK(res1
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34247 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34248 result
= (int)(int) ((arg1
)->widthSash
);
34249 resultobj
= SWIG_From_int(static_cast< int >(result
));
34256 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34257 PyObject
*resultobj
= 0;
34258 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34262 PyObject
*swig_obj
[1] ;
34264 if (!args
) SWIG_fail
;
34265 swig_obj
[0] = args
;
34266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34267 if (!SWIG_IsOK(res1
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34270 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34271 result
= (int)(int) ((arg1
)->border
);
34272 resultobj
= SWIG_From_int(static_cast< int >(result
));
34279 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34280 PyObject
*resultobj
= 0;
34281 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34285 PyObject
*swig_obj
[1] ;
34287 if (!args
) SWIG_fail
;
34288 swig_obj
[0] = args
;
34289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34290 if (!SWIG_IsOK(res1
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34293 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34294 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34295 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34302 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34305 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34306 return SWIG_Py_Void();
34309 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34310 return SWIG_Python_InitShadowInstance(args
);
34313 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34314 PyObject
*resultobj
= 0;
34315 wxHeaderButtonParams
*result
= 0 ;
34317 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34331 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34332 PyObject
*resultobj
= 0;
34333 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34336 PyObject
*swig_obj
[1] ;
34338 if (!args
) SWIG_fail
;
34339 swig_obj
[0] = args
;
34340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34341 if (!SWIG_IsOK(res1
)) {
34342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34344 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34352 resultobj
= SWIG_Py_Void();
34359 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34360 PyObject
*resultobj
= 0;
34361 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34362 wxColour
*arg2
= (wxColour
*) 0 ;
34366 PyObject
*swig_obj
[2] ;
34368 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34370 if (!SWIG_IsOK(res1
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34373 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34376 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34378 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34380 resultobj
= SWIG_Py_Void();
34387 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34388 PyObject
*resultobj
= 0;
34389 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34390 wxColour
*result
= 0 ;
34393 PyObject
*swig_obj
[1] ;
34395 if (!args
) SWIG_fail
;
34396 swig_obj
[0] = args
;
34397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34401 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34402 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34410 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34411 PyObject
*resultobj
= 0;
34412 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34413 wxColour
*arg2
= (wxColour
*) 0 ;
34417 PyObject
*swig_obj
[2] ;
34419 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34421 if (!SWIG_IsOK(res1
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34424 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34427 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34429 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34431 resultobj
= SWIG_Py_Void();
34438 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34439 PyObject
*resultobj
= 0;
34440 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34441 wxColour
*result
= 0 ;
34444 PyObject
*swig_obj
[1] ;
34446 if (!args
) SWIG_fail
;
34447 swig_obj
[0] = args
;
34448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34449 if (!SWIG_IsOK(res1
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34452 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34453 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34461 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34462 PyObject
*resultobj
= 0;
34463 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34464 wxString
*arg2
= (wxString
*) 0 ;
34467 bool temp2
= false ;
34468 PyObject
*swig_obj
[2] ;
34470 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34472 if (!SWIG_IsOK(res1
)) {
34473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34475 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34477 arg2
= wxString_in_helper(swig_obj
[1]);
34478 if (arg2
== NULL
) SWIG_fail
;
34481 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34483 resultobj
= SWIG_Py_Void();
34498 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34499 PyObject
*resultobj
= 0;
34500 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34501 wxString
*result
= 0 ;
34504 PyObject
*swig_obj
[1] ;
34506 if (!args
) SWIG_fail
;
34507 swig_obj
[0] = args
;
34508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34509 if (!SWIG_IsOK(res1
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34512 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34513 result
= (wxString
*)& ((arg1
)->m_labelText
);
34516 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34518 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34527 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34528 PyObject
*resultobj
= 0;
34529 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34530 wxFont
*arg2
= (wxFont
*) 0 ;
34535 PyObject
*swig_obj
[2] ;
34537 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34539 if (!SWIG_IsOK(res1
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34542 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34543 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34544 if (!SWIG_IsOK(res2
)) {
34545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34547 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34548 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34550 resultobj
= SWIG_Py_Void();
34557 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34558 PyObject
*resultobj
= 0;
34559 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34560 wxFont
*result
= 0 ;
34563 PyObject
*swig_obj
[1] ;
34565 if (!args
) SWIG_fail
;
34566 swig_obj
[0] = args
;
34567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34568 if (!SWIG_IsOK(res1
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34571 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34572 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34580 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34581 PyObject
*resultobj
= 0;
34582 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34583 wxColour
*arg2
= (wxColour
*) 0 ;
34587 PyObject
*swig_obj
[2] ;
34589 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34591 if (!SWIG_IsOK(res1
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34594 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34597 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34599 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34601 resultobj
= SWIG_Py_Void();
34608 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34609 PyObject
*resultobj
= 0;
34610 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34611 wxColour
*result
= 0 ;
34614 PyObject
*swig_obj
[1] ;
34616 if (!args
) SWIG_fail
;
34617 swig_obj
[0] = args
;
34618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34619 if (!SWIG_IsOK(res1
)) {
34620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34622 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34623 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34631 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34632 PyObject
*resultobj
= 0;
34633 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34634 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34639 PyObject
*swig_obj
[2] ;
34641 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34643 if (!SWIG_IsOK(res1
)) {
34644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34646 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34647 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34648 if (!SWIG_IsOK(res2
)) {
34649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34651 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34652 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34654 resultobj
= SWIG_Py_Void();
34661 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34662 PyObject
*resultobj
= 0;
34663 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34664 wxBitmap
*result
= 0 ;
34667 PyObject
*swig_obj
[1] ;
34669 if (!args
) SWIG_fail
;
34670 swig_obj
[0] = args
;
34671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34672 if (!SWIG_IsOK(res1
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34675 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34676 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34684 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34685 PyObject
*resultobj
= 0;
34686 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34692 PyObject
*swig_obj
[2] ;
34694 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34696 if (!SWIG_IsOK(res1
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34699 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34700 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34701 if (!SWIG_IsOK(ecode2
)) {
34702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34704 arg2
= static_cast< int >(val2
);
34705 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34707 resultobj
= SWIG_Py_Void();
34714 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34715 PyObject
*resultobj
= 0;
34716 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34720 PyObject
*swig_obj
[1] ;
34722 if (!args
) SWIG_fail
;
34723 swig_obj
[0] = args
;
34724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34725 if (!SWIG_IsOK(res1
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34728 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34729 result
= (int) ((arg1
)->m_labelAlignment
);
34730 resultobj
= SWIG_From_int(static_cast< int >(result
));
34737 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34740 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34741 return SWIG_Py_Void();
34744 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34745 return SWIG_Python_InitShadowInstance(args
);
34748 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
= 0;
34752 wxRendererVersion
*result
= 0 ;
34757 PyObject
* obj0
= 0 ;
34758 PyObject
* obj1
= 0 ;
34759 char * kwnames
[] = {
34760 (char *) "version_",(char *) "age_", NULL
34763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34765 if (!SWIG_IsOK(ecode1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34768 arg1
= static_cast< int >(val1
);
34769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34770 if (!SWIG_IsOK(ecode2
)) {
34771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34773 arg2
= static_cast< int >(val2
);
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34787 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34788 PyObject
*resultobj
= 0;
34789 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34792 PyObject
*swig_obj
[1] ;
34794 if (!args
) SWIG_fail
;
34795 swig_obj
[0] = args
;
34796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34797 if (!SWIG_IsOK(res1
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34800 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 resultobj
= SWIG_Py_Void();
34815 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
= 0;
34817 wxRendererVersion
*arg1
= 0 ;
34821 PyObject
* obj0
= 0 ;
34822 char * kwnames
[] = {
34823 (char *) "ver", NULL
34826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34827 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34828 if (!SWIG_IsOK(res1
)) {
34829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34834 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34837 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34838 wxPyEndAllowThreads(__tstate
);
34839 if (PyErr_Occurred()) SWIG_fail
;
34842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34850 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34851 PyObject
*resultobj
= 0;
34852 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34856 PyObject
*swig_obj
[1] ;
34858 if (!args
) SWIG_fail
;
34859 swig_obj
[0] = args
;
34860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34861 if (!SWIG_IsOK(res1
)) {
34862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34864 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34865 result
= (int)(int) ((arg1
)->version
);
34866 resultobj
= SWIG_From_int(static_cast< int >(result
));
34873 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34874 PyObject
*resultobj
= 0;
34875 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34879 PyObject
*swig_obj
[1] ;
34881 if (!args
) SWIG_fail
;
34882 swig_obj
[0] = args
;
34883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34884 if (!SWIG_IsOK(res1
)) {
34885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34887 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34888 result
= (int)(int) ((arg1
)->age
);
34889 resultobj
= SWIG_From_int(static_cast< int >(result
));
34896 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34899 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34900 return SWIG_Py_Void();
34903 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34904 return SWIG_Python_InitShadowInstance(args
);
34907 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34908 PyObject
*resultobj
= 0;
34909 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34910 wxWindow
*arg2
= (wxWindow
*) 0 ;
34913 int arg5
= (int) 0 ;
34914 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34915 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34929 PyObject
* obj0
= 0 ;
34930 PyObject
* obj1
= 0 ;
34931 PyObject
* obj2
= 0 ;
34932 PyObject
* obj3
= 0 ;
34933 PyObject
* obj4
= 0 ;
34934 PyObject
* obj5
= 0 ;
34935 PyObject
* obj6
= 0 ;
34936 char * kwnames
[] = {
34937 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34942 if (!SWIG_IsOK(res1
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34945 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34947 if (!SWIG_IsOK(res2
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34952 if (!SWIG_IsOK(res3
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34958 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34961 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34965 if (!SWIG_IsOK(ecode5
)) {
34966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34968 arg5
= static_cast< int >(val5
);
34971 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34972 if (!SWIG_IsOK(ecode6
)) {
34973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34975 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34978 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34979 if (!SWIG_IsOK(res7
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34982 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34987 wxPyEndAllowThreads(__tstate
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34990 resultobj
= SWIG_Py_Void();
34997 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34998 PyObject
*resultobj
= 0;
34999 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35000 wxWindow
*arg2
= (wxWindow
*) 0 ;
35003 int arg5
= (int) 0 ;
35004 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35005 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 PyObject
* obj2
= 0 ;
35022 PyObject
* obj3
= 0 ;
35023 PyObject
* obj4
= 0 ;
35024 PyObject
* obj5
= 0 ;
35025 PyObject
* obj6
= 0 ;
35026 char * kwnames
[] = {
35027 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35032 if (!SWIG_IsOK(res1
)) {
35033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35035 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35037 if (!SWIG_IsOK(res2
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35040 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35041 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35042 if (!SWIG_IsOK(res3
)) {
35043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35048 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35051 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35054 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35055 if (!SWIG_IsOK(ecode5
)) {
35056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35058 arg5
= static_cast< int >(val5
);
35061 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35062 if (!SWIG_IsOK(ecode6
)) {
35063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35065 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35068 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35069 if (!SWIG_IsOK(res7
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35072 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 resultobj
= SWIG_Py_Void();
35087 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= 0;
35089 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35090 wxWindow
*arg2
= (wxWindow
*) 0 ;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "win", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35107 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35109 if (!SWIG_IsOK(res2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= SWIG_From_int(static_cast< int >(result
));
35126 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
= 0;
35128 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35129 wxWindow
*arg2
= (wxWindow
*) 0 ;
35132 int arg5
= (int) 0 ;
35142 PyObject
* obj0
= 0 ;
35143 PyObject
* obj1
= 0 ;
35144 PyObject
* obj2
= 0 ;
35145 PyObject
* obj3
= 0 ;
35146 PyObject
* obj4
= 0 ;
35147 char * kwnames
[] = {
35148 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35153 if (!SWIG_IsOK(res1
)) {
35154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35156 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35158 if (!SWIG_IsOK(res2
)) {
35159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35161 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35162 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35163 if (!SWIG_IsOK(res3
)) {
35164 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35169 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35172 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35176 if (!SWIG_IsOK(ecode5
)) {
35177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35179 arg5
= static_cast< int >(val5
);
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35187 resultobj
= SWIG_Py_Void();
35194 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35195 PyObject
*resultobj
= 0;
35196 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35197 wxWindow
*arg2
= (wxWindow
*) 0 ;
35200 int arg5
= (int) 0 ;
35210 PyObject
* obj0
= 0 ;
35211 PyObject
* obj1
= 0 ;
35212 PyObject
* obj2
= 0 ;
35213 PyObject
* obj3
= 0 ;
35214 PyObject
* obj4
= 0 ;
35215 char * kwnames
[] = {
35216 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35221 if (!SWIG_IsOK(res1
)) {
35222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35224 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35226 if (!SWIG_IsOK(res2
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35229 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35230 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35231 if (!SWIG_IsOK(res3
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35237 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35240 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35244 if (!SWIG_IsOK(ecode5
)) {
35245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35247 arg5
= static_cast< int >(val5
);
35250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35251 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35252 wxPyEndAllowThreads(__tstate
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35255 resultobj
= SWIG_Py_Void();
35262 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35263 PyObject
*resultobj
= 0;
35264 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35265 wxWindow
*arg2
= (wxWindow
*) 0 ;
35269 wxOrientation arg6
;
35270 int arg7
= (int) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 PyObject
* obj2
= 0 ;
35287 PyObject
* obj3
= 0 ;
35288 PyObject
* obj4
= 0 ;
35289 PyObject
* obj5
= 0 ;
35290 PyObject
* obj6
= 0 ;
35291 char * kwnames
[] = {
35292 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35300 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35302 if (!SWIG_IsOK(res2
)) {
35303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35306 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35307 if (!SWIG_IsOK(res3
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35313 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35319 if (!SWIG_IsOK(ecode5
)) {
35320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35322 arg5
= static_cast< int >(val5
);
35323 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35324 if (!SWIG_IsOK(ecode6
)) {
35325 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35327 arg6
= static_cast< wxOrientation
>(val6
);
35329 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35330 if (!SWIG_IsOK(ecode7
)) {
35331 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35333 arg7
= static_cast< int >(val7
);
35336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35337 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35338 wxPyEndAllowThreads(__tstate
);
35339 if (PyErr_Occurred()) SWIG_fail
;
35341 resultobj
= SWIG_Py_Void();
35348 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35349 PyObject
*resultobj
= 0;
35350 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35351 wxWindow
*arg2
= (wxWindow
*) 0 ;
35354 int arg5
= (int) 0 ;
35364 PyObject
* obj0
= 0 ;
35365 PyObject
* obj1
= 0 ;
35366 PyObject
* obj2
= 0 ;
35367 PyObject
* obj3
= 0 ;
35368 PyObject
* obj4
= 0 ;
35369 char * kwnames
[] = {
35370 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35375 if (!SWIG_IsOK(res1
)) {
35376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35378 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35380 if (!SWIG_IsOK(res2
)) {
35381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35383 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35385 if (!SWIG_IsOK(res3
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35391 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35394 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35398 if (!SWIG_IsOK(ecode5
)) {
35399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35401 arg5
= static_cast< int >(val5
);
35404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35409 resultobj
= SWIG_Py_Void();
35416 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35417 PyObject
*resultobj
= 0;
35418 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35419 wxWindow
*arg2
= (wxWindow
*) 0 ;
35422 int arg5
= (int) 0 ;
35432 PyObject
* obj0
= 0 ;
35433 PyObject
* obj1
= 0 ;
35434 PyObject
* obj2
= 0 ;
35435 PyObject
* obj3
= 0 ;
35436 PyObject
* obj4
= 0 ;
35437 char * kwnames
[] = {
35438 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35443 if (!SWIG_IsOK(res1
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35446 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35448 if (!SWIG_IsOK(res2
)) {
35449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35452 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35453 if (!SWIG_IsOK(res3
)) {
35454 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35459 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35462 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35466 if (!SWIG_IsOK(ecode5
)) {
35467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35469 arg5
= static_cast< int >(val5
);
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35474 wxPyEndAllowThreads(__tstate
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35477 resultobj
= SWIG_Py_Void();
35484 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35485 PyObject
*resultobj
= 0;
35486 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35487 wxWindow
*arg2
= (wxWindow
*) 0 ;
35490 int arg5
= (int) 0 ;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 PyObject
* obj2
= 0 ;
35503 PyObject
* obj3
= 0 ;
35504 PyObject
* obj4
= 0 ;
35505 char * kwnames
[] = {
35506 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35511 if (!SWIG_IsOK(res1
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35514 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35516 if (!SWIG_IsOK(res2
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35520 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35521 if (!SWIG_IsOK(res3
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35527 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35530 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35534 if (!SWIG_IsOK(ecode5
)) {
35535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35537 arg5
= static_cast< int >(val5
);
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35542 wxPyEndAllowThreads(__tstate
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35545 resultobj
= SWIG_Py_Void();
35552 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35553 PyObject
*resultobj
= 0;
35554 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35555 wxWindow
*arg2
= (wxWindow
*) 0 ;
35558 int arg5
= (int) 0 ;
35568 PyObject
* obj0
= 0 ;
35569 PyObject
* obj1
= 0 ;
35570 PyObject
* obj2
= 0 ;
35571 PyObject
* obj3
= 0 ;
35572 PyObject
* obj4
= 0 ;
35573 char * kwnames
[] = {
35574 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35579 if (!SWIG_IsOK(res1
)) {
35580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35582 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35584 if (!SWIG_IsOK(res2
)) {
35585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35588 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35589 if (!SWIG_IsOK(res3
)) {
35590 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35595 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35598 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35602 if (!SWIG_IsOK(ecode5
)) {
35603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35605 arg5
= static_cast< int >(val5
);
35608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35609 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 resultobj
= SWIG_Py_Void();
35620 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35621 PyObject
*resultobj
= 0;
35622 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35623 wxWindow
*arg2
= (wxWindow
*) 0 ;
35626 int arg5
= (int) 0 ;
35636 PyObject
* obj0
= 0 ;
35637 PyObject
* obj1
= 0 ;
35638 PyObject
* obj2
= 0 ;
35639 PyObject
* obj3
= 0 ;
35640 PyObject
* obj4
= 0 ;
35641 char * kwnames
[] = {
35642 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35647 if (!SWIG_IsOK(res1
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35650 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35652 if (!SWIG_IsOK(res2
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35656 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35657 if (!SWIG_IsOK(res3
)) {
35658 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35663 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35666 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35670 if (!SWIG_IsOK(ecode5
)) {
35671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35673 arg5
= static_cast< int >(val5
);
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= SWIG_Py_Void();
35688 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
= 0;
35690 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35691 wxWindow
*arg2
= (wxWindow
*) 0 ;
35692 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 char * kwnames
[] = {
35700 (char *) "self",(char *) "win", NULL
35703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35705 if (!SWIG_IsOK(res1
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35708 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35710 if (!SWIG_IsOK(res2
)) {
35711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35716 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35727 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35728 PyObject
*resultobj
= 0;
35729 wxRendererNative
*result
= 0 ;
35731 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35733 if (!wxPyCheckForApp()) SWIG_fail
;
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35736 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35737 result
= (wxRendererNative
*) &_result_ref
;
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35749 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35750 PyObject
*resultobj
= 0;
35751 wxRendererNative
*result
= 0 ;
35753 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35755 if (!wxPyCheckForApp()) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35758 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35759 result
= (wxRendererNative
*) &_result_ref
;
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35771 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35772 PyObject
*resultobj
= 0;
35773 wxRendererNative
*result
= 0 ;
35775 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35777 if (!wxPyCheckForApp()) SWIG_fail
;
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35781 result
= (wxRendererNative
*) &_result_ref
;
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35793 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
= 0;
35795 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35796 wxRendererNative
*result
= 0 ;
35799 PyObject
* obj0
= 0 ;
35800 char * kwnames
[] = {
35801 (char *) "renderer", NULL
35804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35806 if (!SWIG_IsOK(res1
)) {
35807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35809 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35811 if (!wxPyCheckForApp()) SWIG_fail
;
35812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35813 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35824 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35825 PyObject
*resultobj
= 0;
35826 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35827 SwigValueWrapper
<wxRendererVersion
> result
;
35830 PyObject
*swig_obj
[1] ;
35832 if (!args
) SWIG_fail
;
35833 swig_obj
[0] = args
;
35834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35835 if (!SWIG_IsOK(res1
)) {
35836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35838 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35841 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35845 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35852 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35855 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35856 return SWIG_Py_Void();
35859 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35860 PyObject
*resultobj
= 0;
35861 wxPseudoDC
*result
= 0 ;
35863 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35866 result
= (wxPseudoDC
*)new wxPseudoDC();
35867 wxPyEndAllowThreads(__tstate
);
35868 if (PyErr_Occurred()) SWIG_fail
;
35870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35877 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35878 PyObject
*resultobj
= 0;
35879 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35882 PyObject
*swig_obj
[1] ;
35884 if (!args
) SWIG_fail
;
35885 swig_obj
[0] = args
;
35886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35890 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 (arg1
)->BeginDrawing();
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 resultobj
= SWIG_Py_Void();
35904 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35905 PyObject
*resultobj
= 0;
35906 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35909 PyObject
*swig_obj
[1] ;
35911 if (!args
) SWIG_fail
;
35912 swig_obj
[0] = args
;
35913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35914 if (!SWIG_IsOK(res1
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 (arg1
)->EndDrawing();
35921 wxPyEndAllowThreads(__tstate
);
35922 if (PyErr_Occurred()) SWIG_fail
;
35924 resultobj
= SWIG_Py_Void();
35931 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35932 PyObject
*resultobj
= 0;
35933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35936 PyObject
*swig_obj
[1] ;
35938 if (!args
) SWIG_fail
;
35939 swig_obj
[0] = args
;
35940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35941 if (!SWIG_IsOK(res1
)) {
35942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35952 resultobj
= SWIG_Py_Void();
35959 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35960 PyObject
*resultobj
= 0;
35961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35964 PyObject
*swig_obj
[1] ;
35966 if (!args
) SWIG_fail
;
35967 swig_obj
[0] = args
;
35968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35969 if (!SWIG_IsOK(res1
)) {
35970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35972 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35975 (arg1
)->RemoveAll();
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 resultobj
= SWIG_Py_Void();
35986 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35987 PyObject
*resultobj
= 0;
35988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35992 PyObject
*swig_obj
[1] ;
35994 if (!args
) SWIG_fail
;
35995 swig_obj
[0] = args
;
35996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35997 if (!SWIG_IsOK(res1
)) {
35998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (int)(arg1
)->GetLen();
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 resultobj
= SWIG_From_int(static_cast< int >(result
));
36014 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36015 PyObject
*resultobj
= 0;
36016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36022 PyObject
* obj0
= 0 ;
36023 PyObject
* obj1
= 0 ;
36024 char * kwnames
[] = {
36025 (char *) "self",(char *) "id", NULL
36028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36030 if (!SWIG_IsOK(res1
)) {
36031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36033 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36035 if (!SWIG_IsOK(ecode2
)) {
36036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36038 arg2
= static_cast< int >(val2
);
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 (arg1
)->SetId(arg2
);
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 resultobj
= SWIG_Py_Void();
36052 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
= 0;
36054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36060 PyObject
* obj0
= 0 ;
36061 PyObject
* obj1
= 0 ;
36062 char * kwnames
[] = {
36063 (char *) "self",(char *) "id", NULL
36066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36068 if (!SWIG_IsOK(res1
)) {
36069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36073 if (!SWIG_IsOK(ecode2
)) {
36074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36076 arg2
= static_cast< int >(val2
);
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 (arg1
)->ClearId(arg2
);
36080 wxPyEndAllowThreads(__tstate
);
36081 if (PyErr_Occurred()) SWIG_fail
;
36083 resultobj
= SWIG_Py_Void();
36090 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
= 0;
36092 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36098 PyObject
* obj0
= 0 ;
36099 PyObject
* obj1
= 0 ;
36100 char * kwnames
[] = {
36101 (char *) "self",(char *) "id", NULL
36104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36106 if (!SWIG_IsOK(res1
)) {
36107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36111 if (!SWIG_IsOK(ecode2
)) {
36112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36114 arg2
= static_cast< int >(val2
);
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 (arg1
)->RemoveId(arg2
);
36118 wxPyEndAllowThreads(__tstate
);
36119 if (PyErr_Occurred()) SWIG_fail
;
36121 resultobj
= SWIG_Py_Void();
36128 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36129 PyObject
*resultobj
= 0;
36130 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36142 PyObject
* obj0
= 0 ;
36143 PyObject
* obj1
= 0 ;
36144 PyObject
* obj2
= 0 ;
36145 PyObject
* obj3
= 0 ;
36146 char * kwnames
[] = {
36147 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36152 if (!SWIG_IsOK(res1
)) {
36153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36155 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36157 if (!SWIG_IsOK(ecode2
)) {
36158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36160 arg2
= static_cast< int >(val2
);
36161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36162 if (!SWIG_IsOK(ecode3
)) {
36163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36165 arg3
= static_cast< int >(val3
);
36166 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36167 if (!SWIG_IsOK(ecode4
)) {
36168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36170 arg4
= static_cast< int >(val4
);
36172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36173 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_Py_Void();
36184 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
= 0;
36186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36188 bool arg3
= (bool) true ;
36195 PyObject
* obj0
= 0 ;
36196 PyObject
* obj1
= 0 ;
36197 PyObject
* obj2
= 0 ;
36198 char * kwnames
[] = {
36199 (char *) "self",(char *) "id",(char *) "greyout", NULL
36202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36204 if (!SWIG_IsOK(res1
)) {
36205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36209 if (!SWIG_IsOK(ecode2
)) {
36210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36212 arg2
= static_cast< int >(val2
);
36214 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36215 if (!SWIG_IsOK(ecode3
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36218 arg3
= static_cast< bool >(val3
);
36221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36222 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36223 wxPyEndAllowThreads(__tstate
);
36224 if (PyErr_Occurred()) SWIG_fail
;
36226 resultobj
= SWIG_Py_Void();
36233 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36234 PyObject
*resultobj
= 0;
36235 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36242 PyObject
* obj0
= 0 ;
36243 PyObject
* obj1
= 0 ;
36244 char * kwnames
[] = {
36245 (char *) "self",(char *) "id", NULL
36248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36250 if (!SWIG_IsOK(res1
)) {
36251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36253 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36255 if (!SWIG_IsOK(ecode2
)) {
36256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36258 arg2
= static_cast< int >(val2
);
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36274 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
= 0;
36276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36279 int arg4
= (int) 1 ;
36280 wxColor
const &arg5_defvalue
= *wxWHITE
;
36281 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36282 PyObject
*result
= 0 ;
36293 PyObject
* obj0
= 0 ;
36294 PyObject
* obj1
= 0 ;
36295 PyObject
* obj2
= 0 ;
36296 PyObject
* obj3
= 0 ;
36297 PyObject
* obj4
= 0 ;
36298 char * kwnames
[] = {
36299 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36304 if (!SWIG_IsOK(res1
)) {
36305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36309 if (!SWIG_IsOK(ecode2
)) {
36310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36312 arg2
= static_cast< int >(val2
);
36313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36314 if (!SWIG_IsOK(ecode3
)) {
36315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36317 arg3
= static_cast< int >(val3
);
36319 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36320 if (!SWIG_IsOK(ecode4
)) {
36321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36323 arg4
= static_cast< int >(val4
);
36326 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36327 if (!SWIG_IsOK(res5
)) {
36328 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36333 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36336 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= result
;
36346 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
= 0;
36348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36351 PyObject
*result
= 0 ;
36358 PyObject
* obj0
= 0 ;
36359 PyObject
* obj1
= 0 ;
36360 PyObject
* obj2
= 0 ;
36361 char * kwnames
[] = {
36362 (char *) "self",(char *) "x",(char *) "y", NULL
36365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36367 if (!SWIG_IsOK(res1
)) {
36368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36370 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36372 if (!SWIG_IsOK(ecode2
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36375 arg2
= static_cast< int >(val2
);
36376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36377 if (!SWIG_IsOK(ecode3
)) {
36378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36380 arg3
= static_cast< int >(val3
);
36382 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 resultobj
= result
;
36392 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
= 0;
36394 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36396 wxDC
*arg3
= (wxDC
*) 0 ;
36403 PyObject
* obj0
= 0 ;
36404 PyObject
* obj1
= 0 ;
36405 PyObject
* obj2
= 0 ;
36406 char * kwnames
[] = {
36407 (char *) "self",(char *) "id",(char *) "dc", NULL
36410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36412 if (!SWIG_IsOK(res1
)) {
36413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36417 if (!SWIG_IsOK(ecode2
)) {
36418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36420 arg2
= static_cast< int >(val2
);
36421 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36422 if (!SWIG_IsOK(res3
)) {
36423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36425 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 (arg1
)->DrawIdToDC(arg2
,arg3
);
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 resultobj
= SWIG_Py_Void();
36439 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36440 PyObject
*resultobj
= 0;
36441 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36449 PyObject
* obj0
= 0 ;
36450 PyObject
* obj1
= 0 ;
36451 PyObject
* obj2
= 0 ;
36452 char * kwnames
[] = {
36453 (char *) "self",(char *) "id",(char *) "rect", NULL
36456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36463 if (!SWIG_IsOK(ecode2
)) {
36464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36466 arg2
= static_cast< int >(val2
);
36469 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 (arg1
)->SetIdBounds(arg2
,*arg3
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= SWIG_Py_Void();
36484 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
= 0;
36486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36493 PyObject
* obj0
= 0 ;
36494 PyObject
* obj1
= 0 ;
36495 char * kwnames
[] = {
36496 (char *) "self",(char *) "id", NULL
36499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36501 if (!SWIG_IsOK(res1
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36504 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36506 if (!SWIG_IsOK(ecode2
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36509 arg2
= static_cast< int >(val2
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 wxDC
*arg2
= (wxDC
*) 0 ;
36533 PyObject
* obj0
= 0 ;
36534 PyObject
* obj1
= 0 ;
36535 PyObject
* obj2
= 0 ;
36536 char * kwnames
[] = {
36537 (char *) "self",(char *) "dc",(char *) "rect", NULL
36540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36542 if (!SWIG_IsOK(res1
)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36545 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36547 if (!SWIG_IsOK(res2
)) {
36548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36550 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36553 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= SWIG_Py_Void();
36568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
= 0;
36570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36571 wxDC
*arg2
= (wxDC
*) 0 ;
36572 wxRegion
*arg3
= 0 ;
36579 PyObject
* obj0
= 0 ;
36580 PyObject
* obj1
= 0 ;
36581 PyObject
* obj2
= 0 ;
36582 char * kwnames
[] = {
36583 (char *) "self",(char *) "dc",(char *) "region", NULL
36586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36588 if (!SWIG_IsOK(res1
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36593 if (!SWIG_IsOK(res2
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36596 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36597 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36598 if (!SWIG_IsOK(res3
)) {
36599 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36604 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_Py_Void();
36618 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
= 0;
36620 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36621 wxDC
*arg2
= (wxDC
*) 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 char * kwnames
[] = {
36629 (char *) "self",(char *) "dc", NULL
36632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36639 if (!SWIG_IsOK(res2
)) {
36640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36642 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36645 (arg1
)->DrawToDC(arg2
);
36646 wxPyEndAllowThreads(__tstate
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36649 resultobj
= SWIG_Py_Void();
36656 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36657 PyObject
*resultobj
= 0;
36658 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36661 wxColour
*arg4
= 0 ;
36662 int arg5
= (int) wxFLOOD_SURFACE
;
36672 PyObject
* obj0
= 0 ;
36673 PyObject
* obj1
= 0 ;
36674 PyObject
* obj2
= 0 ;
36675 PyObject
* obj3
= 0 ;
36676 PyObject
* obj4
= 0 ;
36677 char * kwnames
[] = {
36678 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36683 if (!SWIG_IsOK(res1
)) {
36684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36688 if (!SWIG_IsOK(ecode2
)) {
36689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36691 arg2
= static_cast< int >(val2
);
36692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36693 if (!SWIG_IsOK(ecode3
)) {
36694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36696 arg3
= static_cast< int >(val3
);
36699 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36703 if (!SWIG_IsOK(ecode5
)) {
36704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36706 arg5
= static_cast< int >(val5
);
36709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36710 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36711 wxPyEndAllowThreads(__tstate
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36714 resultobj
= SWIG_Py_Void();
36721 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36722 PyObject
*resultobj
= 0;
36723 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36724 wxPoint
*arg2
= 0 ;
36725 wxColour
*arg3
= 0 ;
36726 int arg4
= (int) wxFLOOD_SURFACE
;
36733 PyObject
* obj0
= 0 ;
36734 PyObject
* obj1
= 0 ;
36735 PyObject
* obj2
= 0 ;
36736 PyObject
* obj3
= 0 ;
36737 char * kwnames
[] = {
36738 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36743 if (!SWIG_IsOK(res1
)) {
36744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36753 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36757 if (!SWIG_IsOK(ecode4
)) {
36758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36760 arg4
= static_cast< int >(val4
);
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36765 wxPyEndAllowThreads(__tstate
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36768 resultobj
= SWIG_Py_Void();
36775 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36776 PyObject
*resultobj
= 0;
36777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36792 PyObject
* obj0
= 0 ;
36793 PyObject
* obj1
= 0 ;
36794 PyObject
* obj2
= 0 ;
36795 PyObject
* obj3
= 0 ;
36796 PyObject
* obj4
= 0 ;
36797 char * kwnames
[] = {
36798 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36803 if (!SWIG_IsOK(res1
)) {
36804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36806 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36808 if (!SWIG_IsOK(ecode2
)) {
36809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36811 arg2
= static_cast< int >(val2
);
36812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36813 if (!SWIG_IsOK(ecode3
)) {
36814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36816 arg3
= static_cast< int >(val3
);
36817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36818 if (!SWIG_IsOK(ecode4
)) {
36819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36821 arg4
= static_cast< int >(val4
);
36822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36823 if (!SWIG_IsOK(ecode5
)) {
36824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36826 arg5
= static_cast< int >(val5
);
36828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36829 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36830 wxPyEndAllowThreads(__tstate
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36833 resultobj
= SWIG_Py_Void();
36840 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36841 PyObject
*resultobj
= 0;
36842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36843 wxPoint
*arg2
= 0 ;
36844 wxPoint
*arg3
= 0 ;
36849 PyObject
* obj0
= 0 ;
36850 PyObject
* obj1
= 0 ;
36851 PyObject
* obj2
= 0 ;
36852 char * kwnames
[] = {
36853 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36858 if (!SWIG_IsOK(res1
)) {
36859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36861 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36884 PyObject
*resultobj
= 0;
36885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36894 PyObject
* obj0
= 0 ;
36895 PyObject
* obj1
= 0 ;
36896 PyObject
* obj2
= 0 ;
36897 char * kwnames
[] = {
36898 (char *) "self",(char *) "x",(char *) "y", NULL
36901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CrossHair" "', 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_CrossHair" "', 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_CrossHair" "', expected argument " "3"" of type '" "int""'");
36916 arg3
= static_cast< int >(val3
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->CrossHair(arg2
,arg3
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36933 wxPoint
*arg2
= 0 ;
36937 PyObject
* obj0
= 0 ;
36938 PyObject
* obj1
= 0 ;
36939 char * kwnames
[] = {
36940 (char *) "self",(char *) "pt", NULL
36943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36945 if (!SWIG_IsOK(res1
)) {
36946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 resultobj
= SWIG_Py_Void();
36966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
= 0;
36968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 PyObject
* obj2
= 0 ;
36992 PyObject
* obj3
= 0 ;
36993 PyObject
* obj4
= 0 ;
36994 PyObject
* obj5
= 0 ;
36995 PyObject
* obj6
= 0 ;
36996 char * kwnames
[] = {
36997 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37002 if (!SWIG_IsOK(res1
)) {
37003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37005 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37007 if (!SWIG_IsOK(ecode2
)) {
37008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37010 arg2
= static_cast< int >(val2
);
37011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37012 if (!SWIG_IsOK(ecode3
)) {
37013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37015 arg3
= static_cast< int >(val3
);
37016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37017 if (!SWIG_IsOK(ecode4
)) {
37018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37020 arg4
= static_cast< int >(val4
);
37021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37022 if (!SWIG_IsOK(ecode5
)) {
37023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37025 arg5
= static_cast< int >(val5
);
37026 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37027 if (!SWIG_IsOK(ecode6
)) {
37028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37030 arg6
= static_cast< int >(val6
);
37031 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37032 if (!SWIG_IsOK(ecode7
)) {
37033 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37035 arg7
= static_cast< int >(val7
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= SWIG_Py_Void();
37049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
= 0;
37051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37052 wxPoint
*arg2
= 0 ;
37053 wxPoint
*arg3
= 0 ;
37054 wxPoint
*arg4
= 0 ;
37060 PyObject
* obj0
= 0 ;
37061 PyObject
* obj1
= 0 ;
37062 PyObject
* obj2
= 0 ;
37063 PyObject
* obj3
= 0 ;
37064 char * kwnames
[] = {
37065 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37070 if (!SWIG_IsOK(res1
)) {
37071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37088 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37089 wxPyEndAllowThreads(__tstate
);
37090 if (PyErr_Occurred()) SWIG_fail
;
37092 resultobj
= SWIG_Py_Void();
37099 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
= 0;
37101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 PyObject
* obj2
= 0 ;
37119 PyObject
* obj3
= 0 ;
37120 PyObject
* obj4
= 0 ;
37121 char * kwnames
[] = {
37122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37127 if (!SWIG_IsOK(res1
)) {
37128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37132 if (!SWIG_IsOK(ecode2
)) {
37133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37135 arg2
= static_cast< int >(val2
);
37136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37137 if (!SWIG_IsOK(ecode3
)) {
37138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37140 arg3
= static_cast< int >(val3
);
37141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37142 if (!SWIG_IsOK(ecode4
)) {
37143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37145 arg4
= static_cast< int >(val4
);
37146 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37147 if (!SWIG_IsOK(ecode5
)) {
37148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37150 arg5
= static_cast< int >(val5
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= SWIG_Py_Void();
37164 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37171 PyObject
* obj0
= 0 ;
37172 PyObject
* obj1
= 0 ;
37173 char * kwnames
[] = {
37174 (char *) "self",(char *) "rect", NULL
37177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37179 if (!SWIG_IsOK(res1
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_Py_Void();
37200 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
= 0;
37202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37223 PyObject
* obj0
= 0 ;
37224 PyObject
* obj1
= 0 ;
37225 PyObject
* obj2
= 0 ;
37226 PyObject
* obj3
= 0 ;
37227 PyObject
* obj4
= 0 ;
37228 PyObject
* obj5
= 0 ;
37229 PyObject
* obj6
= 0 ;
37230 char * kwnames
[] = {
37231 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37236 if (!SWIG_IsOK(res1
)) {
37237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37241 if (!SWIG_IsOK(ecode2
)) {
37242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37244 arg2
= static_cast< int >(val2
);
37245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37246 if (!SWIG_IsOK(ecode3
)) {
37247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37249 arg3
= static_cast< int >(val3
);
37250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37251 if (!SWIG_IsOK(ecode4
)) {
37252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37254 arg4
= static_cast< int >(val4
);
37255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37256 if (!SWIG_IsOK(ecode5
)) {
37257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37259 arg5
= static_cast< int >(val5
);
37260 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37261 if (!SWIG_IsOK(ecode6
)) {
37262 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37264 arg6
= static_cast< double >(val6
);
37265 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37266 if (!SWIG_IsOK(ecode7
)) {
37267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37269 arg7
= static_cast< double >(val7
);
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37273 wxPyEndAllowThreads(__tstate
);
37274 if (PyErr_Occurred()) SWIG_fail
;
37276 resultobj
= SWIG_Py_Void();
37283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37284 PyObject
*resultobj
= 0;
37285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37286 wxPoint
*arg2
= 0 ;
37298 PyObject
* obj0
= 0 ;
37299 PyObject
* obj1
= 0 ;
37300 PyObject
* obj2
= 0 ;
37301 PyObject
* obj3
= 0 ;
37302 PyObject
* obj4
= 0 ;
37303 char * kwnames
[] = {
37304 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37309 if (!SWIG_IsOK(res1
)) {
37310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37312 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37319 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37321 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37322 if (!SWIG_IsOK(ecode4
)) {
37323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37325 arg4
= static_cast< double >(val4
);
37326 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37327 if (!SWIG_IsOK(ecode5
)) {
37328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37330 arg5
= static_cast< double >(val5
);
37332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37333 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37334 wxPyEndAllowThreads(__tstate
);
37335 if (PyErr_Occurred()) SWIG_fail
;
37337 resultobj
= SWIG_Py_Void();
37344 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37345 PyObject
*resultobj
= 0;
37346 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37355 PyObject
* obj0
= 0 ;
37356 PyObject
* obj1
= 0 ;
37357 PyObject
* obj2
= 0 ;
37358 char * kwnames
[] = {
37359 (char *) "self",(char *) "x",(char *) "y", NULL
37362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37364 if (!SWIG_IsOK(res1
)) {
37365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37367 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37369 if (!SWIG_IsOK(ecode2
)) {
37370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37372 arg2
= static_cast< int >(val2
);
37373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37374 if (!SWIG_IsOK(ecode3
)) {
37375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37377 arg3
= static_cast< int >(val3
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 (arg1
)->DrawPoint(arg2
,arg3
);
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37384 resultobj
= SWIG_Py_Void();
37391 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37392 PyObject
*resultobj
= 0;
37393 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37394 wxPoint
*arg2
= 0 ;
37398 PyObject
* obj0
= 0 ;
37399 PyObject
* obj1
= 0 ;
37400 char * kwnames
[] = {
37401 (char *) "self",(char *) "pt", NULL
37404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37406 if (!SWIG_IsOK(res1
)) {
37407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37409 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= SWIG_Py_Void();
37427 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37428 PyObject
*resultobj
= 0;
37429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37444 PyObject
* obj0
= 0 ;
37445 PyObject
* obj1
= 0 ;
37446 PyObject
* obj2
= 0 ;
37447 PyObject
* obj3
= 0 ;
37448 PyObject
* obj4
= 0 ;
37449 char * kwnames
[] = {
37450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37455 if (!SWIG_IsOK(res1
)) {
37456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37458 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37460 if (!SWIG_IsOK(ecode2
)) {
37461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37463 arg2
= static_cast< int >(val2
);
37464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37465 if (!SWIG_IsOK(ecode3
)) {
37466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37468 arg3
= static_cast< int >(val3
);
37469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37470 if (!SWIG_IsOK(ecode4
)) {
37471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37473 arg4
= static_cast< int >(val4
);
37474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37475 if (!SWIG_IsOK(ecode5
)) {
37476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37478 arg5
= static_cast< int >(val5
);
37480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37481 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37482 wxPyEndAllowThreads(__tstate
);
37483 if (PyErr_Occurred()) SWIG_fail
;
37485 resultobj
= SWIG_Py_Void();
37492 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37493 PyObject
*resultobj
= 0;
37494 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37499 PyObject
* obj0
= 0 ;
37500 PyObject
* obj1
= 0 ;
37501 char * kwnames
[] = {
37502 (char *) "self",(char *) "rect", NULL
37505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37507 if (!SWIG_IsOK(res1
)) {
37508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37510 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37518 wxPyEndAllowThreads(__tstate
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= SWIG_Py_Void();
37528 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37529 PyObject
*resultobj
= 0;
37530 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37531 wxPoint
*arg2
= 0 ;
37537 PyObject
* obj0
= 0 ;
37538 PyObject
* obj1
= 0 ;
37539 PyObject
* obj2
= 0 ;
37540 char * kwnames
[] = {
37541 (char *) "self",(char *) "pt",(char *) "sz", NULL
37544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37546 if (!SWIG_IsOK(res1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37556 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37560 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37561 wxPyEndAllowThreads(__tstate
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37564 resultobj
= SWIG_Py_Void();
37571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
= 0;
37573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37591 PyObject
* obj0
= 0 ;
37592 PyObject
* obj1
= 0 ;
37593 PyObject
* obj2
= 0 ;
37594 PyObject
* obj3
= 0 ;
37595 PyObject
* obj4
= 0 ;
37596 PyObject
* obj5
= 0 ;
37597 char * kwnames
[] = {
37598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37603 if (!SWIG_IsOK(res1
)) {
37604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37606 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37608 if (!SWIG_IsOK(ecode2
)) {
37609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37611 arg2
= static_cast< int >(val2
);
37612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37613 if (!SWIG_IsOK(ecode3
)) {
37614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37616 arg3
= static_cast< int >(val3
);
37617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37618 if (!SWIG_IsOK(ecode4
)) {
37619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37621 arg4
= static_cast< int >(val4
);
37622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37623 if (!SWIG_IsOK(ecode5
)) {
37624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37626 arg5
= static_cast< int >(val5
);
37627 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37628 if (!SWIG_IsOK(ecode6
)) {
37629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37631 arg6
= static_cast< double >(val6
);
37633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37634 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37638 resultobj
= SWIG_Py_Void();
37645 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
= 0;
37647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37655 PyObject
* obj0
= 0 ;
37656 PyObject
* obj1
= 0 ;
37657 PyObject
* obj2
= 0 ;
37658 char * kwnames
[] = {
37659 (char *) "self",(char *) "r",(char *) "radius", NULL
37662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37664 if (!SWIG_IsOK(res1
)) {
37665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37667 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37670 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37672 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37673 if (!SWIG_IsOK(ecode3
)) {
37674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37676 arg3
= static_cast< double >(val3
);
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_Py_Void();
37690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
= 0;
37692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37693 wxPoint
*arg2
= 0 ;
37702 PyObject
* obj0
= 0 ;
37703 PyObject
* obj1
= 0 ;
37704 PyObject
* obj2
= 0 ;
37705 PyObject
* obj3
= 0 ;
37706 char * kwnames
[] = {
37707 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37712 if (!SWIG_IsOK(res1
)) {
37713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37715 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37722 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37724 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37725 if (!SWIG_IsOK(ecode4
)) {
37726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37728 arg4
= static_cast< double >(val4
);
37730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37731 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37732 wxPyEndAllowThreads(__tstate
);
37733 if (PyErr_Occurred()) SWIG_fail
;
37735 resultobj
= SWIG_Py_Void();
37742 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
= 0;
37744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 PyObject
* obj2
= 0 ;
37759 PyObject
* obj3
= 0 ;
37760 char * kwnames
[] = {
37761 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37766 if (!SWIG_IsOK(res1
)) {
37767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37769 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37771 if (!SWIG_IsOK(ecode2
)) {
37772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37774 arg2
= static_cast< int >(val2
);
37775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37776 if (!SWIG_IsOK(ecode3
)) {
37777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37779 arg3
= static_cast< int >(val3
);
37780 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37781 if (!SWIG_IsOK(ecode4
)) {
37782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37784 arg4
= static_cast< int >(val4
);
37786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37787 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37788 wxPyEndAllowThreads(__tstate
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 resultobj
= SWIG_Py_Void();
37798 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
= 0;
37800 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37801 wxPoint
*arg2
= 0 ;
37808 PyObject
* obj0
= 0 ;
37809 PyObject
* obj1
= 0 ;
37810 PyObject
* obj2
= 0 ;
37811 char * kwnames
[] = {
37812 (char *) "self",(char *) "pt",(char *) "radius", NULL
37815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37817 if (!SWIG_IsOK(res1
)) {
37818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37820 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37826 if (!SWIG_IsOK(ecode3
)) {
37827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37829 arg3
= static_cast< int >(val3
);
37831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37832 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37833 wxPyEndAllowThreads(__tstate
);
37834 if (PyErr_Occurred()) SWIG_fail
;
37836 resultobj
= SWIG_Py_Void();
37843 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37844 PyObject
*resultobj
= 0;
37845 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37860 PyObject
* obj0
= 0 ;
37861 PyObject
* obj1
= 0 ;
37862 PyObject
* obj2
= 0 ;
37863 PyObject
* obj3
= 0 ;
37864 PyObject
* obj4
= 0 ;
37865 char * kwnames
[] = {
37866 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37871 if (!SWIG_IsOK(res1
)) {
37872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37876 if (!SWIG_IsOK(ecode2
)) {
37877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37879 arg2
= static_cast< int >(val2
);
37880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37881 if (!SWIG_IsOK(ecode3
)) {
37882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37884 arg3
= static_cast< int >(val3
);
37885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37886 if (!SWIG_IsOK(ecode4
)) {
37887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37889 arg4
= static_cast< int >(val4
);
37890 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37891 if (!SWIG_IsOK(ecode5
)) {
37892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37894 arg5
= static_cast< int >(val5
);
37896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37897 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= SWIG_Py_Void();
37908 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37909 PyObject
*resultobj
= 0;
37910 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37915 PyObject
* obj0
= 0 ;
37916 PyObject
* obj1
= 0 ;
37917 char * kwnames
[] = {
37918 (char *) "self",(char *) "rect", NULL
37921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37923 if (!SWIG_IsOK(res1
)) {
37924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37926 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37934 wxPyEndAllowThreads(__tstate
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37937 resultobj
= SWIG_Py_Void();
37944 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
= 0;
37946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37947 wxPoint
*arg2
= 0 ;
37953 PyObject
* obj0
= 0 ;
37954 PyObject
* obj1
= 0 ;
37955 PyObject
* obj2
= 0 ;
37956 char * kwnames
[] = {
37957 (char *) "self",(char *) "pt",(char *) "sz", NULL
37960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37962 if (!SWIG_IsOK(res1
)) {
37963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37972 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= SWIG_Py_Void();
37987 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37988 PyObject
*resultobj
= 0;
37989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 PyObject
* obj2
= 0 ;
38004 PyObject
* obj3
= 0 ;
38005 char * kwnames
[] = {
38006 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38011 if (!SWIG_IsOK(res1
)) {
38012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38016 if (!SWIG_IsOK(res2
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38022 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38024 if (!SWIG_IsOK(ecode3
)) {
38025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38027 arg3
= static_cast< int >(val3
);
38028 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38029 if (!SWIG_IsOK(ecode4
)) {
38030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38032 arg4
= static_cast< int >(val4
);
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38039 resultobj
= SWIG_Py_Void();
38046 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38047 PyObject
*resultobj
= 0;
38048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38050 wxPoint
*arg3
= 0 ;
38056 PyObject
* obj0
= 0 ;
38057 PyObject
* obj1
= 0 ;
38058 PyObject
* obj2
= 0 ;
38059 char * kwnames
[] = {
38060 (char *) "self",(char *) "icon",(char *) "pt", NULL
38063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38065 if (!SWIG_IsOK(res1
)) {
38066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38070 if (!SWIG_IsOK(res2
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38076 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= SWIG_Py_Void();
38094 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38095 PyObject
*resultobj
= 0;
38096 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38097 wxBitmap
*arg2
= 0 ;
38100 bool arg5
= (bool) false ;
38111 PyObject
* obj0
= 0 ;
38112 PyObject
* obj1
= 0 ;
38113 PyObject
* obj2
= 0 ;
38114 PyObject
* obj3
= 0 ;
38115 PyObject
* obj4
= 0 ;
38116 char * kwnames
[] = {
38117 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38122 if (!SWIG_IsOK(res1
)) {
38123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38127 if (!SWIG_IsOK(res2
)) {
38128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38135 if (!SWIG_IsOK(ecode3
)) {
38136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38138 arg3
= static_cast< int >(val3
);
38139 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38140 if (!SWIG_IsOK(ecode4
)) {
38141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38143 arg4
= static_cast< int >(val4
);
38145 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38146 if (!SWIG_IsOK(ecode5
)) {
38147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38149 arg5
= static_cast< bool >(val5
);
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= SWIG_Py_Void();
38164 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
= 0;
38166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38167 wxBitmap
*arg2
= 0 ;
38168 wxPoint
*arg3
= 0 ;
38169 bool arg4
= (bool) false ;
38177 PyObject
* obj0
= 0 ;
38178 PyObject
* obj1
= 0 ;
38179 PyObject
* obj2
= 0 ;
38180 PyObject
* obj3
= 0 ;
38181 char * kwnames
[] = {
38182 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38187 if (!SWIG_IsOK(res1
)) {
38188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38190 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38192 if (!SWIG_IsOK(res2
)) {
38193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38198 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38201 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38204 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38205 if (!SWIG_IsOK(ecode4
)) {
38206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38208 arg4
= static_cast< bool >(val4
);
38211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38212 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38213 wxPyEndAllowThreads(__tstate
);
38214 if (PyErr_Occurred()) SWIG_fail
;
38216 resultobj
= SWIG_Py_Void();
38223 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38224 PyObject
*resultobj
= 0;
38225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38226 wxString
*arg2
= 0 ;
38231 bool temp2
= false ;
38236 PyObject
* obj0
= 0 ;
38237 PyObject
* obj1
= 0 ;
38238 PyObject
* obj2
= 0 ;
38239 PyObject
* obj3
= 0 ;
38240 char * kwnames
[] = {
38241 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38246 if (!SWIG_IsOK(res1
)) {
38247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38251 arg2
= wxString_in_helper(obj1
);
38252 if (arg2
== NULL
) SWIG_fail
;
38255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38256 if (!SWIG_IsOK(ecode3
)) {
38257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38259 arg3
= static_cast< int >(val3
);
38260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38261 if (!SWIG_IsOK(ecode4
)) {
38262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38264 arg4
= static_cast< int >(val4
);
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38268 wxPyEndAllowThreads(__tstate
);
38269 if (PyErr_Occurred()) SWIG_fail
;
38271 resultobj
= SWIG_Py_Void();
38286 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38287 PyObject
*resultobj
= 0;
38288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38289 wxString
*arg2
= 0 ;
38290 wxPoint
*arg3
= 0 ;
38293 bool temp2
= false ;
38295 PyObject
* obj0
= 0 ;
38296 PyObject
* obj1
= 0 ;
38297 PyObject
* obj2
= 0 ;
38298 char * kwnames
[] = {
38299 (char *) "self",(char *) "text",(char *) "pt", NULL
38302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38309 arg2
= wxString_in_helper(obj1
);
38310 if (arg2
== NULL
) SWIG_fail
;
38315 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38320 wxPyEndAllowThreads(__tstate
);
38321 if (PyErr_Occurred()) SWIG_fail
;
38323 resultobj
= SWIG_Py_Void();
38338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38339 PyObject
*resultobj
= 0;
38340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38341 wxString
*arg2
= 0 ;
38347 bool temp2
= false ;
38354 PyObject
* obj0
= 0 ;
38355 PyObject
* obj1
= 0 ;
38356 PyObject
* obj2
= 0 ;
38357 PyObject
* obj3
= 0 ;
38358 PyObject
* obj4
= 0 ;
38359 char * kwnames
[] = {
38360 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38365 if (!SWIG_IsOK(res1
)) {
38366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38368 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38370 arg2
= wxString_in_helper(obj1
);
38371 if (arg2
== NULL
) SWIG_fail
;
38374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38375 if (!SWIG_IsOK(ecode3
)) {
38376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38378 arg3
= static_cast< int >(val3
);
38379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38380 if (!SWIG_IsOK(ecode4
)) {
38381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38383 arg4
= static_cast< int >(val4
);
38384 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38385 if (!SWIG_IsOK(ecode5
)) {
38386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38388 arg5
= static_cast< double >(val5
);
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38395 resultobj
= SWIG_Py_Void();
38410 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38411 PyObject
*resultobj
= 0;
38412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38413 wxString
*arg2
= 0 ;
38414 wxPoint
*arg3
= 0 ;
38418 bool temp2
= false ;
38422 PyObject
* obj0
= 0 ;
38423 PyObject
* obj1
= 0 ;
38424 PyObject
* obj2
= 0 ;
38425 PyObject
* obj3
= 0 ;
38426 char * kwnames
[] = {
38427 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38432 if (!SWIG_IsOK(res1
)) {
38433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38435 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38437 arg2
= wxString_in_helper(obj1
);
38438 if (arg2
== NULL
) SWIG_fail
;
38443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38445 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38446 if (!SWIG_IsOK(ecode4
)) {
38447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38449 arg4
= static_cast< double >(val4
);
38451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38452 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38456 resultobj
= SWIG_Py_Void();
38471 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38472 PyObject
*resultobj
= 0;
38473 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38475 wxPoint
*arg3
= (wxPoint
*) 0 ;
38476 int arg4
= (int) 0 ;
38477 int arg5
= (int) 0 ;
38484 PyObject
* obj0
= 0 ;
38485 PyObject
* obj1
= 0 ;
38486 PyObject
* obj2
= 0 ;
38487 PyObject
* obj3
= 0 ;
38488 char * kwnames
[] = {
38489 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38494 if (!SWIG_IsOK(res1
)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38499 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38500 if (arg3
== NULL
) SWIG_fail
;
38503 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38504 if (!SWIG_IsOK(ecode4
)) {
38505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38507 arg4
= static_cast< int >(val4
);
38510 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38511 if (!SWIG_IsOK(ecode5
)) {
38512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38514 arg5
= static_cast< int >(val5
);
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38519 wxPyEndAllowThreads(__tstate
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38522 resultobj
= SWIG_Py_Void();
38524 if (arg3
) delete [] arg3
;
38529 if (arg3
) delete [] arg3
;
38535 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38536 PyObject
*resultobj
= 0;
38537 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38539 wxPoint
*arg3
= (wxPoint
*) 0 ;
38540 int arg4
= (int) 0 ;
38541 int arg5
= (int) 0 ;
38542 int arg6
= (int) wxODDEVEN_RULE
;
38551 PyObject
* obj0
= 0 ;
38552 PyObject
* obj1
= 0 ;
38553 PyObject
* obj2
= 0 ;
38554 PyObject
* obj3
= 0 ;
38555 PyObject
* obj4
= 0 ;
38556 char * kwnames
[] = {
38557 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38562 if (!SWIG_IsOK(res1
)) {
38563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38565 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38567 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38568 if (arg3
== NULL
) SWIG_fail
;
38571 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38572 if (!SWIG_IsOK(ecode4
)) {
38573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38575 arg4
= static_cast< int >(val4
);
38578 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38579 if (!SWIG_IsOK(ecode5
)) {
38580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38582 arg5
= static_cast< int >(val5
);
38585 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38586 if (!SWIG_IsOK(ecode6
)) {
38587 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38589 arg6
= static_cast< int >(val6
);
38592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38593 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38594 wxPyEndAllowThreads(__tstate
);
38595 if (PyErr_Occurred()) SWIG_fail
;
38597 resultobj
= SWIG_Py_Void();
38599 if (arg3
) delete [] arg3
;
38604 if (arg3
) delete [] arg3
;
38610 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38611 PyObject
*resultobj
= 0;
38612 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38613 wxString
*arg2
= 0 ;
38615 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38616 int arg5
= (int) -1 ;
38619 bool temp2
= false ;
38625 PyObject
* obj0
= 0 ;
38626 PyObject
* obj1
= 0 ;
38627 PyObject
* obj2
= 0 ;
38628 PyObject
* obj3
= 0 ;
38629 PyObject
* obj4
= 0 ;
38630 char * kwnames
[] = {
38631 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38636 if (!SWIG_IsOK(res1
)) {
38637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38641 arg2
= wxString_in_helper(obj1
);
38642 if (arg2
== NULL
) SWIG_fail
;
38647 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38651 if (!SWIG_IsOK(ecode4
)) {
38652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38654 arg4
= static_cast< int >(val4
);
38657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38658 if (!SWIG_IsOK(ecode5
)) {
38659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38661 arg5
= static_cast< int >(val5
);
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38669 resultobj
= SWIG_Py_Void();
38684 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38685 PyObject
*resultobj
= 0;
38686 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38687 wxString
*arg2
= 0 ;
38688 wxBitmap
*arg3
= 0 ;
38690 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38691 int arg6
= (int) -1 ;
38694 bool temp2
= false ;
38702 PyObject
* obj0
= 0 ;
38703 PyObject
* obj1
= 0 ;
38704 PyObject
* obj2
= 0 ;
38705 PyObject
* obj3
= 0 ;
38706 PyObject
* obj4
= 0 ;
38707 PyObject
* obj5
= 0 ;
38708 char * kwnames
[] = {
38709 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38714 if (!SWIG_IsOK(res1
)) {
38715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38717 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38719 arg2
= wxString_in_helper(obj1
);
38720 if (arg2
== NULL
) SWIG_fail
;
38723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38724 if (!SWIG_IsOK(res3
)) {
38725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38730 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38733 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38737 if (!SWIG_IsOK(ecode5
)) {
38738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38740 arg5
= static_cast< int >(val5
);
38743 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38744 if (!SWIG_IsOK(ecode6
)) {
38745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38747 arg6
= static_cast< int >(val6
);
38750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38751 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38755 resultobj
= SWIG_Py_Void();
38770 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38771 PyObject
*resultobj
= 0;
38772 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38774 wxPoint
*arg3
= (wxPoint
*) 0 ;
38777 PyObject
* obj0
= 0 ;
38778 PyObject
* obj1
= 0 ;
38779 char * kwnames
[] = {
38780 (char *) "self",(char *) "points", NULL
38783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38785 if (!SWIG_IsOK(res1
)) {
38786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38788 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38790 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38791 if (arg3
== NULL
) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->DrawSpline(arg2
,arg3
);
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_Py_Void();
38801 if (arg3
) delete [] arg3
;
38806 if (arg3
) delete [] arg3
;
38812 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38813 PyObject
*resultobj
= 0;
38814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38817 PyObject
*swig_obj
[1] ;
38819 if (!args
) SWIG_fail
;
38820 swig_obj
[0] = args
;
38821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38822 if (!SWIG_IsOK(res1
)) {
38823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38829 wxPyEndAllowThreads(__tstate
);
38830 if (PyErr_Occurred()) SWIG_fail
;
38832 resultobj
= SWIG_Py_Void();
38839 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38840 PyObject
*resultobj
= 0;
38841 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38847 PyObject
* obj0
= 0 ;
38848 PyObject
* obj1
= 0 ;
38849 char * kwnames
[] = {
38850 (char *) "self",(char *) "font", NULL
38853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38855 if (!SWIG_IsOK(res1
)) {
38856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38860 if (!SWIG_IsOK(res2
)) {
38861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38866 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38869 (arg1
)->SetFont((wxFont
const &)*arg2
);
38870 wxPyEndAllowThreads(__tstate
);
38871 if (PyErr_Occurred()) SWIG_fail
;
38873 resultobj
= SWIG_Py_Void();
38880 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38881 PyObject
*resultobj
= 0;
38882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38888 PyObject
* obj0
= 0 ;
38889 PyObject
* obj1
= 0 ;
38890 char * kwnames
[] = {
38891 (char *) "self",(char *) "pen", NULL
38894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38896 if (!SWIG_IsOK(res1
)) {
38897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38901 if (!SWIG_IsOK(res2
)) {
38902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38907 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 (arg1
)->SetPen((wxPen
const &)*arg2
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= SWIG_Py_Void();
38921 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38922 PyObject
*resultobj
= 0;
38923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38924 wxBrush
*arg2
= 0 ;
38929 PyObject
* obj0
= 0 ;
38930 PyObject
* obj1
= 0 ;
38931 char * kwnames
[] = {
38932 (char *) "self",(char *) "brush", NULL
38935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38937 if (!SWIG_IsOK(res1
)) {
38938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38942 if (!SWIG_IsOK(res2
)) {
38943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38948 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38952 wxPyEndAllowThreads(__tstate
);
38953 if (PyErr_Occurred()) SWIG_fail
;
38955 resultobj
= SWIG_Py_Void();
38962 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38963 PyObject
*resultobj
= 0;
38964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38965 wxBrush
*arg2
= 0 ;
38970 PyObject
* obj0
= 0 ;
38971 PyObject
* obj1
= 0 ;
38972 char * kwnames
[] = {
38973 (char *) "self",(char *) "brush", NULL
38976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38978 if (!SWIG_IsOK(res1
)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38981 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38983 if (!SWIG_IsOK(res2
)) {
38984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38989 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38992 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38993 wxPyEndAllowThreads(__tstate
);
38994 if (PyErr_Occurred()) SWIG_fail
;
38996 resultobj
= SWIG_Py_Void();
39003 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39004 PyObject
*resultobj
= 0;
39005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39011 PyObject
* obj0
= 0 ;
39012 PyObject
* obj1
= 0 ;
39013 char * kwnames
[] = {
39014 (char *) "self",(char *) "mode", NULL
39017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39019 if (!SWIG_IsOK(res1
)) {
39020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39024 if (!SWIG_IsOK(ecode2
)) {
39025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39027 arg2
= static_cast< int >(val2
);
39029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39030 (arg1
)->SetBackgroundMode(arg2
);
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39034 resultobj
= SWIG_Py_Void();
39041 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39042 PyObject
*resultobj
= 0;
39043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39044 wxPalette
*arg2
= 0 ;
39049 PyObject
* obj0
= 0 ;
39050 PyObject
* obj1
= 0 ;
39051 char * kwnames
[] = {
39052 (char *) "self",(char *) "palette", NULL
39055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39057 if (!SWIG_IsOK(res1
)) {
39058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39060 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39062 if (!SWIG_IsOK(res2
)) {
39063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39068 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39072 wxPyEndAllowThreads(__tstate
);
39073 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= SWIG_Py_Void();
39082 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39083 PyObject
*resultobj
= 0;
39084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39085 wxColour
*arg2
= 0 ;
39089 PyObject
* obj0
= 0 ;
39090 PyObject
* obj1
= 0 ;
39091 char * kwnames
[] = {
39092 (char *) "self",(char *) "colour", NULL
39095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39097 if (!SWIG_IsOK(res1
)) {
39098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39107 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39108 wxPyEndAllowThreads(__tstate
);
39109 if (PyErr_Occurred()) SWIG_fail
;
39111 resultobj
= SWIG_Py_Void();
39118 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39119 PyObject
*resultobj
= 0;
39120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39121 wxColour
*arg2
= 0 ;
39125 PyObject
* obj0
= 0 ;
39126 PyObject
* obj1
= 0 ;
39127 char * kwnames
[] = {
39128 (char *) "self",(char *) "colour", NULL
39131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39133 if (!SWIG_IsOK(res1
)) {
39134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39143 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39144 wxPyEndAllowThreads(__tstate
);
39145 if (PyErr_Occurred()) SWIG_fail
;
39147 resultobj
= SWIG_Py_Void();
39154 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39155 PyObject
*resultobj
= 0;
39156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39162 PyObject
* obj0
= 0 ;
39163 PyObject
* obj1
= 0 ;
39164 char * kwnames
[] = {
39165 (char *) "self",(char *) "function", NULL
39168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39170 if (!SWIG_IsOK(res1
)) {
39171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39175 if (!SWIG_IsOK(ecode2
)) {
39176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39178 arg2
= static_cast< int >(val2
);
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 (arg1
)->SetLogicalFunction(arg2
);
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= SWIG_Py_Void();
39192 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39195 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39196 return SWIG_Py_Void();
39199 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39200 return SWIG_Python_InitShadowInstance(args
);
39203 static PyMethodDef SwigMethods
[] = {
39204 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39205 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39206 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39207 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39208 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39209 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39213 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39214 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39215 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39216 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39217 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39218 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39223 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39227 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39228 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39229 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39231 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39234 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39235 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39236 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39237 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39239 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39240 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39241 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39242 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39243 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39244 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39245 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39252 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39254 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39255 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39259 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39260 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39263 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39267 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39268 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39269 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39270 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39271 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39272 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39273 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39275 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39281 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39283 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39284 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39285 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39286 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39287 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39288 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39289 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39295 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39307 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39308 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39312 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39313 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39314 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39315 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39316 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39317 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39318 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39319 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39320 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39321 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39322 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39323 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39324 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39325 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39326 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39328 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39329 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39335 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39336 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39337 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39338 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39339 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39340 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39341 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39342 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39343 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39344 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39345 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39346 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39348 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39349 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39355 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39356 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39357 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39359 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39360 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39361 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39363 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39364 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39369 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39371 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39372 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39373 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39374 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39380 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39381 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39383 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39384 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39386 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39388 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39389 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39390 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39391 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39394 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39398 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39399 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39401 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39404 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39406 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39407 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39408 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39409 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39414 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39415 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39420 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39421 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39427 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39431 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39442 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39445 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39446 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39448 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39449 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39450 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39451 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39452 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39453 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39454 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39455 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39456 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39457 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39458 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39459 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39460 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39461 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39462 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39463 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39464 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39466 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39467 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39468 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39469 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39470 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39471 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39472 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39473 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39483 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39484 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39486 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39487 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39488 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39489 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39490 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39491 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39492 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39493 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39494 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39496 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39497 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39498 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39501 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39502 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39503 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39506 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39512 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39517 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39518 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39520 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39526 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39529 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39530 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39531 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39532 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39533 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39534 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39535 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39536 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39537 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39538 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39539 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39540 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39541 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39553 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39554 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39555 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39557 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39558 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39560 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39561 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39562 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39563 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39567 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39568 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39570 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39571 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39572 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39573 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39574 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39575 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39576 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39577 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39578 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39580 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39583 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39584 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39585 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39586 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39587 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39588 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39589 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39590 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39600 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39601 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39602 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39604 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39608 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39609 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39610 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39611 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39612 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39613 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39619 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39620 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39621 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39671 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39673 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39674 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39675 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39682 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39683 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39684 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39685 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39686 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39691 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39692 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39693 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39694 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39703 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39704 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39705 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39706 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39707 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39708 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39709 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39710 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39711 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39712 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39713 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39714 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39717 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39719 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39721 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39723 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39724 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39727 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39728 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39732 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39734 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39737 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39738 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39739 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39740 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39741 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39742 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39743 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39745 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39752 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39754 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39755 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39756 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39758 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39759 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39760 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39762 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39763 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39764 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39765 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39766 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39767 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39768 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39769 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39772 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39773 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39774 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39776 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39777 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39779 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39780 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39782 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39783 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39788 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39789 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39790 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39791 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39792 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39794 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39795 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39796 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39798 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39799 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39801 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39802 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39805 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39806 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39808 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39811 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39812 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39813 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39815 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39816 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39818 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39819 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39820 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39821 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39822 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39823 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39825 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39826 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39827 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39829 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39830 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39832 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39833 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39834 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39835 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39836 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39837 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39838 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39839 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39840 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39841 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39842 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39843 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39844 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39845 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39846 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39847 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39848 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39849 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39850 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39853 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39855 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39861 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39862 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39863 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39864 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39865 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39866 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39867 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39868 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39870 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39871 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39872 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39879 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39882 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39883 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39884 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39885 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39886 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39887 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39888 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39891 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39898 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39899 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39902 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39903 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39909 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39910 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39911 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39912 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39930 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39931 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39932 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39933 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39934 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39935 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39938 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39945 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39946 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39947 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39948 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39950 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39951 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39952 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39953 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39954 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39955 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39956 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39957 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39958 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39959 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39960 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39961 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39963 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39971 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39973 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39975 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39976 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39977 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39978 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39979 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39980 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39986 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39987 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39988 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39989 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39990 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39991 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39995 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39999 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40003 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40004 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40005 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40010 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40011 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40012 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40013 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40014 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40015 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40016 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40017 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40018 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40019 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40020 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40021 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40028 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40030 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40031 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40033 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40034 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40035 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40036 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40037 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40038 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40039 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40040 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40041 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40042 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40043 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40044 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40045 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40046 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40047 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40048 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40049 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40050 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40051 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40052 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40053 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40054 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40055 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40056 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40058 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40060 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40061 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40062 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40063 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40076 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40077 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40078 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40080 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40081 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40082 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40083 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40084 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40085 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40086 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40087 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40140 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40150 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40151 { NULL
, NULL
, 0, NULL
}
40155 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40157 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40158 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40160 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40161 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40163 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40164 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40166 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40167 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40169 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40170 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40172 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40173 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40175 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40176 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40178 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40179 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40181 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40182 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40184 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40185 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40187 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40188 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40190 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40191 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40193 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40194 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40196 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40197 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40199 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40200 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40202 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40203 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40205 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40206 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40208 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40209 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40211 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40212 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40214 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40215 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40217 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40218 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40220 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40221 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40223 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40224 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40226 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40227 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40229 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40230 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40232 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40233 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40235 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40236 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40238 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40239 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40241 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40242 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40244 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40245 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40247 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40248 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40250 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40251 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40253 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40254 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40256 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40257 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40259 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40260 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40262 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40263 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40265 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40266 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40268 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40269 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40271 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40272 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40274 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40275 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40277 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40278 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40280 static void *_p_wxPenTo_p_wxObject(void *x
) {
40281 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40283 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40284 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40286 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40287 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40289 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40290 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40292 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40295 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40296 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40298 static void *_p_wxIconTo_p_wxObject(void *x
) {
40299 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40301 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40302 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40304 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40305 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40307 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40308 return (void *)((wxObject
*) ((wxSizer
*) x
));
40310 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40311 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40313 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40316 static void *_p_wxEventTo_p_wxObject(void *x
) {
40317 return (void *)((wxObject
*) ((wxEvent
*) x
));
40319 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40320 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40322 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40323 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40325 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40326 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40328 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40329 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40331 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40334 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40335 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40337 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40338 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40340 static void *_p_wxDCTo_p_wxObject(void *x
) {
40341 return (void *)((wxObject
*) ((wxDC
*) x
));
40343 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40344 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40346 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40347 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40349 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40350 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40352 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40353 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40355 static void *_p_wxControlTo_p_wxObject(void *x
) {
40356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40358 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40359 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40361 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40362 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40364 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40365 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40367 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40368 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40370 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40371 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40373 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40374 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40376 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40377 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40379 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40380 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40382 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40383 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40385 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40386 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40388 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40389 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40391 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40392 return (void *)((wxObject
*) ((wxEffects
*) x
));
40394 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40395 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40397 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40400 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40401 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40403 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40404 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40406 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40407 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40409 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40410 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40412 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40415 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40416 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40418 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40419 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40421 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40422 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40424 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40425 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40427 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40428 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40430 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40431 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40433 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40434 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40436 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40437 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40439 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40442 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40445 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40448 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40451 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40454 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40457 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40460 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40463 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40466 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40469 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40472 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40475 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40478 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40481 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40484 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40487 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40490 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40493 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40496 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40499 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40502 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40505 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40508 static void *_p_wxImageTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) ((wxImage
*) x
));
40511 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40514 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40517 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40520 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40523 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40526 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) ((wxImageList
*) x
));
40529 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40532 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40535 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40538 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40541 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40544 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40547 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40550 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40553 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40556 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40559 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40562 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40565 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40568 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40571 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) ((wxMask
*) x
));
40574 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40577 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40580 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40583 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40586 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40589 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40592 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40595 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40598 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40601 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40604 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40607 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40610 static void *_p_wxFontTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40613 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40616 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40619 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40622 static void *_p_wxColourTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) ((wxColour
*) x
));
40625 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40628 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40631 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40632 return (void *)((wxWindow
*) ((wxControl
*) x
));
40634 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40635 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40637 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40638 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40640 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40641 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40643 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40644 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40646 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40647 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40648 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40649 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};
40650 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40651 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40652 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40653 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40654 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40655 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40656 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40657 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40658 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40659 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40660 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40661 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40662 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40663 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40664 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40665 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40666 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40667 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40668 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40669 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40670 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40671 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40672 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40673 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40674 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40675 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40676 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40677 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40678 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40679 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40680 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40681 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40682 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40683 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40684 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40685 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40686 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40687 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40688 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40689 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40690 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40691 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40692 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40693 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40694 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40695 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40696 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40697 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40698 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40699 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40700 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40701 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40702 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40703 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40708 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40709 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40710 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40711 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40712 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40713 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40714 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40715 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40716 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40717 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40718 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40719 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40720 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40721 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40722 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40723 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40724 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40725 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40726 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40727 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40728 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40729 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40730 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40731 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40732 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40733 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40734 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40735 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40736 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40737 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40738 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40739 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40740 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40741 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40742 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40743 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40744 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40745 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40746 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40747 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40748 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40749 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40750 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40751 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40752 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40753 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40754 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40755 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40789 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40790 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40791 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40792 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40793 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40795 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40796 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40797 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40798 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40799 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40800 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40806 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40807 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40808 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40809 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40818 static swig_type_info
*swig_type_initial
[] = {
40822 &_swigt__p_form_ops_t
,
40824 &_swigt__p_unsigned_char
,
40825 &_swigt__p_unsigned_int
,
40826 &_swigt__p_unsigned_long
,
40828 &_swigt__p_wxANIHandler
,
40829 &_swigt__p_wxAcceleratorTable
,
40830 &_swigt__p_wxActivateEvent
,
40831 &_swigt__p_wxAlphaPixelData
,
40832 &_swigt__p_wxAlphaPixelData_Accessor
,
40833 &_swigt__p_wxAutoBufferedPaintDC
,
40834 &_swigt__p_wxBMPHandler
,
40835 &_swigt__p_wxBitmap
,
40836 &_swigt__p_wxBoxSizer
,
40837 &_swigt__p_wxBrush
,
40838 &_swigt__p_wxBrushList
,
40839 &_swigt__p_wxBufferedDC
,
40840 &_swigt__p_wxBufferedPaintDC
,
40841 &_swigt__p_wxCURHandler
,
40843 &_swigt__p_wxChildFocusEvent
,
40844 &_swigt__p_wxClientDC
,
40845 &_swigt__p_wxClipboardTextEvent
,
40846 &_swigt__p_wxCloseEvent
,
40847 &_swigt__p_wxColor
,
40848 &_swigt__p_wxColour
,
40849 &_swigt__p_wxColourDatabase
,
40850 &_swigt__p_wxCommandEvent
,
40851 &_swigt__p_wxContextMenuEvent
,
40852 &_swigt__p_wxControl
,
40853 &_swigt__p_wxControlWithItems
,
40854 &_swigt__p_wxCursor
,
40856 &_swigt__p_wxDCBrushChanger
,
40857 &_swigt__p_wxDCClipper
,
40858 &_swigt__p_wxDCOverlay
,
40859 &_swigt__p_wxDCPenChanger
,
40860 &_swigt__p_wxDCTextColourChanger
,
40862 &_swigt__p_wxDateEvent
,
40863 &_swigt__p_wxDisplayChangedEvent
,
40864 &_swigt__p_wxDropFilesEvent
,
40865 &_swigt__p_wxDuplexMode
,
40866 &_swigt__p_wxEffects
,
40867 &_swigt__p_wxEncodingConverter
,
40868 &_swigt__p_wxEraseEvent
,
40869 &_swigt__p_wxEvent
,
40870 &_swigt__p_wxEvtHandler
,
40871 &_swigt__p_wxFSFile
,
40872 &_swigt__p_wxFileSystem
,
40873 &_swigt__p_wxFlexGridSizer
,
40874 &_swigt__p_wxFocusEvent
,
40876 &_swigt__p_wxFontList
,
40877 &_swigt__p_wxFontMapper
,
40878 &_swigt__p_wxGBSizerItem
,
40880 &_swigt__p_wxGDIObjListBase
,
40881 &_swigt__p_wxGDIObject
,
40882 &_swigt__p_wxGIFHandler
,
40883 &_swigt__p_wxGraphicsBrush
,
40884 &_swigt__p_wxGraphicsContext
,
40885 &_swigt__p_wxGraphicsFont
,
40886 &_swigt__p_wxGraphicsMatrix
,
40887 &_swigt__p_wxGraphicsObject
,
40888 &_swigt__p_wxGraphicsPath
,
40889 &_swigt__p_wxGraphicsPen
,
40890 &_swigt__p_wxGraphicsRenderer
,
40891 &_swigt__p_wxGridBagSizer
,
40892 &_swigt__p_wxGridSizer
,
40893 &_swigt__p_wxHeaderButtonParams
,
40894 &_swigt__p_wxICOHandler
,
40896 &_swigt__p_wxIconBundle
,
40897 &_swigt__p_wxIconLocation
,
40898 &_swigt__p_wxIconizeEvent
,
40899 &_swigt__p_wxIdleEvent
,
40900 &_swigt__p_wxImage
,
40901 &_swigt__p_wxImageHandler
,
40902 &_swigt__p_wxImageList
,
40903 &_swigt__p_wxIndividualLayoutConstraint
,
40904 &_swigt__p_wxInitDialogEvent
,
40905 &_swigt__p_wxJPEGHandler
,
40906 &_swigt__p_wxKeyEvent
,
40907 &_swigt__p_wxLanguageInfo
,
40908 &_swigt__p_wxLayoutConstraints
,
40909 &_swigt__p_wxLocale
,
40911 &_swigt__p_wxMaximizeEvent
,
40912 &_swigt__p_wxMemoryDC
,
40914 &_swigt__p_wxMenuBar
,
40915 &_swigt__p_wxMenuEvent
,
40916 &_swigt__p_wxMenuItem
,
40917 &_swigt__p_wxMetaFile
,
40918 &_swigt__p_wxMetaFileDC
,
40919 &_swigt__p_wxMirrorDC
,
40920 &_swigt__p_wxMouseCaptureChangedEvent
,
40921 &_swigt__p_wxMouseCaptureLostEvent
,
40922 &_swigt__p_wxMouseEvent
,
40923 &_swigt__p_wxMoveEvent
,
40924 &_swigt__p_wxNativeEncodingInfo
,
40925 &_swigt__p_wxNativeFontInfo
,
40926 &_swigt__p_wxNativePixelData
,
40927 &_swigt__p_wxNativePixelData_Accessor
,
40928 &_swigt__p_wxNavigationKeyEvent
,
40929 &_swigt__p_wxNcPaintEvent
,
40930 &_swigt__p_wxNotifyEvent
,
40931 &_swigt__p_wxObject
,
40932 &_swigt__p_wxOverlay
,
40933 &_swigt__p_wxPCXHandler
,
40934 &_swigt__p_wxPNGHandler
,
40935 &_swigt__p_wxPNMHandler
,
40936 &_swigt__p_wxPaintDC
,
40937 &_swigt__p_wxPaintEvent
,
40938 &_swigt__p_wxPalette
,
40939 &_swigt__p_wxPaletteChangedEvent
,
40940 &_swigt__p_wxPaperSize
,
40942 &_swigt__p_wxPenList
,
40943 &_swigt__p_wxPixelDataBase
,
40944 &_swigt__p_wxPoint
,
40945 &_swigt__p_wxPoint2D
,
40946 &_swigt__p_wxPoint2DDouble
,
40947 &_swigt__p_wxPostScriptDC
,
40948 &_swigt__p_wxPrintData
,
40949 &_swigt__p_wxPrinterDC
,
40950 &_swigt__p_wxPseudoDC
,
40951 &_swigt__p_wxPyApp
,
40952 &_swigt__p_wxPyCommandEvent
,
40953 &_swigt__p_wxPyEvent
,
40954 &_swigt__p_wxPyFontEnumerator
,
40955 &_swigt__p_wxPyImageHandler
,
40956 &_swigt__p_wxPyLocale
,
40957 &_swigt__p_wxPySizer
,
40958 &_swigt__p_wxPyValidator
,
40959 &_swigt__p_wxQueryNewPaletteEvent
,
40961 &_swigt__p_wxRect2DDouble
,
40962 &_swigt__p_wxRegion
,
40963 &_swigt__p_wxRegionIterator
,
40964 &_swigt__p_wxRendererNative
,
40965 &_swigt__p_wxRendererVersion
,
40966 &_swigt__p_wxScreenDC
,
40967 &_swigt__p_wxScrollEvent
,
40968 &_swigt__p_wxScrollWinEvent
,
40969 &_swigt__p_wxSetCursorEvent
,
40970 &_swigt__p_wxShowEvent
,
40972 &_swigt__p_wxSizeEvent
,
40973 &_swigt__p_wxSizer
,
40974 &_swigt__p_wxSizerItem
,
40975 &_swigt__p_wxSplitterRenderParams
,
40976 &_swigt__p_wxStaticBoxSizer
,
40977 &_swigt__p_wxStdDialogButtonSizer
,
40978 &_swigt__p_wxStockGDI
,
40979 &_swigt__p_wxString
,
40980 &_swigt__p_wxSysColourChangedEvent
,
40981 &_swigt__p_wxTGAHandler
,
40982 &_swigt__p_wxTIFFHandler
,
40983 &_swigt__p_wxUpdateUIEvent
,
40984 &_swigt__p_wxValidator
,
40985 &_swigt__p_wxWindow
,
40986 &_swigt__p_wxWindowCreateEvent
,
40987 &_swigt__p_wxWindowDC
,
40988 &_swigt__p_wxWindowDestroyEvent
,
40989 &_swigt__p_wxXPMHandler
,
40992 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40993 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40994 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40995 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40996 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40997 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40998 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40999 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41000 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41001 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41002 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41003 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41004 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41005 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41006 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41007 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}};
41008 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41009 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41010 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}};
41011 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
41012 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41013 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41014 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41015 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}};
41016 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41018 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41019 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41020 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41021 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41022 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41023 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41024 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41025 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41026 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41027 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41028 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41029 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}};
41030 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}};
41031 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41032 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41033 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41034 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41035 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}};
41036 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41037 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41038 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41039 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41046 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}};
41047 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41048 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}};
41049 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41050 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41051 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41052 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41053 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41054 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41065 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41069 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41070 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41133 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}};
41134 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41140 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}};
41141 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41161 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}};
41162 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info
*swig_cast_initial
[] = {
41168 _swigc__p_form_ops_t
,
41170 _swigc__p_unsigned_char
,
41171 _swigc__p_unsigned_int
,
41172 _swigc__p_unsigned_long
,
41174 _swigc__p_wxANIHandler
,
41175 _swigc__p_wxAcceleratorTable
,
41176 _swigc__p_wxActivateEvent
,
41177 _swigc__p_wxAlphaPixelData
,
41178 _swigc__p_wxAlphaPixelData_Accessor
,
41179 _swigc__p_wxAutoBufferedPaintDC
,
41180 _swigc__p_wxBMPHandler
,
41181 _swigc__p_wxBitmap
,
41182 _swigc__p_wxBoxSizer
,
41184 _swigc__p_wxBrushList
,
41185 _swigc__p_wxBufferedDC
,
41186 _swigc__p_wxBufferedPaintDC
,
41187 _swigc__p_wxCURHandler
,
41189 _swigc__p_wxChildFocusEvent
,
41190 _swigc__p_wxClientDC
,
41191 _swigc__p_wxClipboardTextEvent
,
41192 _swigc__p_wxCloseEvent
,
41194 _swigc__p_wxColour
,
41195 _swigc__p_wxColourDatabase
,
41196 _swigc__p_wxCommandEvent
,
41197 _swigc__p_wxContextMenuEvent
,
41198 _swigc__p_wxControl
,
41199 _swigc__p_wxControlWithItems
,
41200 _swigc__p_wxCursor
,
41202 _swigc__p_wxDCBrushChanger
,
41203 _swigc__p_wxDCClipper
,
41204 _swigc__p_wxDCOverlay
,
41205 _swigc__p_wxDCPenChanger
,
41206 _swigc__p_wxDCTextColourChanger
,
41208 _swigc__p_wxDateEvent
,
41209 _swigc__p_wxDisplayChangedEvent
,
41210 _swigc__p_wxDropFilesEvent
,
41211 _swigc__p_wxDuplexMode
,
41212 _swigc__p_wxEffects
,
41213 _swigc__p_wxEncodingConverter
,
41214 _swigc__p_wxEraseEvent
,
41216 _swigc__p_wxEvtHandler
,
41217 _swigc__p_wxFSFile
,
41218 _swigc__p_wxFileSystem
,
41219 _swigc__p_wxFlexGridSizer
,
41220 _swigc__p_wxFocusEvent
,
41222 _swigc__p_wxFontList
,
41223 _swigc__p_wxFontMapper
,
41224 _swigc__p_wxGBSizerItem
,
41226 _swigc__p_wxGDIObjListBase
,
41227 _swigc__p_wxGDIObject
,
41228 _swigc__p_wxGIFHandler
,
41229 _swigc__p_wxGraphicsBrush
,
41230 _swigc__p_wxGraphicsContext
,
41231 _swigc__p_wxGraphicsFont
,
41232 _swigc__p_wxGraphicsMatrix
,
41233 _swigc__p_wxGraphicsObject
,
41234 _swigc__p_wxGraphicsPath
,
41235 _swigc__p_wxGraphicsPen
,
41236 _swigc__p_wxGraphicsRenderer
,
41237 _swigc__p_wxGridBagSizer
,
41238 _swigc__p_wxGridSizer
,
41239 _swigc__p_wxHeaderButtonParams
,
41240 _swigc__p_wxICOHandler
,
41242 _swigc__p_wxIconBundle
,
41243 _swigc__p_wxIconLocation
,
41244 _swigc__p_wxIconizeEvent
,
41245 _swigc__p_wxIdleEvent
,
41247 _swigc__p_wxImageHandler
,
41248 _swigc__p_wxImageList
,
41249 _swigc__p_wxIndividualLayoutConstraint
,
41250 _swigc__p_wxInitDialogEvent
,
41251 _swigc__p_wxJPEGHandler
,
41252 _swigc__p_wxKeyEvent
,
41253 _swigc__p_wxLanguageInfo
,
41254 _swigc__p_wxLayoutConstraints
,
41255 _swigc__p_wxLocale
,
41257 _swigc__p_wxMaximizeEvent
,
41258 _swigc__p_wxMemoryDC
,
41260 _swigc__p_wxMenuBar
,
41261 _swigc__p_wxMenuEvent
,
41262 _swigc__p_wxMenuItem
,
41263 _swigc__p_wxMetaFile
,
41264 _swigc__p_wxMetaFileDC
,
41265 _swigc__p_wxMirrorDC
,
41266 _swigc__p_wxMouseCaptureChangedEvent
,
41267 _swigc__p_wxMouseCaptureLostEvent
,
41268 _swigc__p_wxMouseEvent
,
41269 _swigc__p_wxMoveEvent
,
41270 _swigc__p_wxNativeEncodingInfo
,
41271 _swigc__p_wxNativeFontInfo
,
41272 _swigc__p_wxNativePixelData
,
41273 _swigc__p_wxNativePixelData_Accessor
,
41274 _swigc__p_wxNavigationKeyEvent
,
41275 _swigc__p_wxNcPaintEvent
,
41276 _swigc__p_wxNotifyEvent
,
41277 _swigc__p_wxObject
,
41278 _swigc__p_wxOverlay
,
41279 _swigc__p_wxPCXHandler
,
41280 _swigc__p_wxPNGHandler
,
41281 _swigc__p_wxPNMHandler
,
41282 _swigc__p_wxPaintDC
,
41283 _swigc__p_wxPaintEvent
,
41284 _swigc__p_wxPalette
,
41285 _swigc__p_wxPaletteChangedEvent
,
41286 _swigc__p_wxPaperSize
,
41288 _swigc__p_wxPenList
,
41289 _swigc__p_wxPixelDataBase
,
41291 _swigc__p_wxPoint2D
,
41292 _swigc__p_wxPoint2DDouble
,
41293 _swigc__p_wxPostScriptDC
,
41294 _swigc__p_wxPrintData
,
41295 _swigc__p_wxPrinterDC
,
41296 _swigc__p_wxPseudoDC
,
41298 _swigc__p_wxPyCommandEvent
,
41299 _swigc__p_wxPyEvent
,
41300 _swigc__p_wxPyFontEnumerator
,
41301 _swigc__p_wxPyImageHandler
,
41302 _swigc__p_wxPyLocale
,
41303 _swigc__p_wxPySizer
,
41304 _swigc__p_wxPyValidator
,
41305 _swigc__p_wxQueryNewPaletteEvent
,
41307 _swigc__p_wxRect2DDouble
,
41308 _swigc__p_wxRegion
,
41309 _swigc__p_wxRegionIterator
,
41310 _swigc__p_wxRendererNative
,
41311 _swigc__p_wxRendererVersion
,
41312 _swigc__p_wxScreenDC
,
41313 _swigc__p_wxScrollEvent
,
41314 _swigc__p_wxScrollWinEvent
,
41315 _swigc__p_wxSetCursorEvent
,
41316 _swigc__p_wxShowEvent
,
41318 _swigc__p_wxSizeEvent
,
41320 _swigc__p_wxSizerItem
,
41321 _swigc__p_wxSplitterRenderParams
,
41322 _swigc__p_wxStaticBoxSizer
,
41323 _swigc__p_wxStdDialogButtonSizer
,
41324 _swigc__p_wxStockGDI
,
41325 _swigc__p_wxString
,
41326 _swigc__p_wxSysColourChangedEvent
,
41327 _swigc__p_wxTGAHandler
,
41328 _swigc__p_wxTIFFHandler
,
41329 _swigc__p_wxUpdateUIEvent
,
41330 _swigc__p_wxValidator
,
41331 _swigc__p_wxWindow
,
41332 _swigc__p_wxWindowCreateEvent
,
41333 _swigc__p_wxWindowDC
,
41334 _swigc__p_wxWindowDestroyEvent
,
41335 _swigc__p_wxXPMHandler
,
41339 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41341 static swig_const_info swig_const_table
[] = {
41342 {0, 0, 0, 0.0, 0, 0}};
41347 /* -----------------------------------------------------------------------------
41348 * Type initialization:
41349 * This problem is tough by the requirement that no dynamic
41350 * memory is used. Also, since swig_type_info structures store pointers to
41351 * swig_cast_info structures and swig_cast_info structures store pointers back
41352 * to swig_type_info structures, we need some lookup code at initialization.
41353 * The idea is that swig generates all the structures that are needed.
41354 * The runtime then collects these partially filled structures.
41355 * The SWIG_InitializeModule function takes these initial arrays out of
41356 * swig_module, and does all the lookup, filling in the swig_module.types
41357 * array with the correct data and linking the correct swig_cast_info
41358 * structures together.
41360 * The generated swig_type_info structures are assigned staticly to an initial
41361 * array. We just loop though that array, and handle each type individually.
41362 * First we lookup if this type has been already loaded, and if so, use the
41363 * loaded structure instead of the generated one. Then we have to fill in the
41364 * cast linked list. The cast data is initially stored in something like a
41365 * two-dimensional array. Each row corresponds to a type (there are the same
41366 * number of rows as there are in the swig_type_initial array). Each entry in
41367 * a column is one of the swig_cast_info structures for that type.
41368 * The cast_initial array is actually an array of arrays, because each row has
41369 * a variable number of columns. So to actually build the cast linked list,
41370 * we find the array of casts associated with the type, and loop through it
41371 * adding the casts to the list. The one last trick we need to do is making
41372 * sure the type pointer in the swig_cast_info struct is correct.
41374 * First off, we lookup the cast->type name to see if it is already loaded.
41375 * There are three cases to handle:
41376 * 1) If the cast->type has already been loaded AND the type we are adding
41377 * casting info to has not been loaded (it is in this module), THEN we
41378 * replace the cast->type pointer with the type pointer that has already
41380 * 2) If BOTH types (the one we are adding casting info to, and the
41381 * cast->type) are loaded, THEN the cast info has already been loaded by
41382 * the previous module so we just ignore it.
41383 * 3) Finally, if cast->type has not already been loaded, then we add that
41384 * swig_cast_info to the linked list (because the cast->type) pointer will
41386 * ----------------------------------------------------------------------------- */
41396 #define SWIGRUNTIME_DEBUG
41400 SWIG_InitializeModule(void *clientdata
) {
41402 swig_module_info
*module_head
;
41403 static int init_run
= 0;
41405 clientdata
= clientdata
;
41407 if (init_run
) return;
41410 /* Initialize the swig_module */
41411 swig_module
.type_initial
= swig_type_initial
;
41412 swig_module
.cast_initial
= swig_cast_initial
;
41414 /* Try and load any already created modules */
41415 module_head
= SWIG_GetModule(clientdata
);
41417 swig_module
.next
= module_head
->next
;
41418 module_head
->next
= &swig_module
;
41420 /* This is the first module loaded */
41421 swig_module
.next
= &swig_module
;
41422 SWIG_SetModule(clientdata
, &swig_module
);
41425 /* Now work on filling in swig_module.types */
41426 #ifdef SWIGRUNTIME_DEBUG
41427 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41429 for (i
= 0; i
< swig_module
.size
; ++i
) {
41430 swig_type_info
*type
= 0;
41431 swig_type_info
*ret
;
41432 swig_cast_info
*cast
;
41434 #ifdef SWIGRUNTIME_DEBUG
41435 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41438 /* if there is another module already loaded */
41439 if (swig_module
.next
!= &swig_module
) {
41440 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41443 /* Overwrite clientdata field */
41444 #ifdef SWIGRUNTIME_DEBUG
41445 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41447 if (swig_module
.type_initial
[i
]->clientdata
) {
41448 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41449 #ifdef SWIGRUNTIME_DEBUG
41450 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41454 type
= swig_module
.type_initial
[i
];
41457 /* Insert casting types */
41458 cast
= swig_module
.cast_initial
[i
];
41459 while (cast
->type
) {
41460 /* Don't need to add information already in the list */
41462 #ifdef SWIGRUNTIME_DEBUG
41463 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41465 if (swig_module
.next
!= &swig_module
) {
41466 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41467 #ifdef SWIGRUNTIME_DEBUG
41468 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41472 if (type
== swig_module
.type_initial
[i
]) {
41473 #ifdef SWIGRUNTIME_DEBUG
41474 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41479 /* Check for casting already in the list */
41480 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41481 #ifdef SWIGRUNTIME_DEBUG
41482 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41484 if (!ocast
) ret
= 0;
41489 #ifdef SWIGRUNTIME_DEBUG
41490 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41493 type
->cast
->prev
= cast
;
41494 cast
->next
= type
->cast
;
41500 /* Set entry in modules->types array equal to the type */
41501 swig_module
.types
[i
] = type
;
41503 swig_module
.types
[i
] = 0;
41505 #ifdef SWIGRUNTIME_DEBUG
41506 printf("**** SWIG_InitializeModule: Cast List ******\n");
41507 for (i
= 0; i
< swig_module
.size
; ++i
) {
41509 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41510 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41511 while (cast
->type
) {
41512 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41516 printf("---- Total casts: %d\n",j
);
41518 printf("**** SWIG_InitializeModule: Cast List ******\n");
41522 /* This function will propagate the clientdata field of type to
41523 * any new swig_type_info structures that have been added into the list
41524 * of equivalent types. It is like calling
41525 * SWIG_TypeClientData(type, clientdata) a second time.
41528 SWIG_PropagateClientData(void) {
41530 swig_cast_info
*equiv
;
41531 static int init_run
= 0;
41533 if (init_run
) return;
41536 for (i
= 0; i
< swig_module
.size
; i
++) {
41537 if (swig_module
.types
[i
]->clientdata
) {
41538 equiv
= swig_module
.types
[i
]->cast
;
41540 if (!equiv
->converter
) {
41541 if (equiv
->type
&& !equiv
->type
->clientdata
)
41542 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41544 equiv
= equiv
->next
;
41564 /* Python-specific SWIG API */
41565 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41566 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41567 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41569 /* -----------------------------------------------------------------------------
41570 * global variable support code.
41571 * ----------------------------------------------------------------------------- */
41573 typedef struct swig_globalvar
{
41574 char *name
; /* Name of global variable */
41575 PyObject
*(*get_attr
)(void); /* Return the current value */
41576 int (*set_attr
)(PyObject
*); /* Set the value */
41577 struct swig_globalvar
*next
;
41580 typedef struct swig_varlinkobject
{
41582 swig_globalvar
*vars
;
41583 } swig_varlinkobject
;
41585 SWIGINTERN PyObject
*
41586 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41587 return PyString_FromString("<Swig global variables>");
41590 SWIGINTERN PyObject
*
41591 swig_varlink_str(swig_varlinkobject
*v
) {
41592 PyObject
*str
= PyString_FromString("(");
41593 swig_globalvar
*var
;
41594 for (var
= v
->vars
; var
; var
=var
->next
) {
41595 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41596 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41598 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41603 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41604 PyObject
*str
= swig_varlink_str(v
);
41605 fprintf(fp
,"Swig global variables ");
41606 fprintf(fp
,"%s\n", PyString_AsString(str
));
41612 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41613 swig_globalvar
*var
= v
->vars
;
41615 swig_globalvar
*n
= var
->next
;
41622 SWIGINTERN PyObject
*
41623 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41624 PyObject
*res
= NULL
;
41625 swig_globalvar
*var
= v
->vars
;
41627 if (strcmp(var
->name
,n
) == 0) {
41628 res
= (*var
->get_attr
)();
41633 if (res
== NULL
&& !PyErr_Occurred()) {
41634 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41640 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41642 swig_globalvar
*var
= v
->vars
;
41644 if (strcmp(var
->name
,n
) == 0) {
41645 res
= (*var
->set_attr
)(p
);
41650 if (res
== 1 && !PyErr_Occurred()) {
41651 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41656 SWIGINTERN PyTypeObject
*
41657 swig_varlink_type(void) {
41658 static char varlink__doc__
[] = "Swig var link object";
41659 static PyTypeObject varlink_type
;
41660 static int type_init
= 0;
41662 const PyTypeObject tmp
41664 PyObject_HEAD_INIT(NULL
)
41665 0, /* Number of items in variable part (ob_size) */
41666 (char *)"swigvarlink", /* Type name (tp_name) */
41667 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41668 0, /* Itemsize (tp_itemsize) */
41669 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41670 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41671 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41672 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41673 0, /* tp_compare */
41674 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41675 0, /* tp_as_number */
41676 0, /* tp_as_sequence */
41677 0, /* tp_as_mapping */
41680 (reprfunc
)swig_varlink_str
, /* tp_str */
41681 0, /* tp_getattro */
41682 0, /* tp_setattro */
41683 0, /* tp_as_buffer */
41685 varlink__doc__
, /* tp_doc */
41686 0, /* tp_traverse */
41688 0, /* tp_richcompare */
41689 0, /* tp_weaklistoffset */
41690 #if PY_VERSION_HEX >= 0x02020000
41691 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41693 #if PY_VERSION_HEX >= 0x02030000
41696 #ifdef COUNT_ALLOCS
41697 0,0,0,0 /* tp_alloc -> tp_next */
41700 varlink_type
= tmp
;
41701 varlink_type
.ob_type
= &PyType_Type
;
41704 return &varlink_type
;
41707 /* Create a variable linking object for use later */
41708 SWIGINTERN PyObject
*
41709 SWIG_Python_newvarlink(void) {
41710 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41714 return ((PyObject
*) result
);
41718 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41719 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41720 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41722 size_t size
= strlen(name
)+1;
41723 gv
->name
= (char *)malloc(size
);
41725 strncpy(gv
->name
,name
,size
);
41726 gv
->get_attr
= get_attr
;
41727 gv
->set_attr
= set_attr
;
41728 gv
->next
= v
->vars
;
41734 SWIGINTERN PyObject
*
41736 static PyObject
*_SWIG_globals
= 0;
41737 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41738 return _SWIG_globals
;
41741 /* -----------------------------------------------------------------------------
41742 * constants/methods manipulation
41743 * ----------------------------------------------------------------------------- */
41745 /* Install Constants */
41747 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41750 for (i
= 0; constants
[i
].type
; ++i
) {
41751 switch(constants
[i
].type
) {
41752 case SWIG_PY_POINTER
:
41753 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41755 case SWIG_PY_BINARY
:
41756 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41763 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41769 /* -----------------------------------------------------------------------------*/
41770 /* Fix SwigMethods to carry the callback ptrs when needed */
41771 /* -----------------------------------------------------------------------------*/
41774 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41775 swig_const_info
*const_table
,
41776 swig_type_info
**types
,
41777 swig_type_info
**types_initial
) {
41779 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41780 const char *c
= methods
[i
].ml_doc
;
41781 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41783 swig_const_info
*ci
= 0;
41784 const char *name
= c
+ 10;
41785 for (j
= 0; const_table
[j
].type
; ++j
) {
41786 if (strncmp(const_table
[j
].name
, name
,
41787 strlen(const_table
[j
].name
)) == 0) {
41788 ci
= &(const_table
[j
]);
41793 size_t shift
= (ci
->ptype
) - types
;
41794 swig_type_info
*ty
= types_initial
[shift
];
41795 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41796 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41797 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41800 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41802 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41804 strncpy(buff
, "swig_ptr: ", 10);
41806 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41807 methods
[i
].ml_doc
= ndoc
;
41819 /* -----------------------------------------------------------------------------*
41820 * Partial Init method
41821 * -----------------------------------------------------------------------------*/
41826 SWIGEXPORT
void SWIG_init(void) {
41829 /* Fix SwigMethods to carry the callback ptrs when needed */
41830 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41832 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41833 d
= PyModule_GetDict(m
);
41835 SWIG_InitializeModule(0);
41836 SWIG_InstallConstants(d
,swig_const_table
);
41839 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41840 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41841 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41842 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41843 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41844 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41845 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41846 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41847 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41848 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41849 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41850 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41851 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41852 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41853 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41854 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41855 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41856 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41857 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41858 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41859 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41860 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41861 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41862 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41863 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41864 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41865 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41866 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41867 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41868 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41869 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41870 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41871 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41872 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41873 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41874 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41875 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41876 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41877 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41878 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41879 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41880 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41881 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41882 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41883 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41884 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41885 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41886 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41887 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41888 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41889 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41890 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41891 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41892 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41893 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41894 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41895 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41896 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41897 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41898 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41899 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41900 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41901 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41902 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41903 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41904 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41905 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41906 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41907 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41908 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41909 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41910 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41911 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41912 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41913 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41914 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41915 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41916 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41917 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41918 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41919 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41920 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41921 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41932 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41933 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41934 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41935 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41936 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41937 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41938 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41939 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41940 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41941 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41942 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41943 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41944 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41950 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41951 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41952 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41953 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41954 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41955 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41956 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41957 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41958 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41959 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41960 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41961 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41962 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41963 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41964 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41965 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41966 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41967 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41968 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41969 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41970 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41972 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41974 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41975 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41976 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41977 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41978 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41979 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41980 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41981 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41982 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41983 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41984 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41985 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41986 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41987 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41988 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41989 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41990 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41991 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41992 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41993 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41994 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42027 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42028 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42029 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42030 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42031 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42032 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42033 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42034 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42035 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42036 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42037 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42038 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42039 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42040 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42041 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42042 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42043 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42044 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42045 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42046 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42047 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42048 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42049 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42050 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42051 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42052 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42053 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42054 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42055 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42056 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42057 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42058 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42059 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42060 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42061 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42062 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42063 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42064 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42065 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42066 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42067 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42068 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42069 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42070 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42071 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42072 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42073 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42074 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42075 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42076 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42077 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42078 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42079 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42080 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42081 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42082 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42083 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42084 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42085 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42086 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42087 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42088 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42089 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42090 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42091 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42092 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42093 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42094 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42095 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42096 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42097 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42098 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42099 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42100 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42101 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42102 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42103 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42104 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42105 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42106 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42107 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42108 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42109 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42110 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42111 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42112 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42113 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42114 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42115 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42116 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42117 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42118 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42119 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42120 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42121 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42122 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42123 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42124 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42125 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42126 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42127 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42128 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42129 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42130 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42131 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42132 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42133 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42134 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42135 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42136 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42137 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42138 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42139 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42140 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42141 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42142 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42143 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42144 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42145 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42146 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42147 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42148 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42149 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42150 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42151 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42152 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42153 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42154 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42155 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42156 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42157 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42158 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42205 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42206 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42207 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42208 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42209 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42210 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42211 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42212 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42213 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42214 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42215 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42216 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42217 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42218 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42219 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42220 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42221 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42222 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42223 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42224 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42225 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42226 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42227 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42228 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42229 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42230 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42231 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42232 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42233 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42234 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42235 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42236 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42237 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42238 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42239 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42240 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42241 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42242 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42243 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42244 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42245 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42246 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42247 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42248 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42249 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42250 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42251 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42252 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42253 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42254 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42255 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42256 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42257 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42258 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42259 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42260 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42261 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42262 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42263 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42264 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42265 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42266 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42267 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42268 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42269 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42270 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42271 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42272 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42273 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42274 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42275 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42276 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42277 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42278 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42279 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42280 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42281 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42282 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42283 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42284 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42285 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42286 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42287 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42288 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42289 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42290 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42291 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42292 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42293 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42294 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42295 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42296 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42297 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42299 // Work around a chicken/egg problem in drawlist.cpp
42300 wxPyDrawList_SetAPIPtr();