1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2982 wxSize
size(self
->GetWidth(), self
->GetHeight());
2985 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2986 wxMask
*mask
= new wxMask(*self
, colour
);
2987 self
->SetMask(mask
);
2989 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2990 self
->SetWidth(size
.x
);
2991 self
->SetHeight(size
.y
);
2993 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2994 int height
=self
->GetHeight();
2995 int width
=self
->GetWidth();
2997 if (DATASIZE
!= width
* height
* 3) {
2998 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3000 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3002 // raise an exception...
3003 wxPyErr_SetString(PyExc_RuntimeError
,
3004 "Failed to gain raw access to bitmap data.");
3008 wxNativePixelData::Iterator
p(pixData
);
3009 for (int y
=0; y
<height
; y
++) {
3010 wxNativePixelData::Iterator rowStart
= p
;
3011 for (int x
=0; x
<width
; x
++) {
3012 p
.Red() = *(data
++);
3013 p
.Green() = *(data
++);
3014 p
.Blue() = *(data
++);
3018 p
.OffsetY(pixData
, 1);
3021 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3022 int height
=self
->GetHeight();
3023 int width
=self
->GetWidth();
3025 if (DATASIZE
!= width
* height
* 4) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3037 wxAlphaPixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxAlphaPixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = wxPy_premultiply(*(data
++), a
);
3043 p
.Green() = wxPy_premultiply(*(data
++), a
);
3044 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3045 p
.Alpha() = a
; data
++;
3049 p
.OffsetY(pixData
, 1);
3052 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3053 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3055 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3056 buffer data
, int DATASIZE
,
3057 buffer alpha
, int ALPHASIZE
)
3059 if (DATASIZE
!= width
*height
*3) {
3060 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3064 if (ALPHASIZE
!= width
*height
) {
3065 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3069 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3070 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3072 // raise an exception...
3073 wxPyErr_SetString(PyExc_RuntimeError
,
3074 "Failed to gain raw access to bitmap data.");
3079 wxAlphaPixelData::Iterator
p(pixData
);
3080 for (int y
=0; y
<height
; y
++) {
3081 wxAlphaPixelData::Iterator rowStart
= p
;
3082 for (int x
=0; x
<width
; x
++) {
3083 byte a
= *(alpha
++);
3084 p
.Red() = wxPy_premultiply(*(data
++), a
);
3085 p
.Green() = wxPy_premultiply(*(data
++), a
);
3086 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3091 p
.OffsetY(pixData
, 1);
3096 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3098 if (DATASIZE
!= width
*height
*3) {
3099 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3103 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3104 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3106 // raise an exception...
3107 wxPyErr_SetString(PyExc_RuntimeError
,
3108 "Failed to gain raw access to bitmap data.");
3112 wxNativePixelData::Iterator
p(pixData
);
3113 for (int y
=0; y
<height
; y
++) {
3114 wxNativePixelData::Iterator rowStart
= p
;
3115 for (int x
=0; x
<width
; x
++) {
3116 p
.Red() = *(data
++);
3117 p
.Green() = *(data
++);
3118 p
.Blue() = *(data
++);
3122 p
.OffsetY(pixData
, 1);
3128 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3130 if (DATASIZE
!= width
*height
*4) {
3131 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3135 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3136 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3138 // raise an exception...
3139 wxPyErr_SetString(PyExc_RuntimeError
,
3140 "Failed to gain raw access to bitmap data.");
3145 wxAlphaPixelData::Iterator
p(pixData
);
3146 for (int y
=0; y
<height
; y
++) {
3147 wxAlphaPixelData::Iterator rowStart
= p
;
3148 for (int x
=0; x
<width
; x
++) {
3150 p
.Red() = wxPy_premultiply(*(data
++), a
);
3151 p
.Green() = wxPy_premultiply(*(data
++), a
);
3152 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3153 p
.Alpha() = a
; data
++;
3157 p
.OffsetY(pixData
, 1);
3163 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3165 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3167 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3169 self
->Green() = green
;
3170 self
->Blue() = blue
;
3172 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3173 PyObject
* rv
= PyTuple_New(3);
3174 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3175 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3176 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3180 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3182 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3184 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3185 self
->Red() = wxPy_premultiply(red
, alpha
);
3186 self
->Green() = wxPy_premultiply(green
, alpha
);
3187 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3188 self
->Alpha() = alpha
;
3190 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3191 PyObject
* rv
= PyTuple_New(4);
3192 int red
= self
->Red();
3193 int green
= self
->Green();
3194 int blue
= self
->Blue();
3195 int alpha
= self
->Alpha();
3197 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3198 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3199 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3200 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3203 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3204 if ( !colour
.IsOk() )
3205 return new wxMask(bitmap
, *wxBLACK
);
3207 return new wxMask(bitmap
, colour
);
3210 #include <wx/iconbndl.h>
3212 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3213 wxIcon
* icon
= new wxIcon();
3214 icon
->CopyFromBitmap(bmp
);
3217 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3218 char** cArray
= NULL
;
3221 cArray
= ConvertListOfStrings(listOfStrings
);
3224 icon
= new wxIcon(cArray
);
3228 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3229 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
, num
);
3236 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3238 self
->SetIndex(num
);
3243 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3245 return self
->GetIndex();
3250 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3252 wxImage
img(cursorName
, type
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3254 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3255 return new wxCursor(img
);
3257 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3263 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3266 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3267 return self
->operator bool();
3270 #include <wx/fontutil.h>
3271 #include <wx/fontmap.h>
3272 #include <wx/fontenum.h>
3274 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3275 return self
->ToString();
3278 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3279 { wxPyRaiseNotImplemented(); return NULL
; }
3281 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3282 { wxPyRaiseNotImplemented(); return false; }
3285 SWIGINTERNINLINE PyObject
*
3286 SWIG_From_size_t (size_t value
)
3288 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3292 SWIGINTERNINLINE
int
3293 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3296 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3297 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3301 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3302 wxFontEncoding alt_enc
;
3303 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3304 return PyInt_FromLong(alt_enc
);
3310 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3311 wxNativeFontInfo nfi
;
3312 nfi
.FromString(info
);
3313 return new wxFont(nfi
);
3315 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3318 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3319 return wxFontBase::New(pixelSize
, family
,
3320 style
, weight
, underlined
,
3323 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3324 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3326 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3327 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3329 class wxPyFontEnumerator
: public wxFontEnumerator
{
3331 wxPyFontEnumerator() {}
3332 ~wxPyFontEnumerator() {}
3334 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3335 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3340 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3341 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3344 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3346 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 ret
= wxArrayString2PyList_helper(arr
);
3349 wxPyEndBlockThreads(blocked
);
3352 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3354 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 ret
= wxArrayString2PyList_helper(arr
);
3357 wxPyEndBlockThreads(blocked
);
3363 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3366 loc
= new wxLocale();
3368 loc
= new wxLocale(language
, flags
);
3369 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3370 // for the floating point conversions and such to work right.
3371 #if PY_VERSION_HEX < 0x02040000
3372 setlocale(LC_NUMERIC
, "C");
3376 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3377 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3378 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3379 // for the floating point conversions and such to work right.
3380 #if PY_VERSION_HEX < 0x02040000
3381 setlocale(LC_NUMERIC
, "C");
3385 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 bool rc
= self
->Init(language
, flags
);
3387 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3388 // for the floating point conversions and such to work right.
3389 #if PY_VERSION_HEX < 0x02040000
3390 setlocale(LC_NUMERIC
, "C");
3395 class wxPyLocale
: public wxLocale
3400 wxPyLocale(const wxChar
*szName
, // name (for messages)
3401 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3402 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3403 bool bLoadDefault
= true, // preload wxstd.mo?
3404 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3406 wxPyLocale(int language
, // wxLanguage id or custom language
3407 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szDomain
= NULL
) const;
3413 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3418 const wxChar
*szDomain
= NULL
) const;
3419 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
= NULL
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3433 const wxChar
*szShort
, // dir prefix (for msg files)
3434 const wxChar
*szLocale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3451 const wxChar
*szDomain
) const
3453 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3454 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3457 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3458 const wxChar
*szOrigString2
, size_t n
,
3459 const wxChar
*szDomain
) const
3461 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3465 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3466 const wxChar
*szDomain
) const
3469 static wxString str
;
3470 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(szOrigString
);
3474 PyObject
* param2
= wx2PyString(szDomain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? (wxChar
*)str
.c_str() : NULL
);
3487 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3488 const wxChar
*szOrigString2
, size_t n
,
3489 const wxChar
*szDomain
) const
3492 static wxString str
;
3493 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3494 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3495 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3496 PyObject
* param1
= wx2PyString(szOrigString
);
3497 PyObject
* param2
= wx2PyString(szOrigString2
);
3498 PyObject
* param4
= wx2PyString(szDomain
);
3499 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? (wxChar
*)str
.c_str() : NULL
);
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 #include <wx/metafile.h>
3612 #include <wx/graphics.h>
3615 #if !wxUSE_GRAPHICS_CONTEXT
3616 // C++ stub classes for platforms or build configurations that don't have
3617 // wxGraphicsContext yet.
3620 class wxGraphicsObject
: public wxObject
3623 wxGraphicsObject( wxGraphicsRenderer
* ) {
3624 PyErr_SetString(PyExc_NotImplementedError
,
3625 "wx.GraphicsObject is not available on this platform.");
3627 wxGraphicsObject( const wxGraphicsObject
& ) {}
3628 virtual ~wxGraphicsObject() {}
3629 bool IsNull() const { return false; }
3630 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3635 class wxGraphicsPen
: public wxGraphicsObject
3638 virtual ~wxGraphicsPen() {}
3640 wxGraphicsPen wxNullGraphicsPen
;
3644 class wxGraphicsBrush
: public wxGraphicsObject
3647 wxGraphicsBrush() {}
3648 virtual ~wxGraphicsBrush() {}
3650 wxGraphicsBrush wxNullGraphicsBrush
;
3654 class wxGraphicsFont
: public wxGraphicsObject
3658 virtual ~wxGraphicsFont() {}
3660 wxGraphicsFont wxNullGraphicsFont
;
3664 class wxGraphicsPath
: public wxGraphicsObject
3667 wxGraphicsPath(wxGraphicsRenderer
* ) {
3668 PyErr_SetString(PyExc_NotImplementedError
,
3669 "wx.GraphicsPath is not available on this platform.");
3671 virtual ~wxGraphicsPath() {}
3673 void MoveToPoint( wxDouble
, wxDouble
) {}
3674 void MoveToPoint( const wxPoint2DDouble
& ) {}
3675 void AddLineToPoint( wxDouble
, wxDouble
) {}
3676 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3677 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3678 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3679 void AddPath( const wxGraphicsPath
* ) {}
3680 void CloseSubpath() {}
3681 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3682 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3683 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3684 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3686 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3687 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3688 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3689 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void * GetNativePath() const { return NULL
; }
3694 void UnGetNativePath(void *) {}
3695 void Transform( wxGraphicsMatrix
* ) {}
3696 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3697 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3699 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3700 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3702 wxGraphicsPath wxNullGraphicsPath
;
3705 class wxGraphicsMatrix
: public wxGraphicsObject
3708 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3709 PyErr_SetString(PyExc_NotImplementedError
,
3710 "wx.GraphicsMatrix is not available on this platform.");
3712 virtual ~wxGraphicsMatrix() {}
3713 virtual void Concat( const wxGraphicsMatrix
* ) {}
3714 virtual void Copy( const wxGraphicsMatrix
* ) {}
3715 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3716 wxDouble
, wxDouble
) {}
3717 virtual void Invert() {}
3718 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3719 virtual bool IsIdentity() { return false; }
3720 virtual void Translate( wxDouble
, wxDouble
) {}
3721 virtual void Scale( wxDouble
, wxDouble
) {}
3722 virtual void Rotate( wxDouble
) {}
3723 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3724 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3725 virtual void * GetNativeMatrix() const { return NULL
; }
3727 wxGraphicsMatrix wxNullGraphicsMatrix
;
3730 class wxGraphicsContext
: public wxGraphicsObject
3734 wxGraphicsContext(wxGraphicsRenderer
* ) {
3735 PyErr_SetString(PyExc_NotImplementedError
,
3736 "wx.GraphicsContext is not available on this platform.");
3739 virtual ~wxGraphicsContext() {}
3741 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 static wxGraphicsContext
* CreateFromNative( void * ) {
3747 PyErr_SetString(PyExc_NotImplementedError
,
3748 "wx.GraphicsContext is not available on this platform.");
3751 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 static wxGraphicsContext
* Create( wxWindow
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 wxGraphicsPath
* CreatePath() { return NULL
; }
3763 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3765 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3767 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3768 const wxColour
&, const wxColour
&) { return NULL
; }
3770 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3771 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3772 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3774 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3776 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3777 wxDouble
, wxDouble
) { return NULL
; }
3779 virtual void PushState() {}
3780 virtual void PopState() {}
3781 virtual void Clip( const wxRegion
& ) {}
3782 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3783 virtual void ResetClip() {}
3784 virtual void * GetNativeContext() { return NULL
; }
3785 virtual void Translate( wxDouble
, wxDouble
) {}
3786 virtual void Scale( wxDouble
, wxDouble
) {}
3787 virtual void Rotate( wxDouble
) {}
3788 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3789 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3790 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3792 virtual void SetPen( const wxGraphicsPen
& ) {}
3793 void SetPen( const wxPen
& ) {}
3795 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3796 void SetBrush( const wxBrush
& ) {}
3798 virtual void SetFont( const wxGraphicsFont
& ) {}
3799 void SetFont( const wxFont
&, const wxColour
& ) {}
3801 virtual void StrokePath( const wxGraphicsPath
* ) {}
3802 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3803 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3805 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3806 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3807 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3808 wxDouble
*, wxDouble
* ) const {}
3809 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3811 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3812 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3814 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3815 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3816 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3817 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3818 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3819 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3821 virtual bool ShouldOffset() const { return false; }
3825 class wxGraphicsRenderer
: public wxObject
3828 wxGraphicsRenderer() {
3829 PyErr_SetString(PyExc_NotImplementedError
,
3830 "wx.GraphicsRenderer is not available on this platform.");
3833 virtual ~wxGraphicsRenderer() {}
3835 static wxGraphicsRenderer
* GetDefaultRenderer(
3836 PyErr_SetString(PyExc_NotImplementedError
,
3837 "wx.GraphicsRenderer is not available on this platform.");
3840 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3841 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3842 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3843 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3845 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3847 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3848 wxDouble
, wxDouble
) { return NULL
; }
3850 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3851 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3852 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3853 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3854 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3855 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3856 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3861 class wxGCDC
: public wxWindowDC
3864 wxGCDC(const wxWindowDC
&) {
3865 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3866 PyErr_SetString(PyExc_NotImplementedError
,
3867 "wxGCDC is not available on this platform.");
3868 wxPyEndBlockThreads(blocked
);
3872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wxGCDC is not available on this platform.");
3875 wxPyEndBlockThreads(blocked
);
3878 virtual ~wxGCDC() {}
3880 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3881 void SetGraphicsContext( wxGraphicsContext
* ) {}
3886 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3887 if ( !backgroundBrush
.IsNull() )
3888 self
->DrawText(str
, x
, y
, backgroundBrush
);
3890 self
->DrawText(str
, x
, y
);
3892 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3893 if ( !backgroundBrush
.IsNull() )
3894 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3896 self
->DrawText(str
, x
, y
, angle
);
3898 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3899 wxDouble width
= 0.0,
3901 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3902 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3903 PyObject
* rv
= PyTuple_New(2);
3904 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3905 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3908 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3909 wxArrayDouble widths
;
3910 self
->GetPartialTextExtents(text
, widths
);
3913 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3914 size_t c1
, c2
, count
;
3915 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3916 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3918 if ( beginP
!= NULL
&& endP
!= NULL
)
3920 count
= wxMin(c1
, c2
);
3921 self
->StrokeLines(count
, beginP
, endP
);
3927 #include "wx/dcgraph.h"
3930 #include <wx/overlay.h>
3934 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3935 self
->AddColour(name
, wxColour(red
, green
, blue
));
3938 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3939 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3940 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3941 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3944 #include <wx/effects.h>
3947 #include "wx/renderer.h"
3950 SWIGINTERNINLINE PyObject
*
3951 SWIG_From_bool (bool value
)
3953 return PyBool_FromLong(value
? 1 : 0);
3957 #include "wx/wxPython/pseudodc.h"
3959 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3961 self
->GetIdBounds(id
, rect
);
3967 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3968 PyObject
*resultobj
= 0;
3969 wxGDIObject
*result
= 0 ;
3971 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3973 if (!wxPyCheckForApp()) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (wxGDIObject
*)new wxGDIObject();
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3986 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3987 PyObject
*resultobj
= 0;
3988 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3991 PyObject
*swig_obj
[1] ;
3993 if (!args
) SWIG_fail
;
3995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3996 if (!SWIG_IsOK(res1
)) {
3997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3999 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_Py_Void();
4014 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4028 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (bool)(arg1
)->IsNull();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4044 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4047 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4048 return SWIG_Py_Void();
4051 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4052 return SWIG_Python_InitShadowInstance(args
);
4055 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
= 0;
4057 byte arg1
= (byte
) 0 ;
4058 byte arg2
= (byte
) 0 ;
4059 byte arg3
= (byte
) 0 ;
4060 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4061 wxColour
*result
= 0 ;
4062 unsigned char val1
;
4064 unsigned char val2
;
4066 unsigned char val3
;
4068 unsigned char val4
;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4072 PyObject
* obj2
= 0 ;
4073 PyObject
* obj3
= 0 ;
4074 char * kwnames
[] = {
4075 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4080 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4081 if (!SWIG_IsOK(ecode1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4084 arg1
= static_cast< byte
>(val1
);
4087 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4088 if (!SWIG_IsOK(ecode2
)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4091 arg2
= static_cast< byte
>(val2
);
4094 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4095 if (!SWIG_IsOK(ecode3
)) {
4096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4098 arg3
= static_cast< byte
>(val3
);
4101 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4102 if (!SWIG_IsOK(ecode4
)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4105 arg4
= static_cast< byte
>(val4
);
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4120 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxString
*arg1
= 0 ;
4123 wxColour
*result
= 0 ;
4124 bool temp1
= false ;
4125 PyObject
* obj0
= 0 ;
4126 char * kwnames
[] = {
4127 (char *) "colorName", NULL
4130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4132 arg1
= wxString_in_helper(obj0
);
4133 if (arg1
== NULL
) SWIG_fail
;
4137 if (!wxPyCheckForApp()) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4158 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
= 0;
4160 unsigned long arg1
;
4161 wxColour
*result
= 0 ;
4162 unsigned long val1
;
4164 PyObject
* obj0
= 0 ;
4165 char * kwnames
[] = {
4166 (char *) "colRGB", NULL
4169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4170 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4171 if (!SWIG_IsOK(ecode1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4174 arg1
= static_cast< unsigned long >(val1
);
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (wxColour
*)new wxColour(arg1
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4188 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4189 PyObject
*resultobj
= 0;
4190 wxColour
*arg1
= (wxColour
*) 0 ;
4193 PyObject
*swig_obj
[1] ;
4195 if (!args
) SWIG_fail
;
4197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4198 if (!SWIG_IsOK(res1
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4201 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_Py_Void();
4216 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4217 PyObject
*resultobj
= 0;
4218 wxColour
*arg1
= (wxColour
*) 0 ;
4222 PyObject
*swig_obj
[1] ;
4224 if (!args
) SWIG_fail
;
4226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4227 if (!SWIG_IsOK(res1
)) {
4228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4230 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (byte
)(arg1
)->Red();
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4244 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4245 PyObject
*resultobj
= 0;
4246 wxColour
*arg1
= (wxColour
*) 0 ;
4250 PyObject
*swig_obj
[1] ;
4252 if (!args
) SWIG_fail
;
4254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4255 if (!SWIG_IsOK(res1
)) {
4256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4258 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (byte
)(arg1
)->Green();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4272 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4273 PyObject
*resultobj
= 0;
4274 wxColour
*arg1
= (wxColour
*) 0 ;
4278 PyObject
*swig_obj
[1] ;
4280 if (!args
) SWIG_fail
;
4282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4283 if (!SWIG_IsOK(res1
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4286 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (byte
)(arg1
)->Blue();
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4300 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4301 PyObject
*resultobj
= 0;
4302 wxColour
*arg1
= (wxColour
*) 0 ;
4306 PyObject
*swig_obj
[1] ;
4308 if (!args
) SWIG_fail
;
4310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4311 if (!SWIG_IsOK(res1
)) {
4312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4314 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (byte
)(arg1
)->Alpha();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4328 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4329 PyObject
*resultobj
= 0;
4330 wxColour
*arg1
= (wxColour
*) 0 ;
4334 PyObject
*swig_obj
[1] ;
4336 if (!args
) SWIG_fail
;
4338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4339 if (!SWIG_IsOK(res1
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4342 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (bool)(arg1
)->IsOk();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4358 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
= 0;
4360 wxColour
*arg1
= (wxColour
*) 0 ;
4364 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4367 unsigned char val2
;
4369 unsigned char val3
;
4371 unsigned char val4
;
4373 unsigned char val5
;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4377 PyObject
* obj2
= 0 ;
4378 PyObject
* obj3
= 0 ;
4379 PyObject
* obj4
= 0 ;
4380 char * kwnames
[] = {
4381 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4386 if (!SWIG_IsOK(res1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4389 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4390 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4391 if (!SWIG_IsOK(ecode2
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4394 arg2
= static_cast< byte
>(val2
);
4395 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4396 if (!SWIG_IsOK(ecode3
)) {
4397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4399 arg3
= static_cast< byte
>(val3
);
4400 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4401 if (!SWIG_IsOK(ecode4
)) {
4402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4404 arg4
= static_cast< byte
>(val4
);
4406 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4407 if (!SWIG_IsOK(ecode5
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4410 arg5
= static_cast< byte
>(val5
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_Py_Void();
4425 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
= 0;
4427 wxColour
*arg1
= (wxColour
*) 0 ;
4428 unsigned long arg2
;
4431 unsigned long val2
;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4435 char * kwnames
[] = {
4436 (char *) "self",(char *) "colRGB", NULL
4439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4444 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4445 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4446 if (!SWIG_IsOK(ecode2
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4449 arg2
= static_cast< unsigned long >(val2
);
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_Py_Void();
4463 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
= 0;
4465 wxColour
*arg1
= (wxColour
*) 0 ;
4466 wxString
*arg2
= 0 ;
4469 bool temp2
= false ;
4470 PyObject
* obj0
= 0 ;
4471 PyObject
* obj1
= 0 ;
4472 char * kwnames
[] = {
4473 (char *) "self",(char *) "colourName", NULL
4476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4478 if (!SWIG_IsOK(res1
)) {
4479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4481 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4483 arg2
= wxString_in_helper(obj1
);
4484 if (arg2
== NULL
) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 (arg1
)->Set((wxString
const &)*arg2
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_Py_Void();
4508 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
= 0;
4510 wxColour
*arg1
= (wxColour
*) 0 ;
4511 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 char * kwnames
[] = {
4520 (char *) "self",(char *) "flags", NULL
4523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4525 if (!SWIG_IsOK(res1
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4528 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4530 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4531 if (!SWIG_IsOK(ecode2
)) {
4532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4534 arg2
= static_cast< long >(val2
);
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4555 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4556 PyObject
*resultobj
= 0;
4557 wxColour
*arg1
= (wxColour
*) 0 ;
4561 PyObject
*swig_obj
[1] ;
4563 if (!args
) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4569 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_From_long(static_cast< long >(result
));
4583 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
= 0;
4585 wxColour
*arg1
= (wxColour
*) 0 ;
4586 PyObject
*arg2
= (PyObject
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4592 char * kwnames
[] = {
4593 (char *) "self",(char *) "other", NULL
4596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4601 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4604 result
= (bool)wxColour___eq__(arg1
,arg2
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4616 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
= 0;
4618 wxColour
*arg1
= (wxColour
*) 0 ;
4619 PyObject
*arg2
= (PyObject
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4624 PyObject
* obj1
= 0 ;
4625 char * kwnames
[] = {
4626 (char *) "self",(char *) "other", NULL
4629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4631 if (!SWIG_IsOK(res1
)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4634 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4637 result
= (bool)wxColour___ne__(arg1
,arg2
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4649 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
= 0;
4651 wxColour
*arg1
= (wxColour
*) 0 ;
4652 bool arg2
= (bool) false ;
4653 PyObject
*result
= 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4660 char * kwnames
[] = {
4661 (char *) "self",(char *) "includeAlpha", NULL
4664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4666 if (!SWIG_IsOK(res1
)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4669 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4671 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4672 if (!SWIG_IsOK(ecode2
)) {
4673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4675 arg2
= static_cast< bool >(val2
);
4678 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4688 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4689 PyObject
*resultobj
= 0;
4690 wxColour
*arg1
= (wxColour
*) 0 ;
4691 unsigned long result
;
4694 PyObject
*swig_obj
[1] ;
4696 if (!args
) SWIG_fail
;
4698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4699 if (!SWIG_IsOK(res1
)) {
4700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4702 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4704 result
= (unsigned long)wxColour_GetRGB(arg1
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4714 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4717 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4718 return SWIG_Py_Void();
4721 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4722 return SWIG_Python_InitShadowInstance(args
);
4725 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
= 0;
4728 unsigned char *arg2
= (unsigned char *) 0 ;
4729 unsigned char *arg3
= (unsigned char *) 0 ;
4730 unsigned char *arg4
= (unsigned char *) 0 ;
4731 wxPalette
*result
= 0 ;
4740 PyObject
* obj0
= 0 ;
4741 PyObject
* obj1
= 0 ;
4742 PyObject
* obj2
= 0 ;
4743 PyObject
* obj3
= 0 ;
4744 char * kwnames
[] = {
4745 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4749 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4750 if (!SWIG_IsOK(ecode1
)) {
4751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4753 arg1
= static_cast< int >(val1
);
4754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4755 if (!SWIG_IsOK(res2
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4758 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4759 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4760 if (!SWIG_IsOK(res3
)) {
4761 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4763 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4764 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4765 if (!SWIG_IsOK(res4
)) {
4766 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4768 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4770 if (!wxPyCheckForApp()) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4783 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4784 PyObject
*resultobj
= 0;
4785 wxPalette
*arg1
= (wxPalette
*) 0 ;
4788 PyObject
*swig_obj
[1] ;
4790 if (!args
) SWIG_fail
;
4792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4793 if (!SWIG_IsOK(res1
)) {
4794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4796 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_Py_Void();
4811 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
= 0;
4813 wxPalette
*arg1
= (wxPalette
*) 0 ;
4820 unsigned char val2
;
4822 unsigned char val3
;
4824 unsigned char val4
;
4826 PyObject
* obj0
= 0 ;
4827 PyObject
* obj1
= 0 ;
4828 PyObject
* obj2
= 0 ;
4829 PyObject
* obj3
= 0 ;
4830 char * kwnames
[] = {
4831 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4836 if (!SWIG_IsOK(res1
)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4839 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4840 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4841 if (!SWIG_IsOK(ecode2
)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4844 arg2
= static_cast< byte
>(val2
);
4845 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4846 if (!SWIG_IsOK(ecode3
)) {
4847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4849 arg3
= static_cast< byte
>(val3
);
4850 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4851 if (!SWIG_IsOK(ecode4
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4854 arg4
= static_cast< byte
>(val4
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_From_int(static_cast< int >(result
));
4868 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
= 0;
4870 wxPalette
*arg1
= (wxPalette
*) 0 ;
4872 byte
*arg3
= (byte
*) 0 ;
4873 byte
*arg4
= (byte
*) 0 ;
4874 byte
*arg5
= (byte
*) 0 ;
4881 int res3
= SWIG_TMPOBJ
;
4883 int res4
= SWIG_TMPOBJ
;
4885 int res5
= SWIG_TMPOBJ
;
4886 PyObject
* obj0
= 0 ;
4887 PyObject
* obj1
= 0 ;
4888 char * kwnames
[] = {
4889 (char *) "self",(char *) "pixel", NULL
4895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4897 if (!SWIG_IsOK(res1
)) {
4898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4900 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4902 if (!SWIG_IsOK(ecode2
)) {
4903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4905 arg2
= static_cast< int >(val2
);
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4915 if (SWIG_IsTmpObj(res3
)) {
4916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4921 if (SWIG_IsTmpObj(res4
)) {
4922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4924 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4927 if (SWIG_IsTmpObj(res5
)) {
4928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4930 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4939 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4940 PyObject
*resultobj
= 0;
4941 wxPalette
*arg1
= (wxPalette
*) 0 ;
4945 PyObject
*swig_obj
[1] ;
4947 if (!args
) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4953 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_From_int(static_cast< int >(result
));
4967 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4968 PyObject
*resultobj
= 0;
4969 wxPalette
*arg1
= (wxPalette
*) 0 ;
4973 PyObject
*swig_obj
[1] ;
4975 if (!args
) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4981 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (bool)(arg1
)->IsOk();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4997 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5000 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5001 return SWIG_Py_Void();
5004 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5005 return SWIG_Python_InitShadowInstance(args
);
5008 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
= 0;
5010 wxColour
*arg1
= 0 ;
5011 int arg2
= (int) 1 ;
5012 int arg3
= (int) wxSOLID
;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 PyObject
* obj2
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "colour",(char *) "width",(char *) "style", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5029 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5033 if (!SWIG_IsOK(ecode2
)) {
5034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5036 arg2
= static_cast< int >(val2
);
5039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5040 if (!SWIG_IsOK(ecode3
)) {
5041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5043 arg3
= static_cast< int >(val3
);
5046 if (!wxPyCheckForApp()) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5059 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 PyObject
*resultobj
= 0;
5061 wxPen
*arg1
= (wxPen
*) 0 ;
5064 PyObject
*swig_obj
[1] ;
5066 if (!args
) SWIG_fail
;
5068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5069 if (!SWIG_IsOK(res1
)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5072 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_Py_Void();
5087 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5088 PyObject
*resultobj
= 0;
5089 wxPen
*arg1
= (wxPen
*) 0 ;
5093 PyObject
*swig_obj
[1] ;
5095 if (!args
) SWIG_fail
;
5097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5098 if (!SWIG_IsOK(res1
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5101 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (int)(arg1
)->GetCap();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_From_int(static_cast< int >(result
));
5115 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 PyObject
*resultobj
= 0;
5117 wxPen
*arg1
= (wxPen
*) 0 ;
5121 PyObject
*swig_obj
[1] ;
5123 if (!args
) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5129 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (arg1
)->GetColour();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5143 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5144 PyObject
*resultobj
= 0;
5145 wxPen
*arg1
= (wxPen
*) 0 ;
5149 PyObject
*swig_obj
[1] ;
5151 if (!args
) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5157 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (int)(arg1
)->GetJoin();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_From_int(static_cast< int >(result
));
5171 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5172 PyObject
*resultobj
= 0;
5173 wxPen
*arg1
= (wxPen
*) 0 ;
5177 PyObject
*swig_obj
[1] ;
5179 if (!args
) SWIG_fail
;
5181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5182 if (!SWIG_IsOK(res1
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5185 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= (int)(arg1
)->GetStyle();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_From_int(static_cast< int >(result
));
5199 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5200 PyObject
*resultobj
= 0;
5201 wxPen
*arg1
= (wxPen
*) 0 ;
5205 PyObject
*swig_obj
[1] ;
5207 if (!args
) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5213 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= (int)(arg1
)->GetWidth();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= SWIG_From_int(static_cast< int >(result
));
5227 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 PyObject
*resultobj
= 0;
5229 wxPen
*arg1
= (wxPen
*) 0 ;
5233 PyObject
*swig_obj
[1] ;
5235 if (!args
) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5241 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (bool)(arg1
)->IsOk();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5257 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
= 0;
5259 wxPen
*arg1
= (wxPen
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5267 char * kwnames
[] = {
5268 (char *) "self",(char *) "cap_style", NULL
5271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5273 if (!SWIG_IsOK(res1
)) {
5274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5276 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5278 if (!SWIG_IsOK(ecode2
)) {
5279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5281 arg2
= static_cast< int >(val2
);
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 (arg1
)->SetCap(arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_Py_Void();
5295 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
= 0;
5297 wxPen
*arg1
= (wxPen
*) 0 ;
5298 wxColour
*arg2
= 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5304 char * kwnames
[] = {
5305 (char *) "self",(char *) "colour", NULL
5308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5310 if (!SWIG_IsOK(res1
)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5313 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5316 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 (arg1
)->SetColour(*arg2
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_Py_Void();
5331 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
= 0;
5333 wxPen
*arg1
= (wxPen
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5341 char * kwnames
[] = {
5342 (char *) "self",(char *) "join_style", NULL
5345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5347 if (!SWIG_IsOK(res1
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5350 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5352 if (!SWIG_IsOK(ecode2
)) {
5353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5355 arg2
= static_cast< int >(val2
);
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->SetJoin(arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= SWIG_Py_Void();
5369 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
= 0;
5371 wxPen
*arg1
= (wxPen
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5379 char * kwnames
[] = {
5380 (char *) "self",(char *) "style", NULL
5383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5385 if (!SWIG_IsOK(res1
)) {
5386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5388 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5390 if (!SWIG_IsOK(ecode2
)) {
5391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5393 arg2
= static_cast< int >(val2
);
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 (arg1
)->SetStyle(arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_Py_Void();
5407 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
= 0;
5409 wxPen
*arg1
= (wxPen
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5417 char * kwnames
[] = {
5418 (char *) "self",(char *) "width", NULL
5421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5423 if (!SWIG_IsOK(res1
)) {
5424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5426 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5428 if (!SWIG_IsOK(ecode2
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5431 arg2
= static_cast< int >(val2
);
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->SetWidth(arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_Py_Void();
5445 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxPen
*arg1
= (wxPen
*) 0 ;
5449 wxDash
*arg3
= (wxDash
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 char * kwnames
[] = {
5455 (char *) "self",(char *) "dashes", NULL
5458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5460 if (!SWIG_IsOK(res1
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5463 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5465 arg2
= PyList_Size(obj1
);
5466 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5467 if (arg3
== NULL
) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 (arg1
)->SetDashes(arg2
,arg3
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= SWIG_Py_Void();
5477 if (arg3
) delete [] arg3
;
5482 if (arg3
) delete [] arg3
;
5488 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5489 PyObject
*resultobj
= 0;
5490 wxPen
*arg1
= (wxPen
*) 0 ;
5491 PyObject
*result
= 0 ;
5494 PyObject
*swig_obj
[1] ;
5496 if (!args
) SWIG_fail
;
5498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5499 if (!SWIG_IsOK(res1
)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5502 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5516 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
= 0;
5518 wxPen
*arg1
= (wxPen
*) 0 ;
5519 PyObject
*arg2
= (PyObject
*) 0 ;
5520 PyObject
*arg3
= (PyObject
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5525 PyObject
* obj2
= 0 ;
5526 char * kwnames
[] = {
5527 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5532 if (!SWIG_IsOK(res1
)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5535 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 wxPen__SetDashes(arg1
,arg2
,arg3
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_Py_Void();
5551 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5552 PyObject
*resultobj
= 0;
5553 wxPen
*arg1
= (wxPen
*) 0 ;
5557 PyObject
*swig_obj
[1] ;
5559 if (!args
) SWIG_fail
;
5561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5562 if (!SWIG_IsOK(res1
)) {
5563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5565 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_From_int(static_cast< int >(result
));
5579 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5580 PyObject
*resultobj
= 0;
5581 wxPen
*arg1
= (wxPen
*) 0 ;
5582 wxBitmap
*result
= 0 ;
5585 PyObject
*swig_obj
[1] ;
5587 if (!args
) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5593 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (wxBitmap
*)(arg1
)->GetStipple();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5607 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
= 0;
5609 wxPen
*arg1
= (wxPen
*) 0 ;
5610 wxBitmap
*arg2
= 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 char * kwnames
[] = {
5618 (char *) "self",(char *) "stipple", NULL
5621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5623 if (!SWIG_IsOK(res1
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5626 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5628 if (!SWIG_IsOK(res2
)) {
5629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5634 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->SetStipple(*arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_Py_Void();
5648 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
= 0;
5650 wxPen
*arg1
= (wxPen
*) 0 ;
5651 wxPen
*arg2
= (wxPen
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5659 char * kwnames
[] = {
5660 (char *) "self",(char *) "other", NULL
5663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5665 if (!SWIG_IsOK(res1
)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5668 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5670 if (!SWIG_IsOK(res2
)) {
5671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5673 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5689 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
= 0;
5691 wxPen
*arg1
= (wxPen
*) 0 ;
5692 wxPen
*arg2
= (wxPen
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "other", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5709 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5714 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5730 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5733 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5734 return SWIG_Py_Void();
5737 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 return SWIG_Python_InitShadowInstance(args
);
5741 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
= 0;
5743 wxColour
*arg1
= 0 ;
5744 int arg2
= (int) wxSOLID
;
5745 wxBrush
*result
= 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 char * kwnames
[] = {
5752 (char *) "colour",(char *) "style", NULL
5755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5758 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5762 if (!SWIG_IsOK(ecode2
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5765 arg2
= static_cast< int >(val2
);
5768 if (!wxPyCheckForApp()) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5781 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
= 0;
5783 wxBitmap
*arg1
= 0 ;
5784 wxBrush
*result
= 0 ;
5787 PyObject
* obj0
= 0 ;
5788 char * kwnames
[] = {
5789 (char *) "stippleBitmap", NULL
5792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5793 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5794 if (!SWIG_IsOK(res1
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5802 if (!wxPyCheckForApp()) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5815 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5816 PyObject
*resultobj
= 0;
5817 wxBrush
*arg1
= (wxBrush
*) 0 ;
5820 PyObject
*swig_obj
[1] ;
5822 if (!args
) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5828 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= SWIG_Py_Void();
5843 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
= 0;
5845 wxBrush
*arg1
= (wxBrush
*) 0 ;
5846 wxColour
*arg2
= 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 char * kwnames
[] = {
5853 (char *) "self",(char *) "col", NULL
5856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5858 if (!SWIG_IsOK(res1
)) {
5859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5861 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5864 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 (arg1
)->SetColour((wxColour
const &)*arg2
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= SWIG_Py_Void();
5879 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
= 0;
5881 wxBrush
*arg1
= (wxBrush
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 char * kwnames
[] = {
5890 (char *) "self",(char *) "style", NULL
5893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5895 if (!SWIG_IsOK(res1
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5898 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5900 if (!SWIG_IsOK(ecode2
)) {
5901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5903 arg2
= static_cast< int >(val2
);
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->SetStyle(arg2
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= SWIG_Py_Void();
5917 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
= 0;
5919 wxBrush
*arg1
= (wxBrush
*) 0 ;
5920 wxBitmap
*arg2
= 0 ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5927 char * kwnames
[] = {
5928 (char *) "self",(char *) "stipple", NULL
5931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5936 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5938 if (!SWIG_IsOK(res2
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5944 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_Py_Void();
5958 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 PyObject
*resultobj
= 0;
5960 wxBrush
*arg1
= (wxBrush
*) 0 ;
5964 PyObject
*swig_obj
[1] ;
5966 if (!args
) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5972 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= ((wxBrush
const *)arg1
)->GetColour();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5986 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5987 PyObject
*resultobj
= 0;
5988 wxBrush
*arg1
= (wxBrush
*) 0 ;
5992 PyObject
*swig_obj
[1] ;
5994 if (!args
) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6000 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= SWIG_From_int(static_cast< int >(result
));
6014 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6015 PyObject
*resultobj
= 0;
6016 wxBrush
*arg1
= (wxBrush
*) 0 ;
6017 wxBitmap
*result
= 0 ;
6020 PyObject
*swig_obj
[1] ;
6022 if (!args
) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6028 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6042 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6043 PyObject
*resultobj
= 0;
6044 wxBrush
*arg1
= (wxBrush
*) 0 ;
6048 PyObject
*swig_obj
[1] ;
6050 if (!args
) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6056 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6072 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6073 PyObject
*resultobj
= 0;
6074 wxBrush
*arg1
= (wxBrush
*) 0 ;
6078 PyObject
*swig_obj
[1] ;
6080 if (!args
) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6086 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)(arg1
)->IsOk();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6102 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6105 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6106 return SWIG_Py_Void();
6109 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6110 return SWIG_Python_InitShadowInstance(args
);
6113 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
= 0;
6115 wxString
*arg1
= 0 ;
6116 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6117 wxBitmap
*result
= 0 ;
6118 bool temp1
= false ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 char * kwnames
[] = {
6124 (char *) "name",(char *) "type", NULL
6127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6129 arg1
= wxString_in_helper(obj0
);
6130 if (arg1
== NULL
) SWIG_fail
;
6134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6135 if (!SWIG_IsOK(ecode2
)) {
6136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6138 arg2
= static_cast< wxBitmapType
>(val2
);
6141 if (!wxPyCheckForApp()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6162 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6167 PyObject
*swig_obj
[1] ;
6169 if (!args
) SWIG_fail
;
6171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6172 if (!SWIG_IsOK(res1
)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6175 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= 0;
6192 int arg3
= (int) -1 ;
6193 wxBitmap
*result
= 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6202 PyObject
* obj2
= 0 ;
6203 char * kwnames
[] = {
6204 (char *) "width",(char *) "height",(char *) "depth", NULL
6207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6209 if (!SWIG_IsOK(ecode1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6212 arg1
= static_cast< int >(val1
);
6213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6214 if (!SWIG_IsOK(ecode2
)) {
6215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6217 arg2
= static_cast< int >(val2
);
6219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6220 if (!SWIG_IsOK(ecode3
)) {
6221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6223 arg3
= static_cast< int >(val3
);
6226 if (!wxPyCheckForApp()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6239 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
= 0;
6242 wxBitmap
*result
= 0 ;
6245 PyObject
* obj0
= 0 ;
6246 char * kwnames
[] = {
6247 (char *) "icon", NULL
6250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6251 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6252 if (!SWIG_IsOK(res1
)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6258 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6260 if (!wxPyCheckForApp()) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6273 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= 0;
6276 int arg2
= (int) -1 ;
6277 wxBitmap
*result
= 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 char * kwnames
[] = {
6285 (char *) "image",(char *) "depth", NULL
6288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6289 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6290 if (!SWIG_IsOK(res1
)) {
6291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6296 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6299 if (!SWIG_IsOK(ecode2
)) {
6300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6302 arg2
= static_cast< int >(val2
);
6305 if (!wxPyCheckForApp()) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6318 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= 0;
6320 PyObject
*arg1
= (PyObject
*) 0 ;
6321 wxBitmap
*result
= 0 ;
6322 PyObject
* obj0
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "listOfStrings", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6330 if (!wxPyCheckForApp()) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6343 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
= 0;
6345 PyObject
*arg1
= (PyObject
*) 0 ;
6348 int arg4
= (int) 1 ;
6349 wxBitmap
*result
= 0 ;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6358 PyObject
* obj2
= 0 ;
6359 PyObject
* obj3
= 0 ;
6360 char * kwnames
[] = {
6361 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6367 if (!SWIG_IsOK(ecode2
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6370 arg2
= static_cast< int >(val2
);
6371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6372 if (!SWIG_IsOK(ecode3
)) {
6373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6375 arg3
= static_cast< int >(val3
);
6377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6378 if (!SWIG_IsOK(ecode4
)) {
6379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6381 arg4
= static_cast< int >(val4
);
6384 if (!wxPyCheckForApp()) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6397 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6398 PyObject
*resultobj
= 0;
6399 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6403 PyObject
*swig_obj
[1] ;
6405 if (!args
) SWIG_fail
;
6407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6408 if (!SWIG_IsOK(res1
)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6411 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6413 result
= (long)(arg1
)->GetHandle();
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_From_long(static_cast< long >(result
));
6423 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
= 0;
6425 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6433 char * kwnames
[] = {
6434 (char *) "self",(char *) "handle", NULL
6437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6443 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6444 if (!SWIG_IsOK(ecode2
)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6447 arg2
= static_cast< long >(val2
);
6449 wxBitmap_SetHandle(arg1
,arg2
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_Py_Void();
6459 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 result
= (bool)(arg1
)->IsOk();
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6493 PyObject
*swig_obj
[1] ;
6495 if (!args
) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6501 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6503 result
= (int)(arg1
)->GetWidth();
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_int(static_cast< int >(result
));
6513 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6514 PyObject
*resultobj
= 0;
6515 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6519 PyObject
*swig_obj
[1] ;
6521 if (!args
) SWIG_fail
;
6523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6524 if (!SWIG_IsOK(res1
)) {
6525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6527 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6529 result
= (int)(arg1
)->GetHeight();
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= SWIG_From_int(static_cast< int >(result
));
6539 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6540 PyObject
*resultobj
= 0;
6541 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6545 PyObject
*swig_obj
[1] ;
6547 if (!args
) SWIG_fail
;
6549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6550 if (!SWIG_IsOK(res1
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6553 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6555 result
= (int)(arg1
)->GetDepth();
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_From_int(static_cast< int >(result
));
6565 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6566 PyObject
*resultobj
= 0;
6567 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6571 PyObject
*swig_obj
[1] ;
6573 if (!args
) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6579 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 result
= wxBitmap_GetSize(arg1
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6591 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6592 PyObject
*resultobj
= 0;
6593 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6594 SwigValueWrapper
<wxImage
> result
;
6597 PyObject
*swig_obj
[1] ;
6599 if (!args
) SWIG_fail
;
6601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6602 if (!SWIG_IsOK(res1
)) {
6603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6605 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6607 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6617 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6618 PyObject
*resultobj
= 0;
6619 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6620 wxMask
*result
= 0 ;
6623 PyObject
*swig_obj
[1] ;
6625 if (!args
) SWIG_fail
;
6627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6628 if (!SWIG_IsOK(res1
)) {
6629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6631 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6633 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6643 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6646 wxMask
*arg2
= (wxMask
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6652 char * kwnames
[] = {
6653 (char *) "self",(char *) "mask", NULL
6656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6658 if (!SWIG_IsOK(res1
)) {
6659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6661 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6662 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6663 if (!SWIG_IsOK(res2
)) {
6664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6667 (arg1
)->SetMask(arg2
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_Py_Void();
6677 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
= 0;
6679 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6680 wxColour
*arg2
= 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "colour", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6695 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6701 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_Py_Void();
6711 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6715 SwigValueWrapper
<wxBitmap
> result
;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 char * kwnames
[] = {
6722 (char *) "self",(char *) "rect", NULL
6725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6727 if (!SWIG_IsOK(res1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6733 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6736 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6746 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
= 0;
6748 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6749 wxString
*arg2
= 0 ;
6751 wxPalette
*arg4
= (wxPalette
*) NULL
;
6755 bool temp2
= false ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 char * kwnames
[] = {
6765 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6770 if (!SWIG_IsOK(res1
)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6773 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6775 arg2
= wxString_in_helper(obj1
);
6776 if (arg2
== NULL
) SWIG_fail
;
6779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6780 if (!SWIG_IsOK(ecode3
)) {
6781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6783 arg3
= static_cast< wxBitmapType
>(val3
);
6785 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6786 if (!SWIG_IsOK(res4
)) {
6787 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6789 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6792 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6812 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6815 wxString
*arg2
= 0 ;
6820 bool temp2
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 char * kwnames
[] = {
6827 (char *) "self",(char *) "name",(char *) "type", NULL
6830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6835 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6837 arg2
= wxString_in_helper(obj1
);
6838 if (arg2
== NULL
) SWIG_fail
;
6841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6842 if (!SWIG_IsOK(ecode3
)) {
6843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6845 arg3
= static_cast< wxBitmapType
>(val3
);
6847 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6867 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6868 PyObject
*resultobj
= 0;
6869 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6870 wxPalette
*result
= 0 ;
6873 PyObject
*swig_obj
[1] ;
6875 if (!args
) SWIG_fail
;
6877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6878 if (!SWIG_IsOK(res1
)) {
6879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6881 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6883 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6893 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= 0;
6895 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6896 wxPalette
*arg2
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 char * kwnames
[] = {
6904 (char *) "self",(char *) "palette", NULL
6907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6914 if (!SWIG_IsOK(res2
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6920 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6922 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 char * kwnames
[] = {
6944 (char *) "self",(char *) "icon", NULL
6947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6949 if (!SWIG_IsOK(res1
)) {
6950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6952 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6954 if (!SWIG_IsOK(res2
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6960 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6962 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6974 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6976 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 char * kwnames
[] = {
6985 (char *) "self",(char *) "height", NULL
6988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6993 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6995 if (!SWIG_IsOK(ecode2
)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6998 arg2
= static_cast< int >(val2
);
7000 (arg1
)->SetHeight(arg2
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7010 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
= 0;
7012 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 char * kwnames
[] = {
7021 (char *) "self",(char *) "width", NULL
7024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7029 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7031 if (!SWIG_IsOK(ecode2
)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7034 arg2
= static_cast< int >(val2
);
7036 (arg1
)->SetWidth(arg2
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_Py_Void();
7046 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 char * kwnames
[] = {
7057 (char *) "self",(char *) "depth", NULL
7060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7065 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7067 if (!SWIG_IsOK(ecode2
)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7070 arg2
= static_cast< int >(val2
);
7072 (arg1
)->SetDepth(arg2
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_Py_Void();
7082 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7084 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 char * kwnames
[] = {
7092 (char *) "self",(char *) "size", NULL
7095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7100 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7106 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_Py_Void();
7116 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7118 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7119 wxCursor
*arg2
= 0 ;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7127 char * kwnames
[] = {
7128 (char *) "self",(char *) "cursor", NULL
7131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7136 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7138 if (!SWIG_IsOK(res2
)) {
7139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7144 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7146 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7158 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
= 0;
7160 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7168 char * kwnames
[] = {
7169 (char *) "self",(char *) "data", NULL
7172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7174 if (!SWIG_IsOK(res1
)) {
7175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7177 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7179 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7183 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_Py_Void();
7193 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
= 0;
7195 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7202 PyObject
* obj1
= 0 ;
7203 char * kwnames
[] = {
7204 (char *) "self",(char *) "data", NULL
7207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7214 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7218 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_Py_Void();
7228 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
= 0;
7230 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7231 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 char * kwnames
[] = {
7240 (char *) "self",(char *) "other", NULL
7243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7245 if (!SWIG_IsOK(res1
)) {
7246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7250 if (!SWIG_IsOK(res2
)) {
7251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7253 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7255 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7267 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
= 0;
7269 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7270 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 char * kwnames
[] = {
7279 (char *) "self",(char *) "other", NULL
7282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7284 if (!SWIG_IsOK(res1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7287 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7289 if (!SWIG_IsOK(res2
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7292 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7294 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7306 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7309 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7310 return SWIG_Py_Void();
7313 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 return SWIG_Python_InitShadowInstance(args
);
7317 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
= 0;
7325 wxBitmap
*result
= 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7334 PyObject
* obj2
= 0 ;
7335 PyObject
* obj3
= 0 ;
7336 char * kwnames
[] = {
7337 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7342 if (!SWIG_IsOK(ecode1
)) {
7343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7345 arg1
= static_cast< int >(val1
);
7346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7347 if (!SWIG_IsOK(ecode2
)) {
7348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7350 arg2
= static_cast< int >(val2
);
7352 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7356 if (obj3
!= Py_None
) {
7357 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7362 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7372 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
= 0;
7378 wxBitmap
*result
= 0 ;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 PyObject
* obj2
= 0 ;
7387 char * kwnames
[] = {
7388 (char *) "width",(char *) "height",(char *) "data", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7392 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7393 if (!SWIG_IsOK(ecode1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7396 arg1
= static_cast< int >(val1
);
7397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7398 if (!SWIG_IsOK(ecode2
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7401 arg2
= static_cast< int >(val2
);
7403 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7407 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7417 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
= 0;
7423 wxBitmap
*result
= 0 ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7431 PyObject
* obj2
= 0 ;
7432 char * kwnames
[] = {
7433 (char *) "width",(char *) "height",(char *) "data", NULL
7436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7438 if (!SWIG_IsOK(ecode1
)) {
7439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7441 arg1
= static_cast< int >(val1
);
7442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7443 if (!SWIG_IsOK(ecode2
)) {
7444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7446 arg2
= static_cast< int >(val2
);
7448 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7452 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7462 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7463 PyObject
*resultobj
= 0;
7464 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7468 PyObject
*swig_obj
[1] ;
7470 if (!args
) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7476 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7478 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7488 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7489 PyObject
*resultobj
= 0;
7490 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7494 PyObject
*swig_obj
[1] ;
7496 if (!args
) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7502 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7504 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_From_int(static_cast< int >(result
));
7514 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7515 PyObject
*resultobj
= 0;
7516 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7520 PyObject
*swig_obj
[1] ;
7522 if (!args
) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7528 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7530 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_From_int(static_cast< int >(result
));
7540 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7541 PyObject
*resultobj
= 0;
7542 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7546 PyObject
*swig_obj
[1] ;
7548 if (!args
) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7554 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7556 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7566 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7567 PyObject
*resultobj
= 0;
7568 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7572 PyObject
*swig_obj
[1] ;
7574 if (!args
) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7580 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7582 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_From_int(static_cast< int >(result
));
7592 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7594 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7595 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7596 return SWIG_Py_Void();
7599 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7600 PyObject
*resultobj
= 0;
7601 wxBitmap
*arg1
= 0 ;
7602 wxNativePixelData
*result
= 0 ;
7606 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7614 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7616 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7626 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7627 PyObject
*resultobj
= 0;
7628 wxBitmap
*arg1
= 0 ;
7630 wxNativePixelData
*result
= 0 ;
7635 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7643 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7646 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7649 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7659 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7660 PyObject
*resultobj
= 0;
7661 wxBitmap
*arg1
= 0 ;
7664 wxNativePixelData
*result
= 0 ;
7670 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7672 if (!SWIG_IsOK(res1
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7678 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7681 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7685 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7688 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7698 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7702 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7705 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7708 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7711 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7715 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7720 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7721 PyObject
*resultobj
= 0;
7722 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7725 PyObject
*swig_obj
[1] ;
7727 if (!args
) SWIG_fail
;
7729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7730 if (!SWIG_IsOK(res1
)) {
7731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7733 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7747 PyObject
*resultobj
= 0;
7748 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7749 wxNativePixelData_Accessor result
;
7752 PyObject
*swig_obj
[1] ;
7754 if (!args
) SWIG_fail
;
7756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7757 if (!SWIG_IsOK(res1
)) {
7758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7760 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7762 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7772 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7773 PyObject
*resultobj
= 0;
7774 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7777 PyObject
*swig_obj
[1] ;
7779 if (!args
) SWIG_fail
;
7781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7782 if (!SWIG_IsOK(res1
)) {
7783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7785 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_Py_Void();
7797 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7798 PyObject
*resultobj
= 0;
7799 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7803 PyObject
*swig_obj
[1] ;
7805 if (!args
) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7811 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7813 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7825 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7828 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7829 return SWIG_Py_Void();
7832 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7833 return SWIG_Python_InitShadowInstance(args
);
7836 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7837 PyObject
*resultobj
= 0;
7838 wxNativePixelData
*arg1
= 0 ;
7839 wxNativePixelData_Accessor
*result
= 0 ;
7843 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7845 if (!SWIG_IsOK(res1
)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7851 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7853 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7863 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7864 PyObject
*resultobj
= 0;
7865 wxBitmap
*arg1
= 0 ;
7866 wxNativePixelData
*arg2
= 0 ;
7867 wxNativePixelData_Accessor
*result
= 0 ;
7873 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7881 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7882 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7883 if (!SWIG_IsOK(res2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7889 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7891 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7901 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7902 PyObject
*resultobj
= 0;
7903 wxNativePixelData_Accessor
*result
= 0 ;
7905 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7907 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7917 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7921 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7924 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7927 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7930 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7934 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7939 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7940 PyObject
*resultobj
= 0;
7941 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7944 PyObject
*swig_obj
[1] ;
7946 if (!args
) SWIG_fail
;
7948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7949 if (!SWIG_IsOK(res1
)) {
7950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7952 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= SWIG_Py_Void();
7965 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
= 0;
7967 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7968 wxNativePixelData
*arg2
= 0 ;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7975 char * kwnames
[] = {
7976 (char *) "self",(char *) "data", NULL
7979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7984 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7986 if (!SWIG_IsOK(res2
)) {
7987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7992 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7994 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_Py_Void();
8004 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8006 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8010 PyObject
*swig_obj
[1] ;
8012 if (!args
) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8018 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8020 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8032 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8037 PyObject
*swig_obj
[1] ;
8039 if (!args
) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8045 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8047 wxNativePixelData_Accessor_nextPixel(arg1
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_Py_Void();
8057 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
= 0;
8059 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8060 wxNativePixelData
*arg2
= 0 ;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj1
= 0 ;
8073 PyObject
* obj2
= 0 ;
8074 PyObject
* obj3
= 0 ;
8075 char * kwnames
[] = {
8076 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8081 if (!SWIG_IsOK(res1
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8084 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8086 if (!SWIG_IsOK(res2
)) {
8087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8092 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8094 if (!SWIG_IsOK(ecode3
)) {
8095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8097 arg3
= static_cast< int >(val3
);
8098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8099 if (!SWIG_IsOK(ecode4
)) {
8100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8102 arg4
= static_cast< int >(val4
);
8104 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_Py_Void();
8114 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
= 0;
8116 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8117 wxNativePixelData
*arg2
= 0 ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8127 PyObject
* obj2
= 0 ;
8128 char * kwnames
[] = {
8129 (char *) "self",(char *) "data",(char *) "x", NULL
8132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8134 if (!SWIG_IsOK(res1
)) {
8135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8137 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8139 if (!SWIG_IsOK(res2
)) {
8140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8145 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8147 if (!SWIG_IsOK(ecode3
)) {
8148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8150 arg3
= static_cast< int >(val3
);
8152 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_Py_Void();
8162 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
= 0;
8164 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8165 wxNativePixelData
*arg2
= 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 PyObject
* obj2
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "self",(char *) "data",(char *) "y", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8185 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8187 if (!SWIG_IsOK(res2
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8193 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8195 if (!SWIG_IsOK(ecode3
)) {
8196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8198 arg3
= static_cast< int >(val3
);
8200 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_Py_Void();
8210 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= 0;
8212 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8213 wxNativePixelData
*arg2
= 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 PyObject
* obj2
= 0 ;
8227 PyObject
* obj3
= 0 ;
8228 char * kwnames
[] = {
8229 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8237 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8239 if (!SWIG_IsOK(res2
)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8245 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8247 if (!SWIG_IsOK(ecode3
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8250 arg3
= static_cast< int >(val3
);
8251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8252 if (!SWIG_IsOK(ecode4
)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8255 arg4
= static_cast< int >(val4
);
8257 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= SWIG_Py_Void();
8267 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
= 0;
8269 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8275 unsigned char val2
;
8277 unsigned char val3
;
8279 unsigned char val4
;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8283 PyObject
* obj2
= 0 ;
8284 PyObject
* obj3
= 0 ;
8285 char * kwnames
[] = {
8286 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8291 if (!SWIG_IsOK(res1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8294 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8295 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8296 if (!SWIG_IsOK(ecode2
)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8299 arg2
= static_cast< byte
>(val2
);
8300 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8301 if (!SWIG_IsOK(ecode3
)) {
8302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8304 arg3
= static_cast< byte
>(val3
);
8305 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8306 if (!SWIG_IsOK(ecode4
)) {
8307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8309 arg4
= static_cast< byte
>(val4
);
8311 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= SWIG_Py_Void();
8321 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8322 PyObject
*resultobj
= 0;
8323 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8324 PyObject
*result
= 0 ;
8327 PyObject
*swig_obj
[1] ;
8329 if (!args
) SWIG_fail
;
8331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8332 if (!SWIG_IsOK(res1
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8335 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8337 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8347 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8350 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8351 return SWIG_Py_Void();
8354 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8355 return SWIG_Python_InitShadowInstance(args
);
8358 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8359 PyObject
*resultobj
= 0;
8360 wxBitmap
*arg1
= 0 ;
8361 wxAlphaPixelData
*result
= 0 ;
8365 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8375 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8385 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8386 PyObject
*resultobj
= 0;
8387 wxBitmap
*arg1
= 0 ;
8389 wxAlphaPixelData
*result
= 0 ;
8394 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8396 if (!SWIG_IsOK(res1
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8405 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8408 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8418 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8419 PyObject
*resultobj
= 0;
8420 wxBitmap
*arg1
= 0 ;
8423 wxAlphaPixelData
*result
= 0 ;
8429 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8437 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8440 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8444 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8447 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8457 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8461 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8464 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8467 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8470 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8474 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8479 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8480 PyObject
*resultobj
= 0;
8481 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8484 PyObject
*swig_obj
[1] ;
8486 if (!args
) SWIG_fail
;
8488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8489 if (!SWIG_IsOK(res1
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8492 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_Py_Void();
8505 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8506 PyObject
*resultobj
= 0;
8507 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8508 wxAlphaPixelData_Accessor result
;
8511 PyObject
*swig_obj
[1] ;
8513 if (!args
) SWIG_fail
;
8515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8516 if (!SWIG_IsOK(res1
)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8519 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8521 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8531 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8532 PyObject
*resultobj
= 0;
8533 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8536 PyObject
*swig_obj
[1] ;
8538 if (!args
) SWIG_fail
;
8540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8541 if (!SWIG_IsOK(res1
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8544 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_Py_Void();
8556 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8557 PyObject
*resultobj
= 0;
8558 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8562 PyObject
*swig_obj
[1] ;
8564 if (!args
) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8570 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8572 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8584 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8587 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8588 return SWIG_Py_Void();
8591 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8592 return SWIG_Python_InitShadowInstance(args
);
8595 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8596 PyObject
*resultobj
= 0;
8597 wxAlphaPixelData
*arg1
= 0 ;
8598 wxAlphaPixelData_Accessor
*result
= 0 ;
8602 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8604 if (!SWIG_IsOK(res1
)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8610 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8612 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8622 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8623 PyObject
*resultobj
= 0;
8624 wxBitmap
*arg1
= 0 ;
8625 wxAlphaPixelData
*arg2
= 0 ;
8626 wxAlphaPixelData_Accessor
*result
= 0 ;
8632 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8640 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8641 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8642 if (!SWIG_IsOK(res2
)) {
8643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8648 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8650 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8660 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8661 PyObject
*resultobj
= 0;
8662 wxAlphaPixelData_Accessor
*result
= 0 ;
8664 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8666 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8676 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8680 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8683 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8686 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8689 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8693 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8698 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8699 PyObject
*resultobj
= 0;
8700 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8703 PyObject
*swig_obj
[1] ;
8705 if (!args
) SWIG_fail
;
8707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8708 if (!SWIG_IsOK(res1
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8711 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_Py_Void();
8724 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8727 wxAlphaPixelData
*arg2
= 0 ;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 char * kwnames
[] = {
8735 (char *) "self",(char *) "data", NULL
8738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8740 if (!SWIG_IsOK(res1
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8743 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8745 if (!SWIG_IsOK(res2
)) {
8746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8751 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8753 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_Py_Void();
8763 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8764 PyObject
*resultobj
= 0;
8765 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8769 PyObject
*swig_obj
[1] ;
8771 if (!args
) SWIG_fail
;
8773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8774 if (!SWIG_IsOK(res1
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8777 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8779 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8791 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 PyObject
*resultobj
= 0;
8793 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8796 PyObject
*swig_obj
[1] ;
8798 if (!args
) SWIG_fail
;
8800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8801 if (!SWIG_IsOK(res1
)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8804 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8806 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 resultobj
= SWIG_Py_Void();
8816 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
= 0;
8818 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8819 wxAlphaPixelData
*arg2
= 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 PyObject
* obj2
= 0 ;
8833 PyObject
* obj3
= 0 ;
8834 char * kwnames
[] = {
8835 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8840 if (!SWIG_IsOK(res1
)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8843 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8845 if (!SWIG_IsOK(res2
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8851 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8853 if (!SWIG_IsOK(ecode3
)) {
8854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8856 arg3
= static_cast< int >(val3
);
8857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8858 if (!SWIG_IsOK(ecode4
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8861 arg4
= static_cast< int >(val4
);
8863 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_Py_Void();
8873 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8876 wxAlphaPixelData
*arg2
= 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 PyObject
* obj2
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "data",(char *) "x", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8896 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8898 if (!SWIG_IsOK(res2
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8904 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8906 if (!SWIG_IsOK(ecode3
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8909 arg3
= static_cast< int >(val3
);
8911 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_Py_Void();
8921 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8924 wxAlphaPixelData
*arg2
= 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 PyObject
* obj2
= 0 ;
8935 char * kwnames
[] = {
8936 (char *) "self",(char *) "data",(char *) "y", NULL
8939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8941 if (!SWIG_IsOK(res1
)) {
8942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8944 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8946 if (!SWIG_IsOK(res2
)) {
8947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8952 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8954 if (!SWIG_IsOK(ecode3
)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8957 arg3
= static_cast< int >(val3
);
8959 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_Py_Void();
8969 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
= 0;
8971 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8972 wxAlphaPixelData
*arg2
= 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 PyObject
* obj2
= 0 ;
8986 PyObject
* obj3
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8996 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9004 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9006 if (!SWIG_IsOK(ecode3
)) {
9007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9009 arg3
= static_cast< int >(val3
);
9010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9011 if (!SWIG_IsOK(ecode4
)) {
9012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9014 arg4
= static_cast< int >(val4
);
9016 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_Py_Void();
9026 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
= 0;
9028 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9035 unsigned char val2
;
9037 unsigned char val3
;
9039 unsigned char val4
;
9041 unsigned char val5
;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 PyObject
* obj2
= 0 ;
9046 PyObject
* obj3
= 0 ;
9047 PyObject
* obj4
= 0 ;
9048 char * kwnames
[] = {
9049 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9054 if (!SWIG_IsOK(res1
)) {
9055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9057 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9058 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9059 if (!SWIG_IsOK(ecode2
)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9062 arg2
= static_cast< byte
>(val2
);
9063 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9064 if (!SWIG_IsOK(ecode3
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9067 arg3
= static_cast< byte
>(val3
);
9068 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9069 if (!SWIG_IsOK(ecode4
)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9072 arg4
= static_cast< byte
>(val4
);
9073 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9074 if (!SWIG_IsOK(ecode5
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9077 arg5
= static_cast< byte
>(val5
);
9079 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= SWIG_Py_Void();
9089 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9090 PyObject
*resultobj
= 0;
9091 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9092 PyObject
*result
= 0 ;
9095 PyObject
*swig_obj
[1] ;
9097 if (!args
) SWIG_fail
;
9099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9100 if (!SWIG_IsOK(res1
)) {
9101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9103 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9105 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9115 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9118 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9119 return SWIG_Py_Void();
9122 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 return SWIG_Python_InitShadowInstance(args
);
9126 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
= 0;
9128 wxBitmap
*arg1
= 0 ;
9129 wxColour
const &arg2_defvalue
= wxNullColour
;
9130 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9131 wxMask
*result
= 0 ;
9135 PyObject
* obj0
= 0 ;
9136 PyObject
* obj1
= 0 ;
9137 char * kwnames
[] = {
9138 (char *) "bitmap",(char *) "colour", NULL
9141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9149 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9157 if (!wxPyCheckForApp()) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9170 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9171 PyObject
*resultobj
= 0;
9172 wxMask
*arg1
= (wxMask
*) 0 ;
9175 PyObject
*swig_obj
[1] ;
9177 if (!args
) SWIG_fail
;
9179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9180 if (!SWIG_IsOK(res1
)) {
9181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9183 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_Py_Void();
9196 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9199 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9200 return SWIG_Py_Void();
9203 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9204 return SWIG_Python_InitShadowInstance(args
);
9207 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
= 0;
9209 wxString
*arg1
= 0 ;
9211 int arg3
= (int) -1 ;
9212 int arg4
= (int) -1 ;
9213 wxIcon
*result
= 0 ;
9214 bool temp1
= false ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 PyObject
* obj2
= 0 ;
9224 PyObject
* obj3
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9231 arg1
= wxString_in_helper(obj0
);
9232 if (arg1
== NULL
) SWIG_fail
;
9235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9236 if (!SWIG_IsOK(ecode2
)) {
9237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9239 arg2
= static_cast< wxBitmapType
>(val2
);
9241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9242 if (!SWIG_IsOK(ecode3
)) {
9243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9245 arg3
= static_cast< int >(val3
);
9248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9249 if (!SWIG_IsOK(ecode4
)) {
9250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9252 arg4
= static_cast< int >(val4
);
9255 if (!wxPyCheckForApp()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9276 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9277 PyObject
*resultobj
= 0;
9278 wxIcon
*arg1
= (wxIcon
*) 0 ;
9281 PyObject
*swig_obj
[1] ;
9283 if (!args
) SWIG_fail
;
9285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9286 if (!SWIG_IsOK(res1
)) {
9287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9289 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_Py_Void();
9304 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9305 PyObject
*resultobj
= 0;
9306 wxIcon
*result
= 0 ;
9308 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9310 if (!wxPyCheckForApp()) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxIcon
*)new wxIcon();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9323 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
= 0;
9325 wxIconLocation
*arg1
= 0 ;
9326 wxIcon
*result
= 0 ;
9329 PyObject
* obj0
= 0 ;
9330 char * kwnames
[] = {
9331 (char *) "loc", NULL
9334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9342 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9344 if (!wxPyCheckForApp()) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9357 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxBitmap
*arg1
= 0 ;
9360 wxIcon
*result
= 0 ;
9363 PyObject
* obj0
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "bmp", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9376 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9378 if (!wxPyCheckForApp()) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9391 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
= 0;
9393 PyObject
*arg1
= (PyObject
*) 0 ;
9394 wxIcon
*result
= 0 ;
9395 PyObject
* obj0
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "listOfStrings", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9403 if (!wxPyCheckForApp()) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (wxIcon
*)new_wxIcon(arg1
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9416 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
= 0;
9418 wxIcon
*arg1
= (wxIcon
*) 0 ;
9419 wxString
*arg2
= 0 ;
9424 bool temp2
= false ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 PyObject
* obj2
= 0 ;
9430 char * kwnames
[] = {
9431 (char *) "self",(char *) "name",(char *) "type", NULL
9434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9436 if (!SWIG_IsOK(res1
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9439 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9441 arg2
= wxString_in_helper(obj1
);
9442 if (arg2
== NULL
) SWIG_fail
;
9445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9446 if (!SWIG_IsOK(ecode3
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9449 arg3
= static_cast< wxBitmapType
>(val3
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9473 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9474 PyObject
*resultobj
= 0;
9475 wxIcon
*arg1
= (wxIcon
*) 0 ;
9479 PyObject
*swig_obj
[1] ;
9481 if (!args
) SWIG_fail
;
9483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9484 if (!SWIG_IsOK(res1
)) {
9485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9487 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (long)(arg1
)->GetHandle();
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_From_long(static_cast< long >(result
));
9501 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= 0;
9503 wxIcon
*arg1
= (wxIcon
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "handle", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9520 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9522 if (!SWIG_IsOK(ecode2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9525 arg2
= static_cast< long >(val2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 wxIcon_SetHandle(arg1
,arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9540 PyObject
*resultobj
= 0;
9541 wxIcon
*arg1
= (wxIcon
*) 0 ;
9545 PyObject
*swig_obj
[1] ;
9547 if (!args
) SWIG_fail
;
9549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9550 if (!SWIG_IsOK(res1
)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9553 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (bool)(arg1
)->IsOk();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9570 PyObject
*resultobj
= 0;
9571 wxIcon
*arg1
= (wxIcon
*) 0 ;
9575 PyObject
*swig_obj
[1] ;
9577 if (!args
) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9583 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (int)(arg1
)->GetWidth();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_From_int(static_cast< int >(result
));
9597 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 PyObject
*resultobj
= 0;
9599 wxIcon
*arg1
= (wxIcon
*) 0 ;
9603 PyObject
*swig_obj
[1] ;
9605 if (!args
) SWIG_fail
;
9607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9608 if (!SWIG_IsOK(res1
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9611 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (int)(arg1
)->GetHeight();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_From_int(static_cast< int >(result
));
9625 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxIcon
*arg1
= (wxIcon
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9639 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (int)(arg1
)->GetDepth();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_From_int(static_cast< int >(result
));
9653 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
= 0;
9655 wxIcon
*arg1
= (wxIcon
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 char * kwnames
[] = {
9664 (char *) "self",(char *) "w", NULL
9667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9669 if (!SWIG_IsOK(res1
)) {
9670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9672 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9674 if (!SWIG_IsOK(ecode2
)) {
9675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9677 arg2
= static_cast< int >(val2
);
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 (arg1
)->SetWidth(arg2
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_Py_Void();
9691 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
= 0;
9693 wxIcon
*arg1
= (wxIcon
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9700 PyObject
* obj1
= 0 ;
9701 char * kwnames
[] = {
9702 (char *) "self",(char *) "h", NULL
9705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9707 if (!SWIG_IsOK(res1
)) {
9708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9710 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9712 if (!SWIG_IsOK(ecode2
)) {
9713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9715 arg2
= static_cast< int >(val2
);
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 (arg1
)->SetHeight(arg2
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= SWIG_Py_Void();
9729 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
= 0;
9731 wxIcon
*arg1
= (wxIcon
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9739 char * kwnames
[] = {
9740 (char *) "self",(char *) "d", NULL
9743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9745 if (!SWIG_IsOK(res1
)) {
9746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9748 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9750 if (!SWIG_IsOK(ecode2
)) {
9751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9753 arg2
= static_cast< int >(val2
);
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 (arg1
)->SetDepth(arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_Py_Void();
9767 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= 0;
9769 wxIcon
*arg1
= (wxIcon
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "self",(char *) "size", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9785 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9788 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 (arg1
)->SetSize((wxSize
const &)*arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_Py_Void();
9803 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
= 0;
9805 wxIcon
*arg1
= (wxIcon
*) 0 ;
9806 wxBitmap
*arg2
= 0 ;
9811 PyObject
* obj0
= 0 ;
9812 PyObject
* obj1
= 0 ;
9813 char * kwnames
[] = {
9814 (char *) "self",(char *) "bmp", NULL
9817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9822 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9824 if (!SWIG_IsOK(res2
)) {
9825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9830 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_Py_Void();
9844 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9847 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9848 return SWIG_Py_Void();
9851 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9852 return SWIG_Python_InitShadowInstance(args
);
9855 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
= 0;
9857 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9858 int arg2
= (int) 0 ;
9859 wxIconLocation
*result
= 0 ;
9860 bool temp1
= false ;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 char * kwnames
[] = {
9866 (char *) "filename",(char *) "num", NULL
9869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9872 arg1
= wxString_in_helper(obj0
);
9873 if (arg1
== NULL
) SWIG_fail
;
9878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9879 if (!SWIG_IsOK(ecode2
)) {
9880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9882 arg2
= static_cast< int >(val2
);
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9905 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 PyObject
*resultobj
= 0;
9907 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9910 PyObject
*swig_obj
[1] ;
9912 if (!args
) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9918 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9947 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9963 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
= 0;
9965 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9966 wxString
*arg2
= 0 ;
9969 bool temp2
= false ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 char * kwnames
[] = {
9973 (char *) "self",(char *) "filename", NULL
9976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9978 if (!SWIG_IsOK(res1
)) {
9979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9981 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9983 arg2
= wxString_in_helper(obj1
);
9984 if (arg2
== NULL
) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 (arg1
)->SetFileName((wxString
const &)*arg2
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_Py_Void();
10008 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10009 PyObject
*resultobj
= 0;
10010 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10011 wxString
*result
= 0 ;
10014 PyObject
*swig_obj
[1] ;
10016 if (!args
) SWIG_fail
;
10017 swig_obj
[0] = args
;
10018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10019 if (!SWIG_IsOK(res1
)) {
10020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10022 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10027 result
= (wxString
*) &_result_ref
;
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10045 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
= 0;
10047 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char * kwnames
[] = {
10056 (char *) "self",(char *) "num", NULL
10059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10061 if (!SWIG_IsOK(res1
)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10064 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10066 if (!SWIG_IsOK(ecode2
)) {
10067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10069 arg2
= static_cast< int >(val2
);
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 wxIconLocation_SetIndex(arg1
,arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_Py_Void();
10083 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10084 PyObject
*resultobj
= 0;
10085 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10089 PyObject
*swig_obj
[1] ;
10091 if (!args
) SWIG_fail
;
10092 swig_obj
[0] = args
;
10093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10097 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (int)wxIconLocation_GetIndex(arg1
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_From_int(static_cast< int >(result
));
10111 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10114 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10115 return SWIG_Py_Void();
10118 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10119 return SWIG_Python_InitShadowInstance(args
);
10122 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 PyObject
*resultobj
= 0;
10124 wxIconBundle
*result
= 0 ;
10126 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (wxIconBundle
*)new wxIconBundle();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10140 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= 0;
10142 wxString
*arg1
= 0 ;
10144 wxIconBundle
*result
= 0 ;
10145 bool temp1
= false ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "file",(char *) "type", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10156 arg1
= wxString_in_helper(obj0
);
10157 if (arg1
== NULL
) SWIG_fail
;
10160 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10161 if (!SWIG_IsOK(ecode2
)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10164 arg2
= static_cast< long >(val2
);
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10186 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
= 0;
10189 wxIconBundle
*result
= 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char * kwnames
[] = {
10194 (char *) "icon", NULL
10197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10198 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10205 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10219 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10220 PyObject
*resultobj
= 0;
10221 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10224 PyObject
*swig_obj
[1] ;
10226 if (!args
) SWIG_fail
;
10227 swig_obj
[0] = args
;
10228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10232 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_Py_Void();
10247 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= 0;
10249 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char * kwnames
[] = {
10258 (char *) "self",(char *) "icon", NULL
10261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10263 if (!SWIG_IsOK(res1
)) {
10264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10266 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10268 if (!SWIG_IsOK(res2
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10274 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_Py_Void();
10288 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
= 0;
10290 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10291 wxString
*arg2
= 0 ;
10295 bool temp2
= false ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 char * kwnames
[] = {
10302 (char *) "self",(char *) "file",(char *) "type", NULL
10305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10307 if (!SWIG_IsOK(res1
)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10310 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10312 arg2
= wxString_in_helper(obj1
);
10313 if (arg2
== NULL
) SWIG_fail
;
10316 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10317 if (!SWIG_IsOK(ecode3
)) {
10318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10320 arg3
= static_cast< long >(val3
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_Py_Void();
10342 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10346 wxIcon
*result
= 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "self",(char *) "size", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10358 if (!SWIG_IsOK(res1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10361 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10370 result
= (wxIcon
*) &_result_ref
;
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 wxIcon
* resultptr
= new wxIcon(*result
);
10377 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10385 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10388 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10389 return SWIG_Py_Void();
10392 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10393 return SWIG_Python_InitShadowInstance(args
);
10396 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
= 0;
10398 wxString
*arg1
= 0 ;
10400 int arg3
= (int) 0 ;
10401 int arg4
= (int) 0 ;
10402 wxCursor
*result
= 0 ;
10403 bool temp1
= false ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 PyObject
* obj2
= 0 ;
10413 PyObject
* obj3
= 0 ;
10414 char * kwnames
[] = {
10415 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10420 arg1
= wxString_in_helper(obj0
);
10421 if (arg1
== NULL
) SWIG_fail
;
10424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10425 if (!SWIG_IsOK(ecode2
)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10428 arg2
= static_cast< long >(val2
);
10430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10431 if (!SWIG_IsOK(ecode3
)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10434 arg3
= static_cast< int >(val3
);
10437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10438 if (!SWIG_IsOK(ecode4
)) {
10439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10441 arg4
= static_cast< int >(val4
);
10444 if (!wxPyCheckForApp()) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10465 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10466 PyObject
*resultobj
= 0;
10467 wxCursor
*arg1
= (wxCursor
*) 0 ;
10470 PyObject
*swig_obj
[1] ;
10472 if (!args
) SWIG_fail
;
10473 swig_obj
[0] = args
;
10474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10475 if (!SWIG_IsOK(res1
)) {
10476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10478 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_Py_Void();
10493 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
= 0;
10496 wxCursor
*result
= 0 ;
10499 PyObject
* obj0
= 0 ;
10500 char * kwnames
[] = {
10501 (char *) "id", NULL
10504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10506 if (!SWIG_IsOK(ecode1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10509 arg1
= static_cast< int >(val1
);
10511 if (!wxPyCheckForApp()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (wxCursor
*)new wxCursor(arg1
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10524 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
= 0;
10526 wxImage
*arg1
= 0 ;
10527 wxCursor
*result
= 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char * kwnames
[] = {
10532 (char *) "image", NULL
10535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10537 if (!SWIG_IsOK(res1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10543 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10545 if (!wxPyCheckForApp()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10558 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10559 PyObject
*resultobj
= 0;
10560 wxCursor
*arg1
= (wxCursor
*) 0 ;
10564 PyObject
*swig_obj
[1] ;
10566 if (!args
) SWIG_fail
;
10567 swig_obj
[0] = args
;
10568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10572 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (long)(arg1
)->GetHandle();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_From_long(static_cast< long >(result
));
10586 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= 0;
10588 wxCursor
*arg1
= (wxCursor
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 char * kwnames
[] = {
10597 (char *) "self",(char *) "handle", NULL
10600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10605 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10606 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10607 if (!SWIG_IsOK(ecode2
)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10610 arg2
= static_cast< long >(val2
);
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 wxCursor_SetHandle(arg1
,arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_Py_Void();
10624 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10625 PyObject
*resultobj
= 0;
10626 wxCursor
*arg1
= (wxCursor
*) 0 ;
10630 PyObject
*swig_obj
[1] ;
10632 if (!args
) SWIG_fail
;
10633 swig_obj
[0] = args
;
10634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10635 if (!SWIG_IsOK(res1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10638 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (bool)(arg1
)->IsOk();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10654 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10655 PyObject
*resultobj
= 0;
10656 wxCursor
*arg1
= (wxCursor
*) 0 ;
10660 PyObject
*swig_obj
[1] ;
10662 if (!args
) SWIG_fail
;
10663 swig_obj
[0] = args
;
10664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10668 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (int)(arg1
)->GetWidth();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_From_int(static_cast< int >(result
));
10682 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10683 PyObject
*resultobj
= 0;
10684 wxCursor
*arg1
= (wxCursor
*) 0 ;
10688 PyObject
*swig_obj
[1] ;
10690 if (!args
) SWIG_fail
;
10691 swig_obj
[0] = args
;
10692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10693 if (!SWIG_IsOK(res1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10696 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (int)(arg1
)->GetHeight();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_From_int(static_cast< int >(result
));
10710 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10711 PyObject
*resultobj
= 0;
10712 wxCursor
*arg1
= (wxCursor
*) 0 ;
10716 PyObject
*swig_obj
[1] ;
10718 if (!args
) SWIG_fail
;
10719 swig_obj
[0] = args
;
10720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10721 if (!SWIG_IsOK(res1
)) {
10722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10724 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (int)(arg1
)->GetDepth();
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_From_int(static_cast< int >(result
));
10738 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
= 0;
10740 wxCursor
*arg1
= (wxCursor
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char * kwnames
[] = {
10749 (char *) "self",(char *) "w", NULL
10752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10754 if (!SWIG_IsOK(res1
)) {
10755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10757 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10759 if (!SWIG_IsOK(ecode2
)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10762 arg2
= static_cast< int >(val2
);
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->SetWidth(arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_Py_Void();
10776 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
= 0;
10778 wxCursor
*arg1
= (wxCursor
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char * kwnames
[] = {
10787 (char *) "self",(char *) "h", NULL
10790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10792 if (!SWIG_IsOK(res1
)) {
10793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10795 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10797 if (!SWIG_IsOK(ecode2
)) {
10798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10800 arg2
= static_cast< int >(val2
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->SetHeight(arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_Py_Void();
10814 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxCursor
*arg1
= (wxCursor
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "self",(char *) "d", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10833 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10835 if (!SWIG_IsOK(ecode2
)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10838 arg2
= static_cast< int >(val2
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->SetDepth(arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_Py_Void();
10852 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxCursor
*arg1
= (wxCursor
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char * kwnames
[] = {
10862 (char *) "self",(char *) "size", NULL
10865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10867 if (!SWIG_IsOK(res1
)) {
10868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10870 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->SetSize((wxSize
const &)*arg2
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_Py_Void();
10888 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10891 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10892 return SWIG_Py_Void();
10895 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10896 return SWIG_Python_InitShadowInstance(args
);
10899 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
= 0;
10901 int arg1
= (int) 0 ;
10902 int arg2
= (int) 0 ;
10903 int arg3
= (int) 0 ;
10904 int arg4
= (int) 0 ;
10905 wxRegion
*result
= 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 PyObject
* obj2
= 0 ;
10917 PyObject
* obj3
= 0 ;
10918 char * kwnames
[] = {
10919 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10925 if (!SWIG_IsOK(ecode1
)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10928 arg1
= static_cast< int >(val1
);
10931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10932 if (!SWIG_IsOK(ecode2
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10935 arg2
= static_cast< int >(val2
);
10938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10939 if (!SWIG_IsOK(ecode3
)) {
10940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10942 arg3
= static_cast< int >(val3
);
10945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10946 if (!SWIG_IsOK(ecode4
)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10949 arg4
= static_cast< int >(val4
);
10952 if (!wxPyCheckForApp()) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10965 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
= 0;
10967 wxBitmap
*arg1
= 0 ;
10968 wxRegion
*result
= 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char * kwnames
[] = {
10973 (char *) "bmp", NULL
10976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10977 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10986 if (!wxPyCheckForApp()) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10999 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
= 0;
11001 wxBitmap
*arg1
= 0 ;
11002 wxColour
*arg2
= 0 ;
11003 int arg3
= (int) 0 ;
11004 wxRegion
*result
= 0 ;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 PyObject
* obj2
= 0 ;
11013 char * kwnames
[] = {
11014 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11018 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11019 if (!SWIG_IsOK(res1
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11032 if (!SWIG_IsOK(ecode3
)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11035 arg3
= static_cast< int >(val3
);
11038 if (!wxPyCheckForApp()) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11051 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
= 0;
11054 wxPoint
*arg2
= (wxPoint
*) 0 ;
11055 int arg3
= (int) wxWINDING_RULE
;
11056 wxRegion
*result
= 0 ;
11059 PyObject
* obj0
= 0 ;
11060 PyObject
* obj1
= 0 ;
11061 char * kwnames
[] = {
11062 (char *) "points",(char *) "fillStyle", NULL
11065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11067 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11068 if (arg2
== NULL
) SWIG_fail
;
11071 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11072 if (!SWIG_IsOK(ecode3
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11075 arg3
= static_cast< int >(val3
);
11078 if (!wxPyCheckForApp()) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11086 if (arg2
) delete [] arg2
;
11091 if (arg2
) delete [] arg2
;
11097 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11098 PyObject
*resultobj
= 0;
11099 wxRegion
*arg1
= (wxRegion
*) 0 ;
11102 PyObject
*swig_obj
[1] ;
11104 if (!args
) SWIG_fail
;
11105 swig_obj
[0] = args
;
11106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_Py_Void();
11125 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11126 PyObject
*resultobj
= 0;
11127 wxRegion
*arg1
= (wxRegion
*) 0 ;
11130 PyObject
*swig_obj
[1] ;
11132 if (!args
) SWIG_fail
;
11133 swig_obj
[0] = args
;
11134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11135 if (!SWIG_IsOK(res1
)) {
11136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11138 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_Py_Void();
11152 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
= 0;
11154 wxRegion
*arg1
= (wxRegion
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 PyObject
* obj2
= 0 ;
11167 char * kwnames
[] = {
11168 (char *) "self",(char *) "x",(char *) "y", NULL
11171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11176 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11178 if (!SWIG_IsOK(ecode2
)) {
11179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11181 arg2
= static_cast< int >(val2
);
11182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11183 if (!SWIG_IsOK(ecode3
)) {
11184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11186 arg3
= static_cast< int >(val3
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
= 0;
11204 wxRegion
*arg1
= (wxRegion
*) 0 ;
11207 wxRegionContain result
;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 PyObject
* obj2
= 0 ;
11217 char * kwnames
[] = {
11218 (char *) "self",(char *) "x",(char *) "y", NULL
11221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11223 if (!SWIG_IsOK(res1
)) {
11224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11226 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11228 if (!SWIG_IsOK(ecode2
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11231 arg2
= static_cast< int >(val2
);
11232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11233 if (!SWIG_IsOK(ecode3
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11236 arg3
= static_cast< int >(val3
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_From_int(static_cast< int >(result
));
11250 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= 0;
11252 wxRegion
*arg1
= (wxRegion
*) 0 ;
11253 wxPoint
*arg2
= 0 ;
11254 wxRegionContain result
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "self",(char *) "pt", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11269 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int(static_cast< int >(result
));
11287 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11289 wxRegion
*arg1
= (wxRegion
*) 0 ;
11291 wxRegionContain result
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "self",(char *) "rect", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11306 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11309 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_From_int(static_cast< int >(result
));
11324 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= 0;
11326 wxRegion
*arg1
= (wxRegion
*) 0 ;
11331 wxRegionContain result
;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 PyObject
* obj2
= 0 ;
11345 PyObject
* obj3
= 0 ;
11346 PyObject
* obj4
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11356 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11358 if (!SWIG_IsOK(ecode2
)) {
11359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11361 arg2
= static_cast< int >(val2
);
11362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11363 if (!SWIG_IsOK(ecode3
)) {
11364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11366 arg3
= static_cast< int >(val3
);
11367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11368 if (!SWIG_IsOK(ecode4
)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11371 arg4
= static_cast< int >(val4
);
11372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11373 if (!SWIG_IsOK(ecode5
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11376 arg5
= static_cast< int >(val5
);
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_From_int(static_cast< int >(result
));
11390 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11391 PyObject
*resultobj
= 0;
11392 wxRegion
*arg1
= (wxRegion
*) 0 ;
11396 PyObject
*swig_obj
[1] ;
11398 if (!args
) SWIG_fail
;
11399 swig_obj
[0] = args
;
11400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11401 if (!SWIG_IsOK(res1
)) {
11402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11404 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (arg1
)->GetBox();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11418 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
= 0;
11420 wxRegion
*arg1
= (wxRegion
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 PyObject
* obj2
= 0 ;
11439 PyObject
* obj3
= 0 ;
11440 PyObject
* obj4
= 0 ;
11441 char * kwnames
[] = {
11442 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11447 if (!SWIG_IsOK(res1
)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11450 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11452 if (!SWIG_IsOK(ecode2
)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11455 arg2
= static_cast< int >(val2
);
11456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11457 if (!SWIG_IsOK(ecode3
)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11460 arg3
= static_cast< int >(val3
);
11461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11462 if (!SWIG_IsOK(ecode4
)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11465 arg4
= static_cast< int >(val4
);
11466 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11467 if (!SWIG_IsOK(ecode5
)) {
11468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11470 arg5
= static_cast< int >(val5
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
= 0;
11488 wxRegion
*arg1
= (wxRegion
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char * kwnames
[] = {
11497 (char *) "self",(char *) "rect", NULL
11500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11508 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11525 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
= 0;
11527 wxRegion
*arg1
= (wxRegion
*) 0 ;
11528 wxRegion
*arg2
= 0 ;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 char * kwnames
[] = {
11537 (char *) "self",(char *) "region", NULL
11540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11547 if (!SWIG_IsOK(res2
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11553 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11569 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11570 PyObject
*resultobj
= 0;
11571 wxRegion
*arg1
= (wxRegion
*) 0 ;
11575 PyObject
*swig_obj
[1] ;
11577 if (!args
) SWIG_fail
;
11578 swig_obj
[0] = args
;
11579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11580 if (!SWIG_IsOK(res1
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11583 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (bool)(arg1
)->IsEmpty();
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11599 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
= 0;
11601 wxRegion
*arg1
= (wxRegion
*) 0 ;
11602 wxRegion
*arg2
= 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 char * kwnames
[] = {
11611 (char *) "self",(char *) "region", NULL
11614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11616 if (!SWIG_IsOK(res1
)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11619 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11621 if (!SWIG_IsOK(res2
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11627 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11643 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
= 0;
11645 wxRegion
*arg1
= (wxRegion
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 PyObject
* obj3
= 0 ;
11665 PyObject
* obj4
= 0 ;
11666 char * kwnames
[] = {
11667 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11672 if (!SWIG_IsOK(res1
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11675 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11677 if (!SWIG_IsOK(ecode2
)) {
11678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11680 arg2
= static_cast< int >(val2
);
11681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11682 if (!SWIG_IsOK(ecode3
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11685 arg3
= static_cast< int >(val3
);
11686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11687 if (!SWIG_IsOK(ecode4
)) {
11688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11690 arg4
= static_cast< int >(val4
);
11691 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11692 if (!SWIG_IsOK(ecode5
)) {
11693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11695 arg5
= static_cast< int >(val5
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11711 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
= 0;
11713 wxRegion
*arg1
= (wxRegion
*) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 char * kwnames
[] = {
11722 (char *) "self",(char *) "rect", NULL
11725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11727 if (!SWIG_IsOK(res1
)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11730 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11733 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11750 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
= 0;
11752 wxRegion
*arg1
= (wxRegion
*) 0 ;
11753 wxRegion
*arg2
= 0 ;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "region", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11770 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11772 if (!SWIG_IsOK(res2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11778 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11794 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
= 0;
11796 wxRegion
*arg1
= (wxRegion
*) 0 ;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 PyObject
* obj2
= 0 ;
11815 PyObject
* obj3
= 0 ;
11816 PyObject
* obj4
= 0 ;
11817 char * kwnames
[] = {
11818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11823 if (!SWIG_IsOK(res1
)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11826 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11828 if (!SWIG_IsOK(ecode2
)) {
11829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11831 arg2
= static_cast< int >(val2
);
11832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11833 if (!SWIG_IsOK(ecode3
)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11836 arg3
= static_cast< int >(val3
);
11837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11838 if (!SWIG_IsOK(ecode4
)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11841 arg4
= static_cast< int >(val4
);
11842 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11843 if (!SWIG_IsOK(ecode5
)) {
11844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11846 arg5
= static_cast< int >(val5
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11862 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
= 0;
11864 wxRegion
*arg1
= (wxRegion
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 char * kwnames
[] = {
11873 (char *) "self",(char *) "rect", NULL
11876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11881 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11884 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11901 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
= 0;
11903 wxRegion
*arg1
= (wxRegion
*) 0 ;
11904 wxRegion
*arg2
= 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 char * kwnames
[] = {
11913 (char *) "self",(char *) "region", NULL
11916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11921 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11923 if (!SWIG_IsOK(res2
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11929 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11945 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
= 0;
11947 wxRegion
*arg1
= (wxRegion
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 PyObject
* obj2
= 0 ;
11966 PyObject
* obj3
= 0 ;
11967 PyObject
* obj4
= 0 ;
11968 char * kwnames
[] = {
11969 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11979 if (!SWIG_IsOK(ecode2
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11982 arg2
= static_cast< int >(val2
);
11983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11984 if (!SWIG_IsOK(ecode3
)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11987 arg3
= static_cast< int >(val3
);
11988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11989 if (!SWIG_IsOK(ecode4
)) {
11990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11992 arg4
= static_cast< int >(val4
);
11993 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11994 if (!SWIG_IsOK(ecode5
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11997 arg5
= static_cast< int >(val5
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12013 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
= 0;
12015 wxRegion
*arg1
= (wxRegion
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char * kwnames
[] = {
12024 (char *) "self",(char *) "rect", NULL
12027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12032 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12035 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12052 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12054 wxRegion
*arg1
= (wxRegion
*) 0 ;
12055 wxRegion
*arg2
= 0 ;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char * kwnames
[] = {
12064 (char *) "self",(char *) "region", NULL
12067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12072 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12074 if (!SWIG_IsOK(res2
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12080 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12097 PyObject
*resultobj
= 0;
12098 wxRegion
*arg1
= (wxRegion
*) 0 ;
12099 SwigValueWrapper
<wxBitmap
> result
;
12102 PyObject
*swig_obj
[1] ;
12104 if (!args
) SWIG_fail
;
12105 swig_obj
[0] = args
;
12106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (arg1
)->ConvertToBitmap();
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12124 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
= 0;
12126 wxRegion
*arg1
= (wxRegion
*) 0 ;
12127 wxBitmap
*arg2
= 0 ;
12133 PyObject
* obj0
= 0 ;
12134 PyObject
* obj1
= 0 ;
12135 char * kwnames
[] = {
12136 (char *) "self",(char *) "bmp", NULL
12139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12141 if (!SWIG_IsOK(res1
)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12144 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12146 if (!SWIG_IsOK(res2
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12152 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12168 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
= 0;
12170 wxRegion
*arg1
= (wxRegion
*) 0 ;
12171 wxBitmap
*arg2
= 0 ;
12172 wxColour
*arg3
= 0 ;
12173 int arg4
= (int) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 PyObject
* obj2
= 0 ;
12185 PyObject
* obj3
= 0 ;
12186 char * kwnames
[] = {
12187 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12192 if (!SWIG_IsOK(res1
)) {
12193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12195 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12197 if (!SWIG_IsOK(res2
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12203 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12206 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12209 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12210 if (!SWIG_IsOK(ecode4
)) {
12211 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12213 arg4
= static_cast< int >(val4
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12230 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12233 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12234 return SWIG_Py_Void();
12237 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12238 return SWIG_Python_InitShadowInstance(args
);
12241 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
= 0;
12243 wxRegion
*arg1
= 0 ;
12244 wxRegionIterator
*result
= 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char * kwnames
[] = {
12249 (char *) "region", NULL
12252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12253 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12254 if (!SWIG_IsOK(res1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12260 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12262 if (!wxPyCheckForApp()) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12275 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12276 PyObject
*resultobj
= 0;
12277 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12280 PyObject
*swig_obj
[1] ;
12282 if (!args
) SWIG_fail
;
12283 swig_obj
[0] = args
;
12284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12288 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_Py_Void();
12303 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12317 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (int)(arg1
)->GetX();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_From_int(static_cast< int >(result
));
12331 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12345 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (int)(arg1
)->GetY();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_From_int(static_cast< int >(result
));
12359 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12360 PyObject
*resultobj
= 0;
12361 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12365 PyObject
*swig_obj
[1] ;
12367 if (!args
) SWIG_fail
;
12368 swig_obj
[0] = args
;
12369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12370 if (!SWIG_IsOK(res1
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12373 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (int)(arg1
)->GetW();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_From_int(static_cast< int >(result
));
12387 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12388 PyObject
*resultobj
= 0;
12389 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12393 PyObject
*swig_obj
[1] ;
12395 if (!args
) SWIG_fail
;
12396 swig_obj
[0] = args
;
12397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12398 if (!SWIG_IsOK(res1
)) {
12399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12401 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= (int)(arg1
)->GetWidth();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_From_int(static_cast< int >(result
));
12415 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12416 PyObject
*resultobj
= 0;
12417 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12421 PyObject
*swig_obj
[1] ;
12423 if (!args
) SWIG_fail
;
12424 swig_obj
[0] = args
;
12425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12426 if (!SWIG_IsOK(res1
)) {
12427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12429 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (int)(arg1
)->GetH();
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_From_int(static_cast< int >(result
));
12443 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12444 PyObject
*resultobj
= 0;
12445 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12449 PyObject
*swig_obj
[1] ;
12451 if (!args
) SWIG_fail
;
12452 swig_obj
[0] = args
;
12453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12457 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (int)(arg1
)->GetHeight();
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_From_int(static_cast< int >(result
));
12471 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12485 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (arg1
)->GetRect();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12499 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12500 PyObject
*resultobj
= 0;
12501 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12505 PyObject
*swig_obj
[1] ;
12507 if (!args
) SWIG_fail
;
12508 swig_obj
[0] = args
;
12509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12510 if (!SWIG_IsOK(res1
)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12513 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (bool)(arg1
)->HaveRects();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12529 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12530 PyObject
*resultobj
= 0;
12531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12534 PyObject
*swig_obj
[1] ;
12536 if (!args
) SWIG_fail
;
12537 swig_obj
[0] = args
;
12538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12539 if (!SWIG_IsOK(res1
)) {
12540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12542 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= SWIG_Py_Void();
12556 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12557 PyObject
*resultobj
= 0;
12558 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12561 PyObject
*swig_obj
[1] ;
12563 if (!args
) SWIG_fail
;
12564 swig_obj
[0] = args
;
12565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12566 if (!SWIG_IsOK(res1
)) {
12567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12569 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 wxRegionIterator_Next(arg1
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_Py_Void();
12583 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12584 PyObject
*resultobj
= 0;
12585 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12589 PyObject
*swig_obj
[1] ;
12591 if (!args
) SWIG_fail
;
12592 swig_obj
[0] = args
;
12593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12597 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12613 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12616 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12617 return SWIG_Py_Void();
12620 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12621 return SWIG_Python_InitShadowInstance(args
);
12624 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12625 PyObject
*resultobj
= 0;
12626 wxNativeFontInfo
*result
= 0 ;
12628 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12642 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 PyObject
*resultobj
= 0;
12644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12647 PyObject
*swig_obj
[1] ;
12649 if (!args
) SWIG_fail
;
12650 swig_obj
[0] = args
;
12651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12655 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= SWIG_Py_Void();
12670 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12671 PyObject
*resultobj
= 0;
12672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12675 PyObject
*swig_obj
[1] ;
12677 if (!args
) SWIG_fail
;
12678 swig_obj
[0] = args
;
12679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12683 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_Py_Void();
12697 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char * kwnames
[] = {
12708 (char *) "self",(char *) "font", NULL
12711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12713 if (!SWIG_IsOK(res1
)) {
12714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12716 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12718 if (!SWIG_IsOK(res2
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12724 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12739 PyObject
*resultobj
= 0;
12740 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12744 PyObject
*swig_obj
[1] ;
12746 if (!args
) SWIG_fail
;
12747 swig_obj
[0] = args
;
12748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12749 if (!SWIG_IsOK(res1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12752 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= SWIG_From_int(static_cast< int >(result
));
12766 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12767 PyObject
*resultobj
= 0;
12768 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12772 PyObject
*swig_obj
[1] ;
12774 if (!args
) SWIG_fail
;
12775 swig_obj
[0] = args
;
12776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12780 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12794 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12795 PyObject
*resultobj
= 0;
12796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12797 wxFontStyle result
;
12800 PyObject
*swig_obj
[1] ;
12802 if (!args
) SWIG_fail
;
12803 swig_obj
[0] = args
;
12804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12808 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_From_int(static_cast< int >(result
));
12822 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12823 PyObject
*resultobj
= 0;
12824 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12825 wxFontWeight result
;
12828 PyObject
*swig_obj
[1] ;
12830 if (!args
) SWIG_fail
;
12831 swig_obj
[0] = args
;
12832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12833 if (!SWIG_IsOK(res1
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12836 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_From_int(static_cast< int >(result
));
12850 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12852 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12856 PyObject
*swig_obj
[1] ;
12858 if (!args
) SWIG_fail
;
12859 swig_obj
[0] = args
;
12860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12864 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12880 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12881 PyObject
*resultobj
= 0;
12882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12886 PyObject
*swig_obj
[1] ;
12888 if (!args
) SWIG_fail
;
12889 swig_obj
[0] = args
;
12890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12894 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12914 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12915 PyObject
*resultobj
= 0;
12916 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12917 wxFontFamily result
;
12920 PyObject
*swig_obj
[1] ;
12922 if (!args
) SWIG_fail
;
12923 swig_obj
[0] = args
;
12924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12925 if (!SWIG_IsOK(res1
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12928 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_From_int(static_cast< int >(result
));
12942 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12943 PyObject
*resultobj
= 0;
12944 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12945 wxFontEncoding result
;
12948 PyObject
*swig_obj
[1] ;
12950 if (!args
) SWIG_fail
;
12951 swig_obj
[0] = args
;
12952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12953 if (!SWIG_IsOK(res1
)) {
12954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12956 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_From_int(static_cast< int >(result
));
12970 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
= 0;
12972 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char * kwnames
[] = {
12981 (char *) "self",(char *) "pointsize", NULL
12984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12989 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12991 if (!SWIG_IsOK(ecode2
)) {
12992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12994 arg2
= static_cast< int >(val2
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 (arg1
)->SetPointSize(arg2
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_Py_Void();
13008 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
= 0;
13010 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char * kwnames
[] = {
13018 (char *) "self",(char *) "pixelSize", NULL
13021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13023 if (!SWIG_IsOK(res1
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13026 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_Py_Void();
13044 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
= 0;
13046 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char * kwnames
[] = {
13055 (char *) "self",(char *) "style", NULL
13058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13063 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13065 if (!SWIG_IsOK(ecode2
)) {
13066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13068 arg2
= static_cast< wxFontStyle
>(val2
);
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->SetStyle(arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_Py_Void();
13082 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
= 0;
13084 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13085 wxFontWeight arg2
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char * kwnames
[] = {
13093 (char *) "self",(char *) "weight", NULL
13096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13098 if (!SWIG_IsOK(res1
)) {
13099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13101 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13103 if (!SWIG_IsOK(ecode2
)) {
13104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13106 arg2
= static_cast< wxFontWeight
>(val2
);
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 (arg1
)->SetWeight(arg2
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= SWIG_Py_Void();
13120 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
= 0;
13122 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char * kwnames
[] = {
13131 (char *) "self",(char *) "underlined", NULL
13134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13136 if (!SWIG_IsOK(res1
)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13139 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13140 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13141 if (!SWIG_IsOK(ecode2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13144 arg2
= static_cast< bool >(val2
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 (arg1
)->SetUnderlined(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
= 0;
13160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 PyObject
* obj1
= 0 ;
13167 char * kwnames
[] = {
13168 (char *) "self",(char *) "facename", NULL
13171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13173 if (!SWIG_IsOK(res1
)) {
13174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13176 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13178 wxString
* sptr
= wxString_in_helper(obj1
);
13179 if (sptr
== NULL
) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (bool)(arg1
)->SetFaceName(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13198 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13201 wxFontFamily arg2
;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char * kwnames
[] = {
13209 (char *) "self",(char *) "family", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13217 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13219 if (!SWIG_IsOK(ecode2
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13222 arg2
= static_cast< wxFontFamily
>(val2
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->SetFamily(arg2
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_Py_Void();
13236 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
= 0;
13238 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13239 wxFontEncoding arg2
;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 char * kwnames
[] = {
13247 (char *) "self",(char *) "encoding", NULL
13250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13252 if (!SWIG_IsOK(res1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13255 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13257 if (!SWIG_IsOK(ecode2
)) {
13258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13260 arg2
= static_cast< wxFontEncoding
>(val2
);
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->SetEncoding(arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_Py_Void();
13274 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
= 0;
13276 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13277 wxString
*arg2
= 0 ;
13281 bool temp2
= false ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 char * kwnames
[] = {
13285 (char *) "self",(char *) "s", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13293 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13295 arg2
= wxString_in_helper(obj1
);
13296 if (arg2
== NULL
) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13336 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13356 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13370 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= wxNativeFontInfo___str__(arg1
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13390 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
= 0;
13392 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13393 wxString
*arg2
= 0 ;
13397 bool temp2
= false ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char * kwnames
[] = {
13401 (char *) "self",(char *) "s", NULL
13404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13409 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13411 arg2
= wxString_in_helper(obj1
);
13412 if (arg2
== NULL
) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13438 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13440 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13452 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13472 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13475 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13476 return SWIG_Py_Void();
13479 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13480 return SWIG_Python_InitShadowInstance(args
);
13483 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13484 PyObject
*resultobj
= 0;
13485 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13486 wxString
*arg2
= (wxString
*) 0 ;
13489 bool temp2
= false ;
13490 PyObject
*swig_obj
[2] ;
13492 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13497 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13499 arg2
= wxString_in_helper(swig_obj
[1]);
13500 if (arg2
== NULL
) SWIG_fail
;
13503 if (arg1
) (arg1
)->facename
= *arg2
;
13505 resultobj
= SWIG_Py_Void();
13520 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 PyObject
*resultobj
= 0;
13522 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13523 wxString
*result
= 0 ;
13526 PyObject
*swig_obj
[1] ;
13528 if (!args
) SWIG_fail
;
13529 swig_obj
[0] = args
;
13530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13531 if (!SWIG_IsOK(res1
)) {
13532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13534 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13535 result
= (wxString
*)& ((arg1
)->facename
);
13538 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13540 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13549 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13550 PyObject
*resultobj
= 0;
13551 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13552 wxFontEncoding arg2
;
13557 PyObject
*swig_obj
[2] ;
13559 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13564 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13565 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13566 if (!SWIG_IsOK(ecode2
)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13569 arg2
= static_cast< wxFontEncoding
>(val2
);
13570 if (arg1
) (arg1
)->encoding
= arg2
;
13572 resultobj
= SWIG_Py_Void();
13579 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13580 PyObject
*resultobj
= 0;
13581 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13582 wxFontEncoding result
;
13585 PyObject
*swig_obj
[1] ;
13587 if (!args
) SWIG_fail
;
13588 swig_obj
[0] = args
;
13589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13590 if (!SWIG_IsOK(res1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13593 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13594 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13595 resultobj
= SWIG_From_int(static_cast< int >(result
));
13602 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13603 PyObject
*resultobj
= 0;
13604 wxNativeEncodingInfo
*result
= 0 ;
13606 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13620 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13621 PyObject
*resultobj
= 0;
13622 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13633 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_Py_Void();
13648 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13651 wxString
*arg2
= 0 ;
13655 bool temp2
= false ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "s", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13667 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13669 arg2
= wxString_in_helper(obj1
);
13670 if (arg2
== NULL
) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13696 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13697 PyObject
*resultobj
= 0;
13698 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13702 PyObject
*swig_obj
[1] ;
13704 if (!args
) SWIG_fail
;
13705 swig_obj
[0] = args
;
13706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13707 if (!SWIG_IsOK(res1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13710 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13730 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13733 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13734 return SWIG_Py_Void();
13737 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13738 return SWIG_Python_InitShadowInstance(args
);
13741 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 wxFontEncoding arg1
;
13744 wxNativeEncodingInfo
*result
= 0 ;
13747 PyObject
* obj0
= 0 ;
13748 char * kwnames
[] = {
13749 (char *) "encoding", NULL
13752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13754 if (!SWIG_IsOK(ecode1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13757 arg1
= static_cast< wxFontEncoding
>(val1
);
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13771 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
= 0;
13773 wxNativeEncodingInfo
*arg1
= 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char * kwnames
[] = {
13779 (char *) "info", NULL
13782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13783 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13784 if (!SWIG_IsOK(res1
)) {
13785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13790 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13807 PyObject
*resultobj
= 0;
13808 wxFontMapper
*result
= 0 ;
13810 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (wxFontMapper
*)new wxFontMapper();
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13824 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13825 PyObject
*resultobj
= 0;
13826 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13829 PyObject
*swig_obj
[1] ;
13831 if (!args
) SWIG_fail
;
13832 swig_obj
[0] = args
;
13833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13837 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_Py_Void();
13852 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxFontMapper
*result
= 0 ;
13856 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (wxFontMapper
*)wxFontMapper::Get();
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13870 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
= 0;
13872 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13873 wxFontMapper
*result
= 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char * kwnames
[] = {
13878 (char *) "mapper", NULL
13881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13886 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13900 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
= 0;
13902 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13903 wxString
*arg2
= 0 ;
13904 bool arg3
= (bool) true ;
13905 wxFontEncoding result
;
13908 bool temp2
= false ;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 PyObject
* obj2
= 0 ;
13914 char * kwnames
[] = {
13915 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13923 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13925 arg2
= wxString_in_helper(obj1
);
13926 if (arg2
== NULL
) SWIG_fail
;
13930 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13931 if (!SWIG_IsOK(ecode3
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13934 arg3
= static_cast< bool >(val3
);
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_From_int(static_cast< int >(result
));
13957 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13958 PyObject
*resultobj
= 0;
13961 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13975 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13978 wxFontEncoding result
;
13981 PyObject
* obj0
= 0 ;
13982 char * kwnames
[] = {
13986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13987 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13988 if (!SWIG_IsOK(ecode1
)) {
13989 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13991 arg1
= static_cast< size_t >(val1
);
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_From_int(static_cast< int >(result
));
14005 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
= 0;
14007 wxFontEncoding arg1
;
14011 PyObject
* obj0
= 0 ;
14012 char * kwnames
[] = {
14013 (char *) "encoding", NULL
14016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14018 if (!SWIG_IsOK(ecode1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14021 arg1
= static_cast< wxFontEncoding
>(val1
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= wxFontMapper::GetEncodingName(arg1
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14041 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
= 0;
14043 wxFontEncoding arg1
;
14047 PyObject
* obj0
= 0 ;
14048 char * kwnames
[] = {
14049 (char *) "encoding", NULL
14052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14054 if (!SWIG_IsOK(ecode1
)) {
14055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14057 arg1
= static_cast< wxFontEncoding
>(val1
);
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 result
= wxFontMapper::GetEncodingDescription(arg1
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14077 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
= 0;
14079 wxString
*arg1
= 0 ;
14080 wxFontEncoding result
;
14081 bool temp1
= false ;
14082 PyObject
* obj0
= 0 ;
14083 char * kwnames
[] = {
14084 (char *) "name", NULL
14087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14089 arg1
= wxString_in_helper(obj0
);
14090 if (arg1
== NULL
) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_From_int(static_cast< int >(result
));
14114 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
= 0;
14116 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14117 wxString
*arg2
= 0 ;
14120 bool temp2
= false ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 char * kwnames
[] = {
14124 (char *) "self",(char *) "prefix", NULL
14127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14129 if (!SWIG_IsOK(res1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14132 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14134 arg2
= wxString_in_helper(obj1
);
14135 if (arg2
== NULL
) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_Py_Void();
14159 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14160 PyObject
*resultobj
= 0;
14163 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= wxFontMapper::GetDefaultConfigPath();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14183 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
= 0;
14185 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14186 wxFontEncoding arg2
;
14187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14189 bool arg4
= (bool) true ;
14190 PyObject
*result
= 0 ;
14195 bool temp3
= false ;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 PyObject
* obj2
= 0 ;
14201 PyObject
* obj3
= 0 ;
14202 char * kwnames
[] = {
14203 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14208 if (!SWIG_IsOK(res1
)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14211 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14213 if (!SWIG_IsOK(ecode2
)) {
14214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14216 arg2
= static_cast< wxFontEncoding
>(val2
);
14219 arg3
= wxString_in_helper(obj2
);
14220 if (arg3
== NULL
) SWIG_fail
;
14225 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14226 if (!SWIG_IsOK(ecode4
)) {
14227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14229 arg4
= static_cast< bool >(val4
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= result
;
14252 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
= 0;
14254 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14255 wxFontEncoding arg2
;
14256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14263 bool temp3
= false ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 PyObject
* obj2
= 0 ;
14267 char * kwnames
[] = {
14268 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14276 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14278 if (!SWIG_IsOK(ecode2
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14281 arg2
= static_cast< wxFontEncoding
>(val2
);
14284 arg3
= wxString_in_helper(obj2
);
14285 if (arg3
== NULL
) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14312 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
= 0;
14314 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14315 wxWindow
*arg2
= (wxWindow
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "self",(char *) "parent", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14331 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14333 if (!SWIG_IsOK(res2
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14336 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetDialogParent(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_Py_Void();
14350 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
= 0;
14352 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14353 wxString
*arg2
= 0 ;
14356 bool temp2
= false ;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char * kwnames
[] = {
14360 (char *) "self",(char *) "title", NULL
14363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14365 if (!SWIG_IsOK(res1
)) {
14366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14368 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14370 arg2
= wxString_in_helper(obj1
);
14371 if (arg2
== NULL
) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_Py_Void();
14395 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14398 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14399 return SWIG_Py_Void();
14402 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14403 return SWIG_Python_InitShadowInstance(args
);
14406 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
= 0;
14412 bool arg5
= (bool) false ;
14413 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14414 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14415 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14416 wxFont
*result
= 0 ;
14427 bool temp6
= false ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 PyObject
* obj3
= 0 ;
14434 PyObject
* obj4
= 0 ;
14435 PyObject
* obj5
= 0 ;
14436 PyObject
* obj6
= 0 ;
14437 char * kwnames
[] = {
14438 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14443 if (!SWIG_IsOK(ecode1
)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14446 arg1
= static_cast< int >(val1
);
14447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14448 if (!SWIG_IsOK(ecode2
)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14451 arg2
= static_cast< int >(val2
);
14452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14453 if (!SWIG_IsOK(ecode3
)) {
14454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14456 arg3
= static_cast< int >(val3
);
14457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14458 if (!SWIG_IsOK(ecode4
)) {
14459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14461 arg4
= static_cast< int >(val4
);
14463 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14464 if (!SWIG_IsOK(ecode5
)) {
14465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14467 arg5
= static_cast< bool >(val5
);
14471 arg6
= wxString_in_helper(obj5
);
14472 if (arg6
== NULL
) SWIG_fail
;
14477 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14478 if (!SWIG_IsOK(ecode7
)) {
14479 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14481 arg7
= static_cast< wxFontEncoding
>(val7
);
14484 if (!wxPyCheckForApp()) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14505 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14506 PyObject
*resultobj
= 0;
14507 wxFont
*arg1
= (wxFont
*) 0 ;
14510 PyObject
*swig_obj
[1] ;
14512 if (!args
) SWIG_fail
;
14513 swig_obj
[0] = args
;
14514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14515 if (!SWIG_IsOK(res1
)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14518 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= SWIG_Py_Void();
14533 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
= 0;
14535 wxNativeFontInfo
*arg1
= 0 ;
14536 wxFont
*result
= 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char * kwnames
[] = {
14541 (char *) "info", NULL
14544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14545 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14552 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14554 if (!wxPyCheckForApp()) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14567 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
= 0;
14569 wxString
*arg1
= 0 ;
14570 wxFont
*result
= 0 ;
14571 bool temp1
= false ;
14572 PyObject
* obj0
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "info", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14579 arg1
= wxString_in_helper(obj0
);
14580 if (arg1
== NULL
) SWIG_fail
;
14584 if (!wxPyCheckForApp()) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14605 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
= 0;
14608 wxFontFamily arg2
;
14609 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14610 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14612 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14613 wxFont
*result
= 0 ;
14620 bool temp4
= false ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 PyObject
* obj2
= 0 ;
14626 PyObject
* obj3
= 0 ;
14627 PyObject
* obj4
= 0 ;
14628 char * kwnames
[] = {
14629 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14633 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14634 if (!SWIG_IsOK(ecode1
)) {
14635 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14637 arg1
= static_cast< int >(val1
);
14638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14639 if (!SWIG_IsOK(ecode2
)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14642 arg2
= static_cast< wxFontFamily
>(val2
);
14644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14645 if (!SWIG_IsOK(ecode3
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14648 arg3
= static_cast< int >(val3
);
14652 arg4
= wxString_in_helper(obj3
);
14653 if (arg4
== NULL
) SWIG_fail
;
14658 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14659 if (!SWIG_IsOK(ecode5
)) {
14660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14662 arg5
= static_cast< wxFontEncoding
>(val5
);
14665 if (!wxPyCheckForApp()) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14686 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
= 0;
14692 bool arg5
= (bool) false ;
14693 wxString
const &arg6_defvalue
= wxEmptyString
;
14694 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14695 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14696 wxFont
*result
= 0 ;
14706 bool temp6
= false ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 PyObject
* obj3
= 0 ;
14713 PyObject
* obj4
= 0 ;
14714 PyObject
* obj5
= 0 ;
14715 PyObject
* obj6
= 0 ;
14716 char * kwnames
[] = {
14717 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14723 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14726 if (!SWIG_IsOK(ecode2
)) {
14727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14729 arg2
= static_cast< int >(val2
);
14730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14731 if (!SWIG_IsOK(ecode3
)) {
14732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14734 arg3
= static_cast< int >(val3
);
14735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14736 if (!SWIG_IsOK(ecode4
)) {
14737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14739 arg4
= static_cast< int >(val4
);
14741 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14742 if (!SWIG_IsOK(ecode5
)) {
14743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14745 arg5
= static_cast< bool >(val5
);
14749 arg6
= wxString_in_helper(obj5
);
14750 if (arg6
== NULL
) SWIG_fail
;
14755 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14756 if (!SWIG_IsOK(ecode7
)) {
14757 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14759 arg7
= static_cast< wxFontEncoding
>(val7
);
14762 if (!wxPyCheckForApp()) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14783 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
= 0;
14786 wxFontFamily arg2
;
14787 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14788 wxString
const &arg4_defvalue
= wxEmptyString
;
14789 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14790 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14791 wxFont
*result
= 0 ;
14797 bool temp4
= false ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 PyObject
* obj2
= 0 ;
14803 PyObject
* obj3
= 0 ;
14804 PyObject
* obj4
= 0 ;
14805 char * kwnames
[] = {
14806 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14812 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14815 if (!SWIG_IsOK(ecode2
)) {
14816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14818 arg2
= static_cast< wxFontFamily
>(val2
);
14820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14821 if (!SWIG_IsOK(ecode3
)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14824 arg3
= static_cast< int >(val3
);
14828 arg4
= wxString_in_helper(obj3
);
14829 if (arg4
== NULL
) SWIG_fail
;
14834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14835 if (!SWIG_IsOK(ecode5
)) {
14836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14838 arg5
= static_cast< wxFontEncoding
>(val5
);
14841 if (!wxPyCheckForApp()) SWIG_fail
;
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14862 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 PyObject
*resultobj
= 0;
14864 wxFont
*arg1
= (wxFont
*) 0 ;
14868 PyObject
*swig_obj
[1] ;
14870 if (!args
) SWIG_fail
;
14871 swig_obj
[0] = args
;
14872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14873 if (!SWIG_IsOK(res1
)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14876 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14892 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxFont
*arg1
= (wxFont
*) 0 ;
14895 wxFont
*arg2
= (wxFont
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char * kwnames
[] = {
14904 (char *) "self",(char *) "other", NULL
14907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14909 if (!SWIG_IsOK(res1
)) {
14910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14912 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14914 if (!SWIG_IsOK(res2
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14917 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
= 0;
14935 wxFont
*arg1
= (wxFont
*) 0 ;
14936 wxFont
*arg2
= (wxFont
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char * kwnames
[] = {
14945 (char *) "self",(char *) "other", NULL
14948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14953 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14955 if (!SWIG_IsOK(res2
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14958 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14974 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxFont
*arg1
= (wxFont
*) 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14988 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_From_int(static_cast< int >(result
));
15002 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15003 PyObject
*resultobj
= 0;
15004 wxFont
*arg1
= (wxFont
*) 0 ;
15008 PyObject
*swig_obj
[1] ;
15010 if (!args
) SWIG_fail
;
15011 swig_obj
[0] = args
;
15012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15013 if (!SWIG_IsOK(res1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15016 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15030 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15031 PyObject
*resultobj
= 0;
15032 wxFont
*arg1
= (wxFont
*) 0 ;
15036 PyObject
*swig_obj
[1] ;
15038 if (!args
) SWIG_fail
;
15039 swig_obj
[0] = args
;
15040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15044 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15060 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15061 PyObject
*resultobj
= 0;
15062 wxFont
*arg1
= (wxFont
*) 0 ;
15066 PyObject
*swig_obj
[1] ;
15068 if (!args
) SWIG_fail
;
15069 swig_obj
[0] = args
;
15070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15071 if (!SWIG_IsOK(res1
)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15074 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= SWIG_From_int(static_cast< int >(result
));
15088 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15089 PyObject
*resultobj
= 0;
15090 wxFont
*arg1
= (wxFont
*) 0 ;
15094 PyObject
*swig_obj
[1] ;
15096 if (!args
) SWIG_fail
;
15097 swig_obj
[0] = args
;
15098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15102 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_From_int(static_cast< int >(result
));
15116 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15117 PyObject
*resultobj
= 0;
15118 wxFont
*arg1
= (wxFont
*) 0 ;
15122 PyObject
*swig_obj
[1] ;
15124 if (!args
) SWIG_fail
;
15125 swig_obj
[0] = args
;
15126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15127 if (!SWIG_IsOK(res1
)) {
15128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15130 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_From_int(static_cast< int >(result
));
15144 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15145 PyObject
*resultobj
= 0;
15146 wxFont
*arg1
= (wxFont
*) 0 ;
15150 PyObject
*swig_obj
[1] ;
15152 if (!args
) SWIG_fail
;
15153 swig_obj
[0] = args
;
15154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15158 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15174 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15175 PyObject
*resultobj
= 0;
15176 wxFont
*arg1
= (wxFont
*) 0 ;
15180 PyObject
*swig_obj
[1] ;
15182 if (!args
) SWIG_fail
;
15183 swig_obj
[0] = args
;
15184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15188 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= ((wxFont
const *)arg1
)->GetFaceName();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15208 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15209 PyObject
*resultobj
= 0;
15210 wxFont
*arg1
= (wxFont
*) 0 ;
15211 wxFontEncoding result
;
15214 PyObject
*swig_obj
[1] ;
15216 if (!args
) SWIG_fail
;
15217 swig_obj
[0] = args
;
15218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15222 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_From_int(static_cast< int >(result
));
15236 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15237 PyObject
*resultobj
= 0;
15238 wxFont
*arg1
= (wxFont
*) 0 ;
15239 wxNativeFontInfo
*result
= 0 ;
15242 PyObject
*swig_obj
[1] ;
15244 if (!args
) SWIG_fail
;
15245 swig_obj
[0] = args
;
15246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15247 if (!SWIG_IsOK(res1
)) {
15248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15250 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15264 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15265 PyObject
*resultobj
= 0;
15266 wxFont
*arg1
= (wxFont
*) 0 ;
15270 PyObject
*swig_obj
[1] ;
15272 if (!args
) SWIG_fail
;
15273 swig_obj
[0] = args
;
15274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15275 if (!SWIG_IsOK(res1
)) {
15276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15294 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15295 PyObject
*resultobj
= 0;
15296 wxFont
*arg1
= (wxFont
*) 0 ;
15300 PyObject
*swig_obj
[1] ;
15302 if (!args
) SWIG_fail
;
15303 swig_obj
[0] = args
;
15304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15305 if (!SWIG_IsOK(res1
)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15308 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15328 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15329 PyObject
*resultobj
= 0;
15330 wxFont
*arg1
= (wxFont
*) 0 ;
15334 PyObject
*swig_obj
[1] ;
15336 if (!args
) SWIG_fail
;
15337 swig_obj
[0] = args
;
15338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15339 if (!SWIG_IsOK(res1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15342 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15362 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
= 0;
15364 wxFont
*arg1
= (wxFont
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char * kwnames
[] = {
15373 (char *) "self",(char *) "pointSize", NULL
15376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15378 if (!SWIG_IsOK(res1
)) {
15379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15381 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15383 if (!SWIG_IsOK(ecode2
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15386 arg2
= static_cast< int >(val2
);
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->SetPointSize(arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxFont
*arg1
= (wxFont
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char * kwnames
[] = {
15410 (char *) "self",(char *) "pixelSize", NULL
15413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15418 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15421 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_Py_Void();
15436 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
= 0;
15438 wxFont
*arg1
= (wxFont
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 char * kwnames
[] = {
15447 (char *) "self",(char *) "family", NULL
15450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15455 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15457 if (!SWIG_IsOK(ecode2
)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15460 arg2
= static_cast< int >(val2
);
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetFamily(arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_Py_Void();
15474 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
= 0;
15476 wxFont
*arg1
= (wxFont
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 char * kwnames
[] = {
15485 (char *) "self",(char *) "style", NULL
15488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15490 if (!SWIG_IsOK(res1
)) {
15491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15493 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15495 if (!SWIG_IsOK(ecode2
)) {
15496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15498 arg2
= static_cast< int >(val2
);
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 (arg1
)->SetStyle(arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_Py_Void();
15512 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= 0;
15514 wxFont
*arg1
= (wxFont
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "self",(char *) "weight", NULL
15526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15528 if (!SWIG_IsOK(res1
)) {
15529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15531 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15533 if (!SWIG_IsOK(ecode2
)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15536 arg2
= static_cast< int >(val2
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->SetWeight(arg2
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_Py_Void();
15550 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
= 0;
15552 wxFont
*arg1
= (wxFont
*) 0 ;
15553 wxString
*arg2
= 0 ;
15557 bool temp2
= false ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char * kwnames
[] = {
15561 (char *) "self",(char *) "faceName", NULL
15564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15566 if (!SWIG_IsOK(res1
)) {
15567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15569 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15571 arg2
= wxString_in_helper(obj1
);
15572 if (arg2
== NULL
) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15598 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
= 0;
15600 wxFont
*arg1
= (wxFont
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char * kwnames
[] = {
15609 (char *) "self",(char *) "underlined", NULL
15612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15617 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15618 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15619 if (!SWIG_IsOK(ecode2
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15622 arg2
= static_cast< bool >(val2
);
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetUnderlined(arg2
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_Py_Void();
15636 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= 0;
15638 wxFont
*arg1
= (wxFont
*) 0 ;
15639 wxFontEncoding arg2
;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char * kwnames
[] = {
15647 (char *) "self",(char *) "encoding", NULL
15650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15657 if (!SWIG_IsOK(ecode2
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15660 arg2
= static_cast< wxFontEncoding
>(val2
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->SetEncoding(arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_Py_Void();
15674 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
= 0;
15676 wxFont
*arg1
= (wxFont
*) 0 ;
15677 wxNativeFontInfo
*arg2
= 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char * kwnames
[] = {
15685 (char *) "self",(char *) "info", NULL
15688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15690 if (!SWIG_IsOK(res1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15693 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15695 if (!SWIG_IsOK(res2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15701 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= SWIG_Py_Void();
15715 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
= 0;
15717 wxFont
*arg1
= (wxFont
*) 0 ;
15718 wxString
*arg2
= 0 ;
15722 bool temp2
= false ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 char * kwnames
[] = {
15726 (char *) "self",(char *) "info", NULL
15729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15734 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15736 arg2
= wxString_in_helper(obj1
);
15737 if (arg2
== NULL
) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= 0;
15765 wxFont
*arg1
= (wxFont
*) 0 ;
15766 wxString
*arg2
= 0 ;
15770 bool temp2
= false ;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 char * kwnames
[] = {
15774 (char *) "self",(char *) "info", NULL
15777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15779 if (!SWIG_IsOK(res1
)) {
15780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15782 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15784 arg2
= wxString_in_helper(obj1
);
15785 if (arg2
== NULL
) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15811 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15812 PyObject
*resultobj
= 0;
15813 wxFont
*arg1
= (wxFont
*) 0 ;
15817 PyObject
*swig_obj
[1] ;
15819 if (!args
) SWIG_fail
;
15820 swig_obj
[0] = args
;
15821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15825 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15845 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15846 PyObject
*resultobj
= 0;
15847 wxFont
*arg1
= (wxFont
*) 0 ;
15851 PyObject
*swig_obj
[1] ;
15853 if (!args
) SWIG_fail
;
15854 swig_obj
[0] = args
;
15855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15856 if (!SWIG_IsOK(res1
)) {
15857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15859 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= ((wxFont
const *)arg1
)->GetStyleString();
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15879 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15880 PyObject
*resultobj
= 0;
15881 wxFont
*arg1
= (wxFont
*) 0 ;
15885 PyObject
*swig_obj
[1] ;
15887 if (!args
) SWIG_fail
;
15888 swig_obj
[0] = args
;
15889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15893 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= ((wxFont
const *)arg1
)->GetWeightString();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15913 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
= 0;
15915 wxFont
*arg1
= (wxFont
*) 0 ;
15916 bool arg2
= (bool) true ;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 char * kwnames
[] = {
15924 (char *) "self",(char *) "no", NULL
15927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15932 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15935 if (!SWIG_IsOK(ecode2
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15938 arg2
= static_cast< bool >(val2
);
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 (arg1
)->SetNoAntiAliasing(arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_Py_Void();
15953 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15954 PyObject
*resultobj
= 0;
15955 wxFont
*arg1
= (wxFont
*) 0 ;
15959 PyObject
*swig_obj
[1] ;
15961 if (!args
) SWIG_fail
;
15962 swig_obj
[0] = args
;
15963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15964 if (!SWIG_IsOK(res1
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15967 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15984 PyObject
*resultobj
= 0;
15985 wxFontEncoding result
;
15987 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15989 if (!wxPyCheckForApp()) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= SWIG_From_int(static_cast< int >(result
));
16002 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
= 0;
16004 wxFontEncoding arg1
;
16007 PyObject
* obj0
= 0 ;
16008 char * kwnames
[] = {
16009 (char *) "encoding", NULL
16012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16014 if (!SWIG_IsOK(ecode1
)) {
16015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16017 arg1
= static_cast< wxFontEncoding
>(val1
);
16019 if (!wxPyCheckForApp()) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 wxFont::SetDefaultEncoding(arg1
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_Py_Void();
16032 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16035 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16036 return SWIG_Py_Void();
16039 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16040 return SWIG_Python_InitShadowInstance(args
);
16043 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16044 PyObject
*resultobj
= 0;
16045 wxPyFontEnumerator
*result
= 0 ;
16047 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16049 if (!wxPyCheckForApp()) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16062 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16063 PyObject
*resultobj
= 0;
16064 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16067 PyObject
*swig_obj
[1] ;
16069 if (!args
) SWIG_fail
;
16070 swig_obj
[0] = args
;
16071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16075 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_Py_Void();
16090 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
= 0;
16092 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16093 PyObject
*arg2
= (PyObject
*) 0 ;
16094 PyObject
*arg3
= (PyObject
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 PyObject
* obj2
= 0 ;
16103 PyObject
* obj3
= 0 ;
16104 char * kwnames
[] = {
16105 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16110 if (!SWIG_IsOK(res1
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16113 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16116 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16117 if (!SWIG_IsOK(ecode4
)) {
16118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16120 arg4
= static_cast< bool >(val4
);
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_Py_Void();
16134 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
= 0;
16136 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16137 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16138 bool arg3
= (bool) false ;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 PyObject
* obj2
= 0 ;
16149 char * kwnames
[] = {
16150 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16155 if (!SWIG_IsOK(res1
)) {
16156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16158 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16161 if (!SWIG_IsOK(ecode2
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16164 arg2
= static_cast< wxFontEncoding
>(val2
);
16167 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16168 if (!SWIG_IsOK(ecode3
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16171 arg3
= static_cast< bool >(val3
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16188 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= 0;
16190 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16191 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16192 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16196 bool temp2
= false ;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 char * kwnames
[] = {
16200 (char *) "self",(char *) "facename", NULL
16203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16205 if (!SWIG_IsOK(res1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16208 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16211 arg2
= wxString_in_helper(obj1
);
16212 if (arg2
== NULL
) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16240 PyObject
*resultobj
= 0;
16241 PyObject
*result
= 0 ;
16243 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= result
;
16257 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16258 PyObject
*resultobj
= 0;
16259 PyObject
*result
= 0 ;
16261 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= result
;
16275 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
= 0;
16277 wxString
*arg1
= 0 ;
16279 bool temp1
= false ;
16280 PyObject
* obj0
= 0 ;
16281 char * kwnames
[] = {
16282 (char *) "str", NULL
16285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16287 arg1
= wxString_in_helper(obj0
);
16288 if (arg1
== NULL
) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16318 return SWIG_Py_Void();
16321 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16322 return SWIG_Python_InitShadowInstance(args
);
16325 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16326 PyObject
*resultobj
= 0;
16327 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16333 PyObject
*swig_obj
[2] ;
16335 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16337 if (!SWIG_IsOK(res1
)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16340 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16341 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16342 if (!SWIG_IsOK(ecode2
)) {
16343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16345 arg2
= static_cast< int >(val2
);
16346 if (arg1
) (arg1
)->Language
= arg2
;
16348 resultobj
= SWIG_Py_Void();
16355 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 PyObject
*resultobj
= 0;
16357 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16361 PyObject
*swig_obj
[1] ;
16363 if (!args
) SWIG_fail
;
16364 swig_obj
[0] = args
;
16365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16366 if (!SWIG_IsOK(res1
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16369 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16370 result
= (int) ((arg1
)->Language
);
16371 resultobj
= SWIG_From_int(static_cast< int >(result
));
16378 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16379 PyObject
*resultobj
= 0;
16380 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16381 wxString
*arg2
= (wxString
*) 0 ;
16384 bool temp2
= false ;
16385 PyObject
*swig_obj
[2] ;
16387 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16389 if (!SWIG_IsOK(res1
)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16392 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16394 arg2
= wxString_in_helper(swig_obj
[1]);
16395 if (arg2
== NULL
) SWIG_fail
;
16398 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16400 resultobj
= SWIG_Py_Void();
16415 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16416 PyObject
*resultobj
= 0;
16417 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16418 wxString
*result
= 0 ;
16421 PyObject
*swig_obj
[1] ;
16423 if (!args
) SWIG_fail
;
16424 swig_obj
[0] = args
;
16425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16426 if (!SWIG_IsOK(res1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16429 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16430 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16433 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16435 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16444 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16445 PyObject
*resultobj
= 0;
16446 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16447 wxString
*arg2
= (wxString
*) 0 ;
16450 bool temp2
= false ;
16451 PyObject
*swig_obj
[2] ;
16453 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16458 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16460 arg2
= wxString_in_helper(swig_obj
[1]);
16461 if (arg2
== NULL
) SWIG_fail
;
16464 if (arg1
) (arg1
)->Description
= *arg2
;
16466 resultobj
= SWIG_Py_Void();
16481 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16482 PyObject
*resultobj
= 0;
16483 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16484 wxString
*result
= 0 ;
16487 PyObject
*swig_obj
[1] ;
16489 if (!args
) SWIG_fail
;
16490 swig_obj
[0] = args
;
16491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16492 if (!SWIG_IsOK(res1
)) {
16493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16495 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16496 result
= (wxString
*)& ((arg1
)->Description
);
16499 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16501 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16510 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16513 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16514 return SWIG_Py_Void();
16517 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
= 0;
16519 int arg1
= (int) -1 ;
16520 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16521 wxLocale
*result
= 0 ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char * kwnames
[] = {
16529 (char *) "language",(char *) "flags", NULL
16532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16535 if (!SWIG_IsOK(ecode1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16538 arg1
= static_cast< int >(val1
);
16541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16542 if (!SWIG_IsOK(ecode2
)) {
16543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16545 arg2
= static_cast< int >(val2
);
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16560 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16561 PyObject
*resultobj
= 0;
16562 wxLocale
*arg1
= (wxLocale
*) 0 ;
16565 PyObject
*swig_obj
[1] ;
16567 if (!args
) SWIG_fail
;
16568 swig_obj
[0] = args
;
16569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16570 if (!SWIG_IsOK(res1
)) {
16571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16573 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_Py_Void();
16588 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxLocale
*arg1
= (wxLocale
*) 0 ;
16591 wxString
*arg2
= 0 ;
16592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16594 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16596 bool arg5
= (bool) true ;
16597 bool arg6
= (bool) false ;
16601 bool temp2
= false ;
16602 bool temp3
= false ;
16603 bool temp4
= false ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 PyObject
* obj2
= 0 ;
16611 PyObject
* obj3
= 0 ;
16612 PyObject
* obj4
= 0 ;
16613 PyObject
* obj5
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16623 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16625 arg2
= wxString_in_helper(obj1
);
16626 if (arg2
== NULL
) SWIG_fail
;
16631 arg3
= wxString_in_helper(obj2
);
16632 if (arg3
== NULL
) SWIG_fail
;
16638 arg4
= wxString_in_helper(obj3
);
16639 if (arg4
== NULL
) SWIG_fail
;
16644 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16645 if (!SWIG_IsOK(ecode5
)) {
16646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16648 arg5
= static_cast< bool >(val5
);
16651 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16652 if (!SWIG_IsOK(ecode6
)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16655 arg6
= static_cast< bool >(val6
);
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16696 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
= 0;
16698 wxLocale
*arg1
= (wxLocale
*) 0 ;
16699 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16700 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 PyObject
* obj2
= 0 ;
16711 char * kwnames
[] = {
16712 (char *) "self",(char *) "language",(char *) "flags", NULL
16715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16720 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16723 if (!SWIG_IsOK(ecode2
)) {
16724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16726 arg2
= static_cast< int >(val2
);
16729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16730 if (!SWIG_IsOK(ecode3
)) {
16731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16733 arg3
= static_cast< int >(val3
);
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16750 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16751 PyObject
*resultobj
= 0;
16754 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (int)wxLocale::GetSystemLanguage();
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= SWIG_From_int(static_cast< int >(result
));
16768 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16769 PyObject
*resultobj
= 0;
16770 wxFontEncoding result
;
16772 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_From_int(static_cast< int >(result
));
16786 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16787 PyObject
*resultobj
= 0;
16790 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= wxLocale::GetSystemEncodingName();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16810 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16811 PyObject
*resultobj
= 0;
16812 wxLocale
*arg1
= (wxLocale
*) 0 ;
16816 PyObject
*swig_obj
[1] ;
16818 if (!args
) SWIG_fail
;
16819 swig_obj
[0] = args
;
16820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16821 if (!SWIG_IsOK(res1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16824 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16840 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 PyObject
*resultobj
= 0;
16842 wxLocale
*arg1
= (wxLocale
*) 0 ;
16846 PyObject
*swig_obj
[1] ;
16848 if (!args
) SWIG_fail
;
16849 swig_obj
[0] = args
;
16850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16851 if (!SWIG_IsOK(res1
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16854 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= ((wxLocale
const *)arg1
)->GetLocale();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16874 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16875 PyObject
*resultobj
= 0;
16876 wxLocale
*arg1
= (wxLocale
*) 0 ;
16880 PyObject
*swig_obj
[1] ;
16882 if (!args
) SWIG_fail
;
16883 swig_obj
[0] = args
;
16884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16885 if (!SWIG_IsOK(res1
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16888 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_From_int(static_cast< int >(result
));
16902 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16903 PyObject
*resultobj
= 0;
16904 wxLocale
*arg1
= (wxLocale
*) 0 ;
16908 PyObject
*swig_obj
[1] ;
16910 if (!args
) SWIG_fail
;
16911 swig_obj
[0] = args
;
16912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16913 if (!SWIG_IsOK(res1
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16916 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= ((wxLocale
const *)arg1
)->GetSysName();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16936 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16937 PyObject
*resultobj
= 0;
16938 wxLocale
*arg1
= (wxLocale
*) 0 ;
16942 PyObject
*swig_obj
[1] ;
16944 if (!args
) SWIG_fail
;
16945 swig_obj
[0] = args
;
16946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16950 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16970 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= 0;
16972 wxString
*arg1
= 0 ;
16973 bool temp1
= false ;
16974 PyObject
* obj0
= 0 ;
16975 char * kwnames
[] = {
16976 (char *) "prefix", NULL
16979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16981 arg1
= wxString_in_helper(obj0
);
16982 if (arg1
== NULL
) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
17006 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxLocale
*arg1
= (wxLocale
*) 0 ;
17009 wxString
*arg2
= 0 ;
17013 bool temp2
= false ;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char * kwnames
[] = {
17017 (char *) "self",(char *) "szDomain", NULL
17020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17022 if (!SWIG_IsOK(res1
)) {
17023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17025 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17027 arg2
= wxString_in_helper(obj1
);
17028 if (arg2
== NULL
) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17054 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
= 0;
17060 PyObject
* obj0
= 0 ;
17061 char * kwnames
[] = {
17062 (char *) "lang", NULL
17065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17067 if (!SWIG_IsOK(ecode1
)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17070 arg1
= static_cast< int >(val1
);
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (bool)wxLocale::IsAvailable(arg1
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17086 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= 0;
17088 wxLocale
*arg1
= (wxLocale
*) 0 ;
17089 wxString
*arg2
= 0 ;
17093 bool temp2
= false ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char * kwnames
[] = {
17097 (char *) "self",(char *) "szDomain", NULL
17100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17102 if (!SWIG_IsOK(res1
)) {
17103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17105 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17107 arg2
= wxString_in_helper(obj1
);
17108 if (arg2
== NULL
) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17134 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
= 0;
17137 wxLanguageInfo
*result
= 0 ;
17140 PyObject
* obj0
= 0 ;
17141 char * kwnames
[] = {
17142 (char *) "lang", NULL
17145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17146 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17147 if (!SWIG_IsOK(ecode1
)) {
17148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17150 arg1
= static_cast< int >(val1
);
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17164 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
= 0;
17170 PyObject
* obj0
= 0 ;
17171 char * kwnames
[] = {
17172 (char *) "lang", NULL
17175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17177 if (!SWIG_IsOK(ecode1
)) {
17178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17180 arg1
= static_cast< int >(val1
);
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= wxLocale::GetLanguageName(arg1
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17200 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
= 0;
17202 wxString
*arg1
= 0 ;
17203 wxLanguageInfo
*result
= 0 ;
17204 bool temp1
= false ;
17205 PyObject
* obj0
= 0 ;
17206 char * kwnames
[] = {
17207 (char *) "locale", NULL
17210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17212 arg1
= wxString_in_helper(obj0
);
17213 if (arg1
== NULL
) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17237 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
= 0;
17239 wxLanguageInfo
*arg1
= 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char * kwnames
[] = {
17244 (char *) "info", NULL
17247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17248 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17249 if (!SWIG_IsOK(res1
)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17255 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_Py_Void();
17269 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
= 0;
17271 wxLocale
*arg1
= (wxLocale
*) 0 ;
17272 wxString
*arg2
= 0 ;
17273 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17274 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17278 bool temp2
= false ;
17279 bool temp3
= false ;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 PyObject
* obj2
= 0 ;
17283 char * kwnames
[] = {
17284 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17289 if (!SWIG_IsOK(res1
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17292 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17294 arg2
= wxString_in_helper(obj1
);
17295 if (arg2
== NULL
) SWIG_fail
;
17300 arg3
= wxString_in_helper(obj2
);
17301 if (arg3
== NULL
) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17340 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17341 PyObject
*resultobj
= 0;
17342 wxLocale
*arg1
= (wxLocale
*) 0 ;
17343 wxString
*result
= 0 ;
17346 PyObject
*swig_obj
[1] ;
17348 if (!args
) SWIG_fail
;
17349 swig_obj
[0] = args
;
17350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17351 if (!SWIG_IsOK(res1
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17354 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17359 result
= (wxString
*) &_result_ref
;
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17377 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17380 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17381 return SWIG_Py_Void();
17384 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17385 return SWIG_Python_InitShadowInstance(args
);
17388 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 int arg1
= (int) -1 ;
17391 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17392 wxPyLocale
*result
= 0 ;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "language",(char *) "flags", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17406 if (!SWIG_IsOK(ecode1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17409 arg1
= static_cast< int >(val1
);
17412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17413 if (!SWIG_IsOK(ecode2
)) {
17414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17416 arg2
= static_cast< int >(val2
);
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17431 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17432 PyObject
*resultobj
= 0;
17433 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17436 PyObject
*swig_obj
[1] ;
17438 if (!args
) SWIG_fail
;
17439 swig_obj
[0] = args
;
17440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17441 if (!SWIG_IsOK(res1
)) {
17442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17444 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_Py_Void();
17459 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
= 0;
17461 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17462 PyObject
*arg2
= (PyObject
*) 0 ;
17463 PyObject
*arg3
= (PyObject
*) 0 ;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 PyObject
* obj2
= 0 ;
17469 char * kwnames
[] = {
17470 (char *) "self",(char *) "self",(char *) "_class", NULL
17473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17475 if (!SWIG_IsOK(res1
)) {
17476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17478 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_Py_Void();
17494 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
= 0;
17496 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17497 wxChar
*arg2
= (wxChar
*) 0 ;
17498 wxChar
*arg3
= (wxChar
*) NULL
;
17499 wxChar
*result
= 0 ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 PyObject
* obj2
= 0 ;
17509 char * kwnames
[] = {
17510 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17515 if (!SWIG_IsOK(res1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17518 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17520 if (!SWIG_IsOK(res2
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17523 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17525 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17526 if (!SWIG_IsOK(res3
)) {
17527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17529 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17544 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17547 wxChar
*arg2
= (wxChar
*) 0 ;
17548 wxChar
*arg3
= (wxChar
*) 0 ;
17550 wxChar
*arg5
= (wxChar
*) NULL
;
17551 wxChar
*result
= 0 ;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 PyObject
* obj2
= 0 ;
17565 PyObject
* obj3
= 0 ;
17566 PyObject
* obj4
= 0 ;
17567 char * kwnames
[] = {
17568 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17573 if (!SWIG_IsOK(res1
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17576 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17578 if (!SWIG_IsOK(res2
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17581 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17582 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17583 if (!SWIG_IsOK(res3
)) {
17584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17586 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17587 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17588 if (!SWIG_IsOK(ecode4
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17591 arg4
= static_cast< size_t >(val4
);
17593 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17594 if (!SWIG_IsOK(res5
)) {
17595 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17597 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17612 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17616 return SWIG_Py_Void();
17619 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17620 return SWIG_Python_InitShadowInstance(args
);
17623 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxLocale
*result
= 0 ;
17627 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxLocale
*)wxGetLocale();
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17641 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17642 PyObject
*resultobj
= 0;
17643 wxString
*arg1
= 0 ;
17645 bool temp1
= false ;
17647 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17649 arg1
= wxString_in_helper(swig_obj
[0]);
17650 if (arg1
== NULL
) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= wxGetTranslation((wxString
const &)*arg1
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17680 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17681 PyObject
*resultobj
= 0;
17682 wxString
*arg1
= 0 ;
17683 wxString
*arg2
= 0 ;
17685 bool temp1
= false ;
17686 bool temp2
= false ;
17688 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17690 arg1
= wxString_in_helper(swig_obj
[0]);
17691 if (arg1
== NULL
) SWIG_fail
;
17695 arg2
= wxString_in_helper(swig_obj
[1]);
17696 if (arg2
== NULL
) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17734 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17735 PyObject
*resultobj
= 0;
17736 wxString
*arg1
= 0 ;
17737 wxString
*arg2
= 0 ;
17740 bool temp1
= false ;
17741 bool temp2
= false ;
17745 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17747 arg1
= wxString_in_helper(swig_obj
[0]);
17748 if (arg1
== NULL
) SWIG_fail
;
17752 arg2
= wxString_in_helper(swig_obj
[1]);
17753 if (arg2
== NULL
) SWIG_fail
;
17756 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17757 if (!SWIG_IsOK(ecode3
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17760 arg3
= static_cast< size_t >(val3
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17796 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17797 PyObject
*resultobj
= 0;
17798 wxString
*arg1
= 0 ;
17799 wxString
*arg2
= 0 ;
17801 wxString
*arg4
= 0 ;
17803 bool temp1
= false ;
17804 bool temp2
= false ;
17807 bool temp4
= false ;
17809 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17811 arg1
= wxString_in_helper(swig_obj
[0]);
17812 if (arg1
== NULL
) SWIG_fail
;
17816 arg2
= wxString_in_helper(swig_obj
[1]);
17817 if (arg2
== NULL
) SWIG_fail
;
17820 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17821 if (!SWIG_IsOK(ecode3
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17824 arg3
= static_cast< size_t >(val3
);
17826 arg4
= wxString_in_helper(swig_obj
[3]);
17827 if (arg4
== NULL
) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17873 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17877 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17880 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17883 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17886 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17889 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17893 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17898 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17899 PyObject
*resultobj
= 0;
17900 wxEncodingConverter
*result
= 0 ;
17902 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17916 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17917 PyObject
*resultobj
= 0;
17918 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17921 PyObject
*swig_obj
[1] ;
17923 if (!args
) SWIG_fail
;
17924 swig_obj
[0] = args
;
17925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17926 if (!SWIG_IsOK(res1
)) {
17927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17929 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_Py_Void();
17944 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
= 0;
17946 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17947 wxFontEncoding arg2
;
17948 wxFontEncoding arg3
;
17949 int arg4
= (int) wxCONVERT_STRICT
;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 PyObject
* obj2
= 0 ;
17962 PyObject
* obj3
= 0 ;
17963 char * kwnames
[] = {
17964 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17969 if (!SWIG_IsOK(res1
)) {
17970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17972 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17974 if (!SWIG_IsOK(ecode2
)) {
17975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17977 arg2
= static_cast< wxFontEncoding
>(val2
);
17978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17979 if (!SWIG_IsOK(ecode3
)) {
17980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17982 arg3
= static_cast< wxFontEncoding
>(val3
);
17984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17985 if (!SWIG_IsOK(ecode4
)) {
17986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17988 arg4
= static_cast< int >(val4
);
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18005 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
= 0;
18007 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18008 wxString
*arg2
= 0 ;
18012 bool temp2
= false ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "input", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18024 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18026 arg2
= wxString_in_helper(obj1
);
18027 if (arg2
== NULL
) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18057 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
= 0;
18059 wxFontEncoding arg1
;
18060 int arg2
= (int) wxPLATFORM_CURRENT
;
18061 wxFontEncodingArray result
;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 char * kwnames
[] = {
18069 (char *) "enc",(char *) "platform", NULL
18072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18073 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18074 if (!SWIG_IsOK(ecode1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18077 arg1
= static_cast< wxFontEncoding
>(val1
);
18079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18080 if (!SWIG_IsOK(ecode2
)) {
18081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18083 arg2
= static_cast< int >(val2
);
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= PyList_New(0);
18093 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18094 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18095 PyList_Append(resultobj
, number
);
18105 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
= 0;
18107 wxFontEncoding arg1
;
18108 wxFontEncodingArray result
;
18111 PyObject
* obj0
= 0 ;
18112 char * kwnames
[] = {
18113 (char *) "enc", NULL
18116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18118 if (!SWIG_IsOK(ecode1
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18121 arg1
= static_cast< wxFontEncoding
>(val1
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= PyList_New(0);
18130 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18131 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18132 PyList_Append(resultobj
, number
);
18142 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
= 0;
18144 wxFontEncoding arg1
;
18145 wxFontEncoding arg2
;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char * kwnames
[] = {
18154 (char *) "encIn",(char *) "encOut", NULL
18157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18158 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18159 if (!SWIG_IsOK(ecode1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18162 arg1
= static_cast< wxFontEncoding
>(val1
);
18163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18164 if (!SWIG_IsOK(ecode2
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18167 arg2
= static_cast< wxFontEncoding
>(val2
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18183 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18186 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18187 return SWIG_Py_Void();
18190 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18191 return SWIG_Python_InitShadowInstance(args
);
18194 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18195 PyObject
*resultobj
= 0;
18196 wxDC
*arg1
= (wxDC
*) 0 ;
18199 PyObject
*swig_obj
[1] ;
18201 if (!args
) SWIG_fail
;
18202 swig_obj
[0] = args
;
18203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_Py_Void();
18222 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
= 0;
18224 wxDC
*arg1
= (wxDC
*) 0 ;
18227 wxColour
*arg4
= 0 ;
18228 int arg5
= (int) wxFLOOD_SURFACE
;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 PyObject
* obj2
= 0 ;
18242 PyObject
* obj3
= 0 ;
18243 PyObject
* obj4
= 0 ;
18244 char * kwnames
[] = {
18245 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18250 if (!SWIG_IsOK(res1
)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18255 if (!SWIG_IsOK(ecode2
)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18258 arg2
= static_cast< int >(val2
);
18259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18260 if (!SWIG_IsOK(ecode3
)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18263 arg3
= static_cast< int >(val3
);
18266 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18270 if (!SWIG_IsOK(ecode5
)) {
18271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18273 arg5
= static_cast< int >(val5
);
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18290 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
= 0;
18292 wxDC
*arg1
= (wxDC
*) 0 ;
18293 wxPoint
*arg2
= 0 ;
18294 wxColour
*arg3
= 0 ;
18295 int arg4
= (int) wxFLOOD_SURFACE
;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 PyObject
* obj2
= 0 ;
18306 PyObject
* obj3
= 0 ;
18307 char * kwnames
[] = {
18308 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18313 if (!SWIG_IsOK(res1
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18323 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18327 if (!SWIG_IsOK(ecode4
)) {
18328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18330 arg4
= static_cast< int >(val4
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18347 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18351 wxColour
*arg3
= 0 ;
18352 wxColour
*arg4
= 0 ;
18353 wxPoint
*arg5
= 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 PyObject
* obj3
= 0 ;
18364 PyObject
* obj4
= 0 ;
18365 char * kwnames
[] = {
18366 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18371 if (!SWIG_IsOK(res1
)) {
18372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18381 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18385 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18389 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_Py_Void();
18404 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
= 0;
18406 wxDC
*arg1
= (wxDC
*) 0 ;
18408 wxColour
*arg3
= 0 ;
18409 wxColour
*arg4
= 0 ;
18410 wxDirection arg5
= (wxDirection
) wxEAST
;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 PyObject
* obj2
= 0 ;
18421 PyObject
* obj3
= 0 ;
18422 PyObject
* obj4
= 0 ;
18423 char * kwnames
[] = {
18424 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18435 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18439 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18443 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18447 if (!SWIG_IsOK(ecode5
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18450 arg5
= static_cast< wxDirection
>(val5
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_Py_Void();
18465 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
= 0;
18467 wxDC
*arg1
= (wxDC
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 PyObject
* obj2
= 0 ;
18480 char * kwnames
[] = {
18481 (char *) "self",(char *) "x",(char *) "y", NULL
18484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18491 if (!SWIG_IsOK(ecode2
)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18494 arg2
= static_cast< int >(val2
);
18495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18496 if (!SWIG_IsOK(ecode3
)) {
18497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18499 arg3
= static_cast< int >(val3
);
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18513 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
= 0;
18515 wxDC
*arg1
= (wxDC
*) 0 ;
18516 wxPoint
*arg2
= 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char * kwnames
[] = {
18524 (char *) "self",(char *) "pt", NULL
18527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18529 if (!SWIG_IsOK(res1
)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18550 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
= 0;
18552 wxDC
*arg1
= (wxDC
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 PyObject
* obj2
= 0 ;
18570 PyObject
* obj3
= 0 ;
18571 PyObject
* obj4
= 0 ;
18572 char * kwnames
[] = {
18573 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18578 if (!SWIG_IsOK(res1
)) {
18579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18583 if (!SWIG_IsOK(ecode2
)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18586 arg2
= static_cast< int >(val2
);
18587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18588 if (!SWIG_IsOK(ecode3
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18591 arg3
= static_cast< int >(val3
);
18592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18593 if (!SWIG_IsOK(ecode4
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18596 arg4
= static_cast< int >(val4
);
18597 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18598 if (!SWIG_IsOK(ecode5
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18601 arg5
= static_cast< int >(val5
);
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_Py_Void();
18615 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= 0;
18617 wxDC
*arg1
= (wxDC
*) 0 ;
18618 wxPoint
*arg2
= 0 ;
18619 wxPoint
*arg3
= 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 PyObject
* obj2
= 0 ;
18627 char * kwnames
[] = {
18628 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18633 if (!SWIG_IsOK(res1
)) {
18634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18639 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
= 0;
18660 wxDC
*arg1
= (wxDC
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 PyObject
* obj2
= 0 ;
18672 char * kwnames
[] = {
18673 (char *) "self",(char *) "x",(char *) "y", NULL
18676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18678 if (!SWIG_IsOK(res1
)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18683 if (!SWIG_IsOK(ecode2
)) {
18684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18686 arg2
= static_cast< int >(val2
);
18687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18688 if (!SWIG_IsOK(ecode3
)) {
18689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18691 arg3
= static_cast< int >(val3
);
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->CrossHair(arg2
,arg3
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_Py_Void();
18705 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
= 0;
18707 wxDC
*arg1
= (wxDC
*) 0 ;
18708 wxPoint
*arg2
= 0 ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 char * kwnames
[] = {
18715 (char *) "self",(char *) "pt", NULL
18718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18720 if (!SWIG_IsOK(res1
)) {
18721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= SWIG_Py_Void();
18741 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
= 0;
18743 wxDC
*arg1
= (wxDC
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 PyObject
* obj2
= 0 ;
18767 PyObject
* obj3
= 0 ;
18768 PyObject
* obj4
= 0 ;
18769 PyObject
* obj5
= 0 ;
18770 PyObject
* obj6
= 0 ;
18771 char * kwnames
[] = {
18772 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18777 if (!SWIG_IsOK(res1
)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18782 if (!SWIG_IsOK(ecode2
)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18785 arg2
= static_cast< int >(val2
);
18786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18787 if (!SWIG_IsOK(ecode3
)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18790 arg3
= static_cast< int >(val3
);
18791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18792 if (!SWIG_IsOK(ecode4
)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18795 arg4
= static_cast< int >(val4
);
18796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18797 if (!SWIG_IsOK(ecode5
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18800 arg5
= static_cast< int >(val5
);
18801 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18802 if (!SWIG_IsOK(ecode6
)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18805 arg6
= static_cast< int >(val6
);
18806 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18807 if (!SWIG_IsOK(ecode7
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18810 arg7
= static_cast< int >(val7
);
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_Py_Void();
18824 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
= 0;
18826 wxDC
*arg1
= (wxDC
*) 0 ;
18827 wxPoint
*arg2
= 0 ;
18828 wxPoint
*arg3
= 0 ;
18829 wxPoint
*arg4
= 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 PyObject
* obj3
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18859 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_Py_Void();
18874 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
= 0;
18876 wxDC
*arg1
= (wxDC
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 PyObject
* obj2
= 0 ;
18894 PyObject
* obj3
= 0 ;
18895 PyObject
* obj4
= 0 ;
18896 char * kwnames
[] = {
18897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18902 if (!SWIG_IsOK(res1
)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18907 if (!SWIG_IsOK(ecode2
)) {
18908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18910 arg2
= static_cast< int >(val2
);
18911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18912 if (!SWIG_IsOK(ecode3
)) {
18913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18915 arg3
= static_cast< int >(val3
);
18916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18917 if (!SWIG_IsOK(ecode4
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18920 arg4
= static_cast< int >(val4
);
18921 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18922 if (!SWIG_IsOK(ecode5
)) {
18923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18925 arg5
= static_cast< int >(val5
);
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_Py_Void();
18939 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
= 0;
18941 wxDC
*arg1
= (wxDC
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 char * kwnames
[] = {
18949 (char *) "self",(char *) "rect", NULL
18952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18954 if (!SWIG_IsOK(res1
)) {
18955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18960 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_Py_Void();
18975 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxDC
*arg1
= (wxDC
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 PyObject
* obj2
= 0 ;
19001 PyObject
* obj3
= 0 ;
19002 PyObject
* obj4
= 0 ;
19003 PyObject
* obj5
= 0 ;
19004 PyObject
* obj6
= 0 ;
19005 char * kwnames
[] = {
19006 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19011 if (!SWIG_IsOK(res1
)) {
19012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19016 if (!SWIG_IsOK(ecode2
)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19019 arg2
= static_cast< int >(val2
);
19020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19021 if (!SWIG_IsOK(ecode3
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19024 arg3
= static_cast< int >(val3
);
19025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19026 if (!SWIG_IsOK(ecode4
)) {
19027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19029 arg4
= static_cast< int >(val4
);
19030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19031 if (!SWIG_IsOK(ecode5
)) {
19032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19034 arg5
= static_cast< int >(val5
);
19035 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19036 if (!SWIG_IsOK(ecode6
)) {
19037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19039 arg6
= static_cast< double >(val6
);
19040 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19041 if (!SWIG_IsOK(ecode7
)) {
19042 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19044 arg7
= static_cast< double >(val7
);
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_Py_Void();
19058 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
= 0;
19060 wxDC
*arg1
= (wxDC
*) 0 ;
19061 wxPoint
*arg2
= 0 ;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 PyObject
* obj2
= 0 ;
19076 PyObject
* obj3
= 0 ;
19077 PyObject
* obj4
= 0 ;
19078 char * kwnames
[] = {
19079 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19084 if (!SWIG_IsOK(res1
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19094 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19096 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19097 if (!SWIG_IsOK(ecode4
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19100 arg4
= static_cast< double >(val4
);
19101 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19102 if (!SWIG_IsOK(ecode5
)) {
19103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19105 arg5
= static_cast< double >(val5
);
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19119 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxDC
*arg1
= (wxDC
*) 0 ;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 PyObject
* obj2
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "self",(char *) "x",(char *) "y", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19139 if (!SWIG_IsOK(res1
)) {
19140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19144 if (!SWIG_IsOK(ecode2
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19147 arg2
= static_cast< int >(val2
);
19148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19149 if (!SWIG_IsOK(ecode3
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19152 arg3
= static_cast< int >(val3
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 (arg1
)->DrawPoint(arg2
,arg3
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_Py_Void();
19166 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
= 0;
19168 wxDC
*arg1
= (wxDC
*) 0 ;
19169 wxPoint
*arg2
= 0 ;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 char * kwnames
[] = {
19176 (char *) "self",(char *) "pt", NULL
19179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19181 if (!SWIG_IsOK(res1
)) {
19182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_Py_Void();
19202 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
= 0;
19204 wxDC
*arg1
= (wxDC
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 PyObject
* obj2
= 0 ;
19222 PyObject
* obj3
= 0 ;
19223 PyObject
* obj4
= 0 ;
19224 char * kwnames
[] = {
19225 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19235 if (!SWIG_IsOK(ecode2
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19238 arg2
= static_cast< int >(val2
);
19239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19240 if (!SWIG_IsOK(ecode3
)) {
19241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19243 arg3
= static_cast< int >(val3
);
19244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19245 if (!SWIG_IsOK(ecode4
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19248 arg4
= static_cast< int >(val4
);
19249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19250 if (!SWIG_IsOK(ecode5
)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19253 arg5
= static_cast< int >(val5
);
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_Py_Void();
19267 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
= 0;
19269 wxDC
*arg1
= (wxDC
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char * kwnames
[] = {
19277 (char *) "self",(char *) "rect", NULL
19280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19282 if (!SWIG_IsOK(res1
)) {
19283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= SWIG_Py_Void();
19303 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
= 0;
19305 wxDC
*arg1
= (wxDC
*) 0 ;
19306 wxPoint
*arg2
= 0 ;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 PyObject
* obj2
= 0 ;
19315 char * kwnames
[] = {
19316 (char *) "self",(char *) "pt",(char *) "sz", NULL
19319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19321 if (!SWIG_IsOK(res1
)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19331 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= SWIG_Py_Void();
19346 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
= 0;
19348 wxDC
*arg1
= (wxDC
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 PyObject
* obj2
= 0 ;
19369 PyObject
* obj3
= 0 ;
19370 PyObject
* obj4
= 0 ;
19371 PyObject
* obj5
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19383 if (!SWIG_IsOK(ecode2
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19386 arg2
= static_cast< int >(val2
);
19387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19388 if (!SWIG_IsOK(ecode3
)) {
19389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19391 arg3
= static_cast< int >(val3
);
19392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19393 if (!SWIG_IsOK(ecode4
)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19396 arg4
= static_cast< int >(val4
);
19397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19398 if (!SWIG_IsOK(ecode5
)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19401 arg5
= static_cast< int >(val5
);
19402 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19403 if (!SWIG_IsOK(ecode6
)) {
19404 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19406 arg6
= static_cast< double >(val6
);
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_Py_Void();
19420 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
= 0;
19422 wxDC
*arg1
= (wxDC
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 PyObject
* obj2
= 0 ;
19433 char * kwnames
[] = {
19434 (char *) "self",(char *) "r",(char *) "radius", NULL
19437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19439 if (!SWIG_IsOK(res1
)) {
19440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19447 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19448 if (!SWIG_IsOK(ecode3
)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19451 arg3
= static_cast< double >(val3
);
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_Py_Void();
19465 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
= 0;
19467 wxDC
*arg1
= (wxDC
*) 0 ;
19468 wxPoint
*arg2
= 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 PyObject
* obj2
= 0 ;
19480 PyObject
* obj3
= 0 ;
19481 char * kwnames
[] = {
19482 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19497 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19499 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19500 if (!SWIG_IsOK(ecode4
)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19503 arg4
= static_cast< double >(val4
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxDC
*arg1
= (wxDC
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 PyObject
* obj2
= 0 ;
19534 PyObject
* obj3
= 0 ;
19535 char * kwnames
[] = {
19536 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19541 if (!SWIG_IsOK(res1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19546 if (!SWIG_IsOK(ecode2
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19549 arg2
= static_cast< int >(val2
);
19550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19551 if (!SWIG_IsOK(ecode3
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19554 arg3
= static_cast< int >(val3
);
19555 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19556 if (!SWIG_IsOK(ecode4
)) {
19557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19559 arg4
= static_cast< int >(val4
);
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_Py_Void();
19573 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
= 0;
19575 wxDC
*arg1
= (wxDC
*) 0 ;
19576 wxPoint
*arg2
= 0 ;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 PyObject
* obj2
= 0 ;
19586 char * kwnames
[] = {
19587 (char *) "self",(char *) "pt",(char *) "radius", NULL
19590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19592 if (!SWIG_IsOK(res1
)) {
19593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19601 if (!SWIG_IsOK(ecode3
)) {
19602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19604 arg3
= static_cast< int >(val3
);
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_Py_Void();
19618 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
= 0;
19620 wxDC
*arg1
= (wxDC
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 PyObject
* obj2
= 0 ;
19638 PyObject
* obj3
= 0 ;
19639 PyObject
* obj4
= 0 ;
19640 char * kwnames
[] = {
19641 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19646 if (!SWIG_IsOK(res1
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19651 if (!SWIG_IsOK(ecode2
)) {
19652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19654 arg2
= static_cast< int >(val2
);
19655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19656 if (!SWIG_IsOK(ecode3
)) {
19657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19659 arg3
= static_cast< int >(val3
);
19660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19661 if (!SWIG_IsOK(ecode4
)) {
19662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19664 arg4
= static_cast< int >(val4
);
19665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19666 if (!SWIG_IsOK(ecode5
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19669 arg5
= static_cast< int >(val5
);
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_Py_Void();
19683 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
= 0;
19685 wxDC
*arg1
= (wxDC
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char * kwnames
[] = {
19693 (char *) "self",(char *) "rect", NULL
19696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19698 if (!SWIG_IsOK(res1
)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_Py_Void();
19719 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
= 0;
19721 wxDC
*arg1
= (wxDC
*) 0 ;
19722 wxPoint
*arg2
= 0 ;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 PyObject
* obj2
= 0 ;
19731 char * kwnames
[] = {
19732 (char *) "self",(char *) "pt",(char *) "sz", NULL
19735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19737 if (!SWIG_IsOK(res1
)) {
19738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19747 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_Py_Void();
19762 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxDC
*arg1
= (wxDC
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 PyObject
* obj2
= 0 ;
19779 PyObject
* obj3
= 0 ;
19780 char * kwnames
[] = {
19781 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19786 if (!SWIG_IsOK(res1
)) {
19787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19791 if (!SWIG_IsOK(res2
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19797 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19799 if (!SWIG_IsOK(ecode3
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19802 arg3
= static_cast< int >(val3
);
19803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19804 if (!SWIG_IsOK(ecode4
)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19807 arg4
= static_cast< int >(val4
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_Py_Void();
19821 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
= 0;
19823 wxDC
*arg1
= (wxDC
*) 0 ;
19825 wxPoint
*arg3
= 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 PyObject
* obj2
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "icon",(char *) "pt", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19845 if (!SWIG_IsOK(res2
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19851 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= SWIG_Py_Void();
19869 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
= 0;
19871 wxDC
*arg1
= (wxDC
*) 0 ;
19872 wxBitmap
*arg2
= 0 ;
19875 bool arg5
= (bool) false ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 PyObject
* obj2
= 0 ;
19889 PyObject
* obj3
= 0 ;
19890 PyObject
* obj4
= 0 ;
19891 char * kwnames
[] = {
19892 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19897 if (!SWIG_IsOK(res1
)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19902 if (!SWIG_IsOK(res2
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19908 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19910 if (!SWIG_IsOK(ecode3
)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19913 arg3
= static_cast< int >(val3
);
19914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19915 if (!SWIG_IsOK(ecode4
)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19918 arg4
= static_cast< int >(val4
);
19920 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19921 if (!SWIG_IsOK(ecode5
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19924 arg5
= static_cast< bool >(val5
);
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_Py_Void();
19939 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxDC
*arg1
= (wxDC
*) 0 ;
19942 wxBitmap
*arg2
= 0 ;
19943 wxPoint
*arg3
= 0 ;
19944 bool arg4
= (bool) false ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 PyObject
* obj2
= 0 ;
19955 PyObject
* obj3
= 0 ;
19956 char * kwnames
[] = {
19957 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19967 if (!SWIG_IsOK(res2
)) {
19968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19973 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19979 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19980 if (!SWIG_IsOK(ecode4
)) {
19981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19983 arg4
= static_cast< bool >(val4
);
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_Py_Void();
19998 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
= 0;
20000 wxDC
*arg1
= (wxDC
*) 0 ;
20001 wxString
*arg2
= 0 ;
20006 bool temp2
= false ;
20011 PyObject
* obj0
= 0 ;
20012 PyObject
* obj1
= 0 ;
20013 PyObject
* obj2
= 0 ;
20014 PyObject
* obj3
= 0 ;
20015 char * kwnames
[] = {
20016 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20021 if (!SWIG_IsOK(res1
)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20026 arg2
= wxString_in_helper(obj1
);
20027 if (arg2
== NULL
) SWIG_fail
;
20030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20031 if (!SWIG_IsOK(ecode3
)) {
20032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20034 arg3
= static_cast< int >(val3
);
20035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20036 if (!SWIG_IsOK(ecode4
)) {
20037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20039 arg4
= static_cast< int >(val4
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_Py_Void();
20061 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxDC
*arg1
= (wxDC
*) 0 ;
20064 wxString
*arg2
= 0 ;
20065 wxPoint
*arg3
= 0 ;
20068 bool temp2
= false ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 PyObject
* obj2
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "text",(char *) "pt", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20084 arg2
= wxString_in_helper(obj1
);
20085 if (arg2
== NULL
) SWIG_fail
;
20090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_Py_Void();
20113 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxDC
*arg1
= (wxDC
*) 0 ;
20116 wxString
*arg2
= 0 ;
20122 bool temp2
= false ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 PyObject
* obj2
= 0 ;
20132 PyObject
* obj3
= 0 ;
20133 PyObject
* obj4
= 0 ;
20134 char * kwnames
[] = {
20135 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20140 if (!SWIG_IsOK(res1
)) {
20141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20145 arg2
= wxString_in_helper(obj1
);
20146 if (arg2
== NULL
) SWIG_fail
;
20149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20150 if (!SWIG_IsOK(ecode3
)) {
20151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20153 arg3
= static_cast< int >(val3
);
20154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20155 if (!SWIG_IsOK(ecode4
)) {
20156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20158 arg4
= static_cast< int >(val4
);
20159 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20160 if (!SWIG_IsOK(ecode5
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20163 arg5
= static_cast< double >(val5
);
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_Py_Void();
20185 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
= 0;
20187 wxDC
*arg1
= (wxDC
*) 0 ;
20188 wxString
*arg2
= 0 ;
20189 wxPoint
*arg3
= 0 ;
20193 bool temp2
= false ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 PyObject
* obj2
= 0 ;
20200 PyObject
* obj3
= 0 ;
20201 char * kwnames
[] = {
20202 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20207 if (!SWIG_IsOK(res1
)) {
20208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20212 arg2
= wxString_in_helper(obj1
);
20213 if (arg2
== NULL
) SWIG_fail
;
20218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20220 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20221 if (!SWIG_IsOK(ecode4
)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20224 arg4
= static_cast< double >(val4
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_Py_Void();
20246 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxDC
*arg1
= (wxDC
*) 0 ;
20253 wxDC
*arg6
= (wxDC
*) 0 ;
20256 int arg9
= (int) wxCOPY
;
20257 bool arg10
= (bool) false ;
20258 int arg11
= (int) -1 ;
20259 int arg12
= (int) -1 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 PyObject
* obj2
= 0 ;
20288 PyObject
* obj3
= 0 ;
20289 PyObject
* obj4
= 0 ;
20290 PyObject
* obj5
= 0 ;
20291 PyObject
* obj6
= 0 ;
20292 PyObject
* obj7
= 0 ;
20293 PyObject
* obj8
= 0 ;
20294 PyObject
* obj9
= 0 ;
20295 PyObject
* obj10
= 0 ;
20296 PyObject
* obj11
= 0 ;
20297 char * kwnames
[] = {
20298 (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
20301 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
;
20302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20303 if (!SWIG_IsOK(res1
)) {
20304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20308 if (!SWIG_IsOK(ecode2
)) {
20309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20311 arg2
= static_cast< int >(val2
);
20312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20313 if (!SWIG_IsOK(ecode3
)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20316 arg3
= static_cast< int >(val3
);
20317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20318 if (!SWIG_IsOK(ecode4
)) {
20319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20321 arg4
= static_cast< int >(val4
);
20322 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20323 if (!SWIG_IsOK(ecode5
)) {
20324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20326 arg5
= static_cast< int >(val5
);
20327 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20328 if (!SWIG_IsOK(res6
)) {
20329 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20331 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20332 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20333 if (!SWIG_IsOK(ecode7
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20336 arg7
= static_cast< int >(val7
);
20337 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20338 if (!SWIG_IsOK(ecode8
)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20341 arg8
= static_cast< int >(val8
);
20343 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20344 if (!SWIG_IsOK(ecode9
)) {
20345 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20347 arg9
= static_cast< int >(val9
);
20350 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20351 if (!SWIG_IsOK(ecode10
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20354 arg10
= static_cast< bool >(val10
);
20357 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20358 if (!SWIG_IsOK(ecode11
)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20361 arg11
= static_cast< int >(val11
);
20364 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20365 if (!SWIG_IsOK(ecode12
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20368 arg12
= static_cast< int >(val12
);
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20385 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
= 0;
20387 wxDC
*arg1
= (wxDC
*) 0 ;
20388 wxPoint
*arg2
= 0 ;
20390 wxDC
*arg4
= (wxDC
*) 0 ;
20391 wxPoint
*arg5
= 0 ;
20392 int arg6
= (int) wxCOPY
;
20393 bool arg7
= (bool) false ;
20394 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20395 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20409 PyObject
* obj0
= 0 ;
20410 PyObject
* obj1
= 0 ;
20411 PyObject
* obj2
= 0 ;
20412 PyObject
* obj3
= 0 ;
20413 PyObject
* obj4
= 0 ;
20414 PyObject
* obj5
= 0 ;
20415 PyObject
* obj6
= 0 ;
20416 PyObject
* obj7
= 0 ;
20417 char * kwnames
[] = {
20418 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20423 if (!SWIG_IsOK(res1
)) {
20424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20433 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20435 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20436 if (!SWIG_IsOK(res4
)) {
20437 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20439 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20445 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20446 if (!SWIG_IsOK(ecode6
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20449 arg6
= static_cast< int >(val6
);
20452 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20453 if (!SWIG_IsOK(ecode7
)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20456 arg7
= static_cast< bool >(val7
);
20461 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20479 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
= 0;
20481 wxDC
*arg1
= (wxDC
*) 0 ;
20482 wxRect
*arg2
= (wxRect
*) NULL
;
20483 SwigValueWrapper
<wxBitmap
> result
;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 char * kwnames
[] = {
20491 (char *) "self",(char *) "subrect", NULL
20494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20496 if (!SWIG_IsOK(res1
)) {
20497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20502 if (!SWIG_IsOK(res2
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20505 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20520 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxDC
*arg1
= (wxDC
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 PyObject
* obj2
= 0 ;
20540 PyObject
* obj3
= 0 ;
20541 PyObject
* obj4
= 0 ;
20542 char * kwnames
[] = {
20543 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20548 if (!SWIG_IsOK(res1
)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20553 if (!SWIG_IsOK(ecode2
)) {
20554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20556 arg2
= static_cast< int >(val2
);
20557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20558 if (!SWIG_IsOK(ecode3
)) {
20559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20561 arg3
= static_cast< int >(val3
);
20562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20563 if (!SWIG_IsOK(ecode4
)) {
20564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20566 arg4
= static_cast< int >(val4
);
20567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20568 if (!SWIG_IsOK(ecode5
)) {
20569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20571 arg5
= static_cast< int >(val5
);
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_Py_Void();
20585 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
= 0;
20587 wxDC
*arg1
= (wxDC
*) 0 ;
20588 wxPoint
*arg2
= 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 PyObject
* obj2
= 0 ;
20597 char * kwnames
[] = {
20598 (char *) "self",(char *) "pt",(char *) "sz", NULL
20601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20603 if (!SWIG_IsOK(res1
)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20613 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_Py_Void();
20628 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
= 0;
20630 wxDC
*arg1
= (wxDC
*) 0 ;
20631 wxRegion
*arg2
= 0 ;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20638 char * kwnames
[] = {
20639 (char *) "self",(char *) "region", NULL
20642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20644 if (!SWIG_IsOK(res1
)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20649 if (!SWIG_IsOK(res2
)) {
20650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20655 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_Py_Void();
20669 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
= 0;
20671 wxDC
*arg1
= (wxDC
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 char * kwnames
[] = {
20679 (char *) "self",(char *) "rect", NULL
20682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20684 if (!SWIG_IsOK(res1
)) {
20685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20690 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= SWIG_Py_Void();
20705 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
= 0;
20707 wxDC
*arg1
= (wxDC
*) 0 ;
20709 wxPoint
*arg3
= (wxPoint
*) 0 ;
20710 int arg4
= (int) 0 ;
20711 int arg5
= (int) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 PyObject
* obj2
= 0 ;
20721 PyObject
* obj3
= 0 ;
20722 char * kwnames
[] = {
20723 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20728 if (!SWIG_IsOK(res1
)) {
20729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20733 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20734 if (arg3
== NULL
) SWIG_fail
;
20737 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20738 if (!SWIG_IsOK(ecode4
)) {
20739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20741 arg4
= static_cast< int >(val4
);
20744 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20745 if (!SWIG_IsOK(ecode5
)) {
20746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20748 arg5
= static_cast< int >(val5
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_Py_Void();
20758 if (arg3
) delete [] arg3
;
20763 if (arg3
) delete [] arg3
;
20769 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
= 0;
20771 wxDC
*arg1
= (wxDC
*) 0 ;
20773 wxPoint
*arg3
= (wxPoint
*) 0 ;
20774 int arg4
= (int) 0 ;
20775 int arg5
= (int) 0 ;
20776 int arg6
= (int) wxODDEVEN_RULE
;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 PyObject
* obj2
= 0 ;
20788 PyObject
* obj3
= 0 ;
20789 PyObject
* obj4
= 0 ;
20790 char * kwnames
[] = {
20791 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20801 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20802 if (arg3
== NULL
) SWIG_fail
;
20805 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20806 if (!SWIG_IsOK(ecode4
)) {
20807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20809 arg4
= static_cast< int >(val4
);
20812 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20813 if (!SWIG_IsOK(ecode5
)) {
20814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20816 arg5
= static_cast< int >(val5
);
20819 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20820 if (!SWIG_IsOK(ecode6
)) {
20821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20823 arg6
= static_cast< int >(val6
);
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_Py_Void();
20833 if (arg3
) delete [] arg3
;
20838 if (arg3
) delete [] arg3
;
20844 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
= 0;
20846 wxDC
*arg1
= (wxDC
*) 0 ;
20847 wxString
*arg2
= 0 ;
20849 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20850 int arg5
= (int) -1 ;
20853 bool temp2
= false ;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 PyObject
* obj2
= 0 ;
20862 PyObject
* obj3
= 0 ;
20863 PyObject
* obj4
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20875 arg2
= wxString_in_helper(obj1
);
20876 if (arg2
== NULL
) SWIG_fail
;
20881 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20885 if (!SWIG_IsOK(ecode4
)) {
20886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20888 arg4
= static_cast< int >(val4
);
20891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20892 if (!SWIG_IsOK(ecode5
)) {
20893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20895 arg5
= static_cast< int >(val5
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_Py_Void();
20918 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
= 0;
20920 wxDC
*arg1
= (wxDC
*) 0 ;
20921 wxString
*arg2
= 0 ;
20922 wxBitmap
*arg3
= 0 ;
20924 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20925 int arg6
= (int) -1 ;
20929 bool temp2
= false ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 PyObject
* obj4
= 0 ;
20942 PyObject
* obj5
= 0 ;
20943 char * kwnames
[] = {
20944 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20954 arg2
= wxString_in_helper(obj1
);
20955 if (arg2
== NULL
) SWIG_fail
;
20958 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20959 if (!SWIG_IsOK(res3
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20965 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20968 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20971 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20972 if (!SWIG_IsOK(ecode5
)) {
20973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20975 arg5
= static_cast< int >(val5
);
20978 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20979 if (!SWIG_IsOK(ecode6
)) {
20980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20982 arg6
= static_cast< int >(val6
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21005 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
= 0;
21007 wxDC
*arg1
= (wxDC
*) 0 ;
21009 wxPoint
*arg3
= (wxPoint
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char * kwnames
[] = {
21015 (char *) "self",(char *) "points", NULL
21018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21020 if (!SWIG_IsOK(res1
)) {
21021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21025 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21026 if (arg3
== NULL
) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 (arg1
)->DrawSpline(arg2
,arg3
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_Py_Void();
21036 if (arg3
) delete [] arg3
;
21041 if (arg3
) delete [] arg3
;
21047 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21048 PyObject
*resultobj
= 0;
21049 wxDC
*arg1
= (wxDC
*) 0 ;
21052 PyObject
*swig_obj
[1] ;
21054 if (!args
) SWIG_fail
;
21055 swig_obj
[0] = args
;
21056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21057 if (!SWIG_IsOK(res1
)) {
21058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= SWIG_Py_Void();
21074 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
= 0;
21076 wxDC
*arg1
= (wxDC
*) 0 ;
21077 wxString
*arg2
= 0 ;
21081 bool temp2
= false ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 char * kwnames
[] = {
21085 (char *) "self",(char *) "message", NULL
21088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21090 if (!SWIG_IsOK(res1
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21095 arg2
= wxString_in_helper(obj1
);
21096 if (arg2
== NULL
) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21122 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 PyObject
*resultobj
= 0;
21124 wxDC
*arg1
= (wxDC
*) 0 ;
21127 PyObject
*swig_obj
[1] ;
21129 if (!args
) SWIG_fail
;
21130 swig_obj
[0] = args
;
21131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_Py_Void();
21149 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21150 PyObject
*resultobj
= 0;
21151 wxDC
*arg1
= (wxDC
*) 0 ;
21154 PyObject
*swig_obj
[1] ;
21156 if (!args
) SWIG_fail
;
21157 swig_obj
[0] = args
;
21158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21159 if (!SWIG_IsOK(res1
)) {
21160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->StartPage();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_Py_Void();
21176 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21177 PyObject
*resultobj
= 0;
21178 wxDC
*arg1
= (wxDC
*) 0 ;
21181 PyObject
*swig_obj
[1] ;
21183 if (!args
) SWIG_fail
;
21184 swig_obj
[0] = args
;
21185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= SWIG_Py_Void();
21203 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
= 0;
21205 wxDC
*arg1
= (wxDC
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char * kwnames
[] = {
21214 (char *) "self",(char *) "font", NULL
21217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21224 if (!SWIG_IsOK(res2
)) {
21225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21230 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 (arg1
)->SetFont((wxFont
const &)*arg2
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_Py_Void();
21244 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
= 0;
21246 wxDC
*arg1
= (wxDC
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char * kwnames
[] = {
21255 (char *) "self",(char *) "pen", NULL
21258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21265 if (!SWIG_IsOK(res2
)) {
21266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21271 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 (arg1
)->SetPen((wxPen
const &)*arg2
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_Py_Void();
21285 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
= 0;
21287 wxDC
*arg1
= (wxDC
*) 0 ;
21288 wxBrush
*arg2
= 0 ;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 char * kwnames
[] = {
21296 (char *) "self",(char *) "brush", NULL
21299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21301 if (!SWIG_IsOK(res1
)) {
21302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21306 if (!SWIG_IsOK(res2
)) {
21307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21312 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_Py_Void();
21326 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
= 0;
21328 wxDC
*arg1
= (wxDC
*) 0 ;
21329 wxBrush
*arg2
= 0 ;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 char * kwnames
[] = {
21337 (char *) "self",(char *) "brush", NULL
21340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21342 if (!SWIG_IsOK(res1
)) {
21343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21347 if (!SWIG_IsOK(res2
)) {
21348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21353 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_Py_Void();
21367 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= 0;
21369 wxDC
*arg1
= (wxDC
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char * kwnames
[] = {
21378 (char *) "self",(char *) "mode", NULL
21381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21383 if (!SWIG_IsOK(res1
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21388 if (!SWIG_IsOK(ecode2
)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21391 arg2
= static_cast< int >(val2
);
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetBackgroundMode(arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_Py_Void();
21405 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
= 0;
21407 wxDC
*arg1
= (wxDC
*) 0 ;
21408 wxPalette
*arg2
= 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char * kwnames
[] = {
21416 (char *) "self",(char *) "palette", NULL
21419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21421 if (!SWIG_IsOK(res1
)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21426 if (!SWIG_IsOK(res2
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21432 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= SWIG_Py_Void();
21446 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21447 PyObject
*resultobj
= 0;
21448 wxDC
*arg1
= (wxDC
*) 0 ;
21451 PyObject
*swig_obj
[1] ;
21453 if (!args
) SWIG_fail
;
21454 swig_obj
[0] = args
;
21455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 (arg1
)->DestroyClippingRegion();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= SWIG_Py_Void();
21473 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21474 PyObject
*resultobj
= 0;
21475 wxDC
*arg1
= (wxDC
*) 0 ;
21476 int *arg2
= (int *) 0 ;
21477 int *arg3
= (int *) 0 ;
21478 int *arg4
= (int *) 0 ;
21479 int *arg5
= (int *) 0 ;
21483 int res2
= SWIG_TMPOBJ
;
21485 int res3
= SWIG_TMPOBJ
;
21487 int res4
= SWIG_TMPOBJ
;
21489 int res5
= SWIG_TMPOBJ
;
21490 PyObject
*swig_obj
[1] ;
21496 if (!args
) SWIG_fail
;
21497 swig_obj
[0] = args
;
21498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21499 if (!SWIG_IsOK(res1
)) {
21500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_Py_Void();
21510 if (SWIG_IsTmpObj(res2
)) {
21511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21513 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21516 if (SWIG_IsTmpObj(res3
)) {
21517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21519 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21522 if (SWIG_IsTmpObj(res4
)) {
21523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21525 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21526 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21528 if (SWIG_IsTmpObj(res5
)) {
21529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21531 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21540 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21541 PyObject
*resultobj
= 0;
21542 wxDC
*arg1
= (wxDC
*) 0 ;
21546 PyObject
*swig_obj
[1] ;
21548 if (!args
) SWIG_fail
;
21549 swig_obj
[0] = args
;
21550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21551 if (!SWIG_IsOK(res1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= wxDC_GetClippingRect(arg1
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21568 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21569 PyObject
*resultobj
= 0;
21570 wxDC
*arg1
= (wxDC
*) 0 ;
21574 PyObject
*swig_obj
[1] ;
21576 if (!args
) SWIG_fail
;
21577 swig_obj
[0] = args
;
21578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21579 if (!SWIG_IsOK(res1
)) {
21580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_From_int(static_cast< int >(result
));
21596 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21602 PyObject
*swig_obj
[1] ;
21604 if (!args
) SWIG_fail
;
21605 swig_obj
[0] = args
;
21606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_From_int(static_cast< int >(result
));
21624 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
= 0;
21626 wxDC
*arg1
= (wxDC
*) 0 ;
21627 wxString
*arg2
= 0 ;
21628 int *arg3
= (int *) 0 ;
21629 int *arg4
= (int *) 0 ;
21632 bool temp2
= false ;
21634 int res3
= SWIG_TMPOBJ
;
21636 int res4
= SWIG_TMPOBJ
;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char * kwnames
[] = {
21640 (char *) "self",(char *) "string", NULL
21645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21647 if (!SWIG_IsOK(res1
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21652 arg2
= wxString_in_helper(obj1
);
21653 if (arg2
== NULL
) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_Py_Void();
21663 if (SWIG_IsTmpObj(res3
)) {
21664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21666 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21669 if (SWIG_IsTmpObj(res4
)) {
21670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21672 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21689 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
= 0;
21691 wxDC
*arg1
= (wxDC
*) 0 ;
21692 wxString
*arg2
= 0 ;
21693 int *arg3
= (int *) 0 ;
21694 int *arg4
= (int *) 0 ;
21695 int *arg5
= (int *) 0 ;
21696 int *arg6
= (int *) 0 ;
21697 wxFont
*arg7
= (wxFont
*) NULL
;
21700 bool temp2
= false ;
21702 int res3
= SWIG_TMPOBJ
;
21704 int res4
= SWIG_TMPOBJ
;
21706 int res5
= SWIG_TMPOBJ
;
21708 int res6
= SWIG_TMPOBJ
;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 PyObject
* obj2
= 0 ;
21714 char * kwnames
[] = {
21715 (char *) "self",(char *) "string",(char *) "font", NULL
21722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21724 if (!SWIG_IsOK(res1
)) {
21725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21729 arg2
= wxString_in_helper(obj1
);
21730 if (arg2
== NULL
) SWIG_fail
;
21734 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21735 if (!SWIG_IsOK(res7
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21738 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_Py_Void();
21747 if (SWIG_IsTmpObj(res3
)) {
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21750 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21753 if (SWIG_IsTmpObj(res4
)) {
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21756 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21759 if (SWIG_IsTmpObj(res5
)) {
21760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21762 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21765 if (SWIG_IsTmpObj(res6
)) {
21766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21768 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21785 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
= 0;
21787 wxDC
*arg1
= (wxDC
*) 0 ;
21788 wxString
*arg2
= 0 ;
21789 int *arg3
= (int *) 0 ;
21790 int *arg4
= (int *) 0 ;
21791 int *arg5
= (int *) 0 ;
21792 wxFont
*arg6
= (wxFont
*) NULL
;
21795 bool temp2
= false ;
21797 int res3
= SWIG_TMPOBJ
;
21799 int res4
= SWIG_TMPOBJ
;
21801 int res5
= SWIG_TMPOBJ
;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 PyObject
* obj2
= 0 ;
21807 char * kwnames
[] = {
21808 (char *) "self",(char *) "text",(char *) "font", NULL
21814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21816 if (!SWIG_IsOK(res1
)) {
21817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21821 arg2
= wxString_in_helper(obj1
);
21822 if (arg2
== NULL
) SWIG_fail
;
21826 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21827 if (!SWIG_IsOK(res6
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21830 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_Py_Void();
21839 if (SWIG_IsTmpObj(res3
)) {
21840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21842 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21845 if (SWIG_IsTmpObj(res4
)) {
21846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21851 if (SWIG_IsTmpObj(res5
)) {
21852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21871 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
= 0;
21873 wxDC
*arg1
= (wxDC
*) 0 ;
21874 wxString
*arg2
= 0 ;
21878 bool temp2
= false ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char * kwnames
[] = {
21882 (char *) "self",(char *) "text", NULL
21885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21887 if (!SWIG_IsOK(res1
)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21892 arg2
= wxString_in_helper(obj1
);
21893 if (arg2
== NULL
) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= wxArrayInt2PyList_helper(result
);
21919 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21920 PyObject
*resultobj
= 0;
21921 wxDC
*arg1
= (wxDC
*) 0 ;
21925 PyObject
*swig_obj
[1] ;
21927 if (!args
) SWIG_fail
;
21928 swig_obj
[0] = args
;
21929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21930 if (!SWIG_IsOK(res1
)) {
21931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (arg1
)->GetSize();
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21947 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21948 PyObject
*resultobj
= 0;
21949 wxDC
*arg1
= (wxDC
*) 0 ;
21950 int *arg2
= (int *) 0 ;
21951 int *arg3
= (int *) 0 ;
21955 int res2
= SWIG_TMPOBJ
;
21957 int res3
= SWIG_TMPOBJ
;
21958 PyObject
*swig_obj
[1] ;
21962 if (!args
) SWIG_fail
;
21963 swig_obj
[0] = args
;
21964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->GetSize(arg2
,arg3
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_Py_Void();
21976 if (SWIG_IsTmpObj(res2
)) {
21977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21979 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21982 if (SWIG_IsTmpObj(res3
)) {
21983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21985 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21994 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21995 PyObject
*resultobj
= 0;
21996 wxDC
*arg1
= (wxDC
*) 0 ;
22000 PyObject
*swig_obj
[1] ;
22002 if (!args
) SWIG_fail
;
22003 swig_obj
[0] = args
;
22004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22022 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22023 PyObject
*resultobj
= 0;
22024 wxDC
*arg1
= (wxDC
*) 0 ;
22025 int *arg2
= (int *) 0 ;
22026 int *arg3
= (int *) 0 ;
22030 int res2
= SWIG_TMPOBJ
;
22032 int res3
= SWIG_TMPOBJ
;
22033 PyObject
*swig_obj
[1] ;
22037 if (!args
) SWIG_fail
;
22038 swig_obj
[0] = args
;
22039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22040 if (!SWIG_IsOK(res1
)) {
22041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= SWIG_Py_Void();
22051 if (SWIG_IsTmpObj(res2
)) {
22052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22054 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22057 if (SWIG_IsTmpObj(res3
)) {
22058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22060 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22069 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxDC
*arg1
= (wxDC
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char * kwnames
[] = {
22081 (char *) "self",(char *) "x", NULL
22084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22086 if (!SWIG_IsOK(res1
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22091 if (!SWIG_IsOK(ecode2
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22094 arg2
= static_cast< int >(val2
);
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_From_int(static_cast< int >(result
));
22108 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= 0;
22110 wxDC
*arg1
= (wxDC
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char * kwnames
[] = {
22120 (char *) "self",(char *) "y", NULL
22123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22125 if (!SWIG_IsOK(res1
)) {
22126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22130 if (!SWIG_IsOK(ecode2
)) {
22131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22133 arg2
= static_cast< int >(val2
);
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_From_int(static_cast< int >(result
));
22147 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= 0;
22149 wxDC
*arg1
= (wxDC
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 PyObject
* obj1
= 0 ;
22158 char * kwnames
[] = {
22159 (char *) "self",(char *) "x", NULL
22162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22164 if (!SWIG_IsOK(res1
)) {
22165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22169 if (!SWIG_IsOK(ecode2
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22172 arg2
= static_cast< int >(val2
);
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= SWIG_From_int(static_cast< int >(result
));
22186 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
= 0;
22188 wxDC
*arg1
= (wxDC
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 char * kwnames
[] = {
22198 (char *) "self",(char *) "y", NULL
22201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22208 if (!SWIG_IsOK(ecode2
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22211 arg2
= static_cast< int >(val2
);
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_From_int(static_cast< int >(result
));
22225 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
= 0;
22227 wxDC
*arg1
= (wxDC
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "x", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22250 arg2
= static_cast< int >(val2
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_From_int(static_cast< int >(result
));
22264 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
= 0;
22266 wxDC
*arg1
= (wxDC
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 PyObject
* obj1
= 0 ;
22275 char * kwnames
[] = {
22276 (char *) "self",(char *) "y", NULL
22279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22281 if (!SWIG_IsOK(res1
)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22286 if (!SWIG_IsOK(ecode2
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22289 arg2
= static_cast< int >(val2
);
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_From_int(static_cast< int >(result
));
22303 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
= 0;
22305 wxDC
*arg1
= (wxDC
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char * kwnames
[] = {
22315 (char *) "self",(char *) "x", NULL
22318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22320 if (!SWIG_IsOK(res1
)) {
22321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22325 if (!SWIG_IsOK(ecode2
)) {
22326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22328 arg2
= static_cast< int >(val2
);
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_From_int(static_cast< int >(result
));
22342 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
= 0;
22344 wxDC
*arg1
= (wxDC
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 char * kwnames
[] = {
22354 (char *) "self",(char *) "y", NULL
22357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22359 if (!SWIG_IsOK(res1
)) {
22360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22364 if (!SWIG_IsOK(ecode2
)) {
22365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22367 arg2
= static_cast< int >(val2
);
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_From_int(static_cast< int >(result
));
22381 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22382 PyObject
*resultobj
= 0;
22383 wxDC
*arg1
= (wxDC
*) 0 ;
22387 PyObject
*swig_obj
[1] ;
22389 if (!args
) SWIG_fail
;
22390 swig_obj
[0] = args
;
22391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22411 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22412 PyObject
*resultobj
= 0;
22413 wxDC
*arg1
= (wxDC
*) 0 ;
22417 PyObject
*swig_obj
[1] ;
22419 if (!args
) SWIG_fail
;
22420 swig_obj
[0] = args
;
22421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22441 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22442 PyObject
*resultobj
= 0;
22443 wxDC
*arg1
= (wxDC
*) 0 ;
22447 PyObject
*swig_obj
[1] ;
22449 if (!args
) SWIG_fail
;
22450 swig_obj
[0] = args
;
22451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_From_int(static_cast< int >(result
));
22469 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22470 PyObject
*resultobj
= 0;
22471 wxDC
*arg1
= (wxDC
*) 0 ;
22475 PyObject
*swig_obj
[1] ;
22477 if (!args
) SWIG_fail
;
22478 swig_obj
[0] = args
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= ((wxDC
const *)arg1
)->GetPPI();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22497 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxDC
*arg1
= (wxDC
*) 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22527 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxDC
*arg1
= (wxDC
*) 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_From_int(static_cast< int >(result
));
22555 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22556 PyObject
*resultobj
= 0;
22557 wxDC
*arg1
= (wxDC
*) 0 ;
22558 wxBrush
*result
= 0 ;
22561 PyObject
*swig_obj
[1] ;
22563 if (!args
) SWIG_fail
;
22564 swig_obj
[0] = args
;
22565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22574 result
= (wxBrush
*) &_result_ref
;
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 wxBrush
* resultptr
= new wxBrush(*result
);
22581 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22589 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22590 PyObject
*resultobj
= 0;
22591 wxDC
*arg1
= (wxDC
*) 0 ;
22592 wxBrush
*result
= 0 ;
22595 PyObject
*swig_obj
[1] ;
22597 if (!args
) SWIG_fail
;
22598 swig_obj
[0] = args
;
22599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22600 if (!SWIG_IsOK(res1
)) {
22601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22608 result
= (wxBrush
*) &_result_ref
;
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxBrush
* resultptr
= new wxBrush(*result
);
22615 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22623 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxDC
*arg1
= (wxDC
*) 0 ;
22626 wxFont
*result
= 0 ;
22629 PyObject
*swig_obj
[1] ;
22631 if (!args
) SWIG_fail
;
22632 swig_obj
[0] = args
;
22633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22642 result
= (wxFont
*) &_result_ref
;
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 wxFont
* resultptr
= new wxFont(*result
);
22649 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22657 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22658 PyObject
*resultobj
= 0;
22659 wxDC
*arg1
= (wxDC
*) 0 ;
22660 wxPen
*result
= 0 ;
22663 PyObject
*swig_obj
[1] ;
22665 if (!args
) SWIG_fail
;
22666 swig_obj
[0] = args
;
22667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22668 if (!SWIG_IsOK(res1
)) {
22669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22676 result
= (wxPen
*) &_result_ref
;
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 wxPen
* resultptr
= new wxPen(*result
);
22683 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22691 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22692 PyObject
*resultobj
= 0;
22693 wxDC
*arg1
= (wxDC
*) 0 ;
22694 wxColour
*result
= 0 ;
22697 PyObject
*swig_obj
[1] ;
22699 if (!args
) SWIG_fail
;
22700 swig_obj
[0] = args
;
22701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22702 if (!SWIG_IsOK(res1
)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22710 result
= (wxColour
*) &_result_ref
;
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22722 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxDC
*arg1
= (wxDC
*) 0 ;
22725 wxColour
*result
= 0 ;
22728 PyObject
*swig_obj
[1] ;
22730 if (!args
) SWIG_fail
;
22731 swig_obj
[0] = args
;
22732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22741 result
= (wxColour
*) &_result_ref
;
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22753 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= 0;
22755 wxDC
*arg1
= (wxDC
*) 0 ;
22756 wxColour
*arg2
= 0 ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char * kwnames
[] = {
22763 (char *) "self",(char *) "colour", NULL
22766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22774 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_Py_Void();
22789 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
= 0;
22791 wxDC
*arg1
= (wxDC
*) 0 ;
22792 wxColour
*arg2
= 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char * kwnames
[] = {
22799 (char *) "self",(char *) "colour", NULL
22802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_Py_Void();
22825 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxDC
*arg1
= (wxDC
*) 0 ;
22831 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_From_int(static_cast< int >(result
));
22853 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
= 0;
22855 wxDC
*arg1
= (wxDC
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 char * kwnames
[] = {
22864 (char *) "self",(char *) "mode", NULL
22867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22874 if (!SWIG_IsOK(ecode2
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22877 arg2
= static_cast< int >(val2
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->SetMapMode(arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22892 PyObject
*resultobj
= 0;
22893 wxDC
*arg1
= (wxDC
*) 0 ;
22894 double *arg2
= (double *) 0 ;
22895 double *arg3
= (double *) 0 ;
22899 int res2
= SWIG_TMPOBJ
;
22901 int res3
= SWIG_TMPOBJ
;
22902 PyObject
*swig_obj
[1] ;
22906 if (!args
) SWIG_fail
;
22907 swig_obj
[0] = args
;
22908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22909 if (!SWIG_IsOK(res1
)) {
22910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_Py_Void();
22920 if (SWIG_IsTmpObj(res2
)) {
22921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22923 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22926 if (SWIG_IsTmpObj(res3
)) {
22927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22929 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22938 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
= 0;
22940 wxDC
*arg1
= (wxDC
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 PyObject
* obj2
= 0 ;
22952 char * kwnames
[] = {
22953 (char *) "self",(char *) "x",(char *) "y", NULL
22956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22958 if (!SWIG_IsOK(res1
)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22962 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22963 if (!SWIG_IsOK(ecode2
)) {
22964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22966 arg2
= static_cast< double >(val2
);
22967 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22968 if (!SWIG_IsOK(ecode3
)) {
22969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22971 arg3
= static_cast< double >(val3
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->SetUserScale(arg2
,arg3
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_Py_Void();
22985 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22986 PyObject
*resultobj
= 0;
22987 wxDC
*arg1
= (wxDC
*) 0 ;
22988 double *arg2
= (double *) 0 ;
22989 double *arg3
= (double *) 0 ;
22993 int res2
= SWIG_TMPOBJ
;
22995 int res3
= SWIG_TMPOBJ
;
22996 PyObject
*swig_obj
[1] ;
23000 if (!args
) SWIG_fail
;
23001 swig_obj
[0] = args
;
23002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 (arg1
)->GetLogicalScale(arg2
,arg3
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_Py_Void();
23014 if (SWIG_IsTmpObj(res2
)) {
23015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23017 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23020 if (SWIG_IsTmpObj(res3
)) {
23021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23023 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23032 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
= 0;
23034 wxDC
*arg1
= (wxDC
*) 0 ;
23043 PyObject
* obj0
= 0 ;
23044 PyObject
* obj1
= 0 ;
23045 PyObject
* obj2
= 0 ;
23046 char * kwnames
[] = {
23047 (char *) "self",(char *) "x",(char *) "y", NULL
23050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23056 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23057 if (!SWIG_IsOK(ecode2
)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23060 arg2
= static_cast< double >(val2
);
23061 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23062 if (!SWIG_IsOK(ecode3
)) {
23063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23065 arg3
= static_cast< double >(val3
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 (arg1
)->SetLogicalScale(arg2
,arg3
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_Py_Void();
23079 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxDC
*arg1
= (wxDC
*) 0 ;
23085 PyObject
*swig_obj
[1] ;
23087 if (!args
) SWIG_fail
;
23088 swig_obj
[0] = args
;
23089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23107 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23108 PyObject
*resultobj
= 0;
23109 wxDC
*arg1
= (wxDC
*) 0 ;
23110 int *arg2
= (int *) 0 ;
23111 int *arg3
= (int *) 0 ;
23115 int res2
= SWIG_TMPOBJ
;
23117 int res3
= SWIG_TMPOBJ
;
23118 PyObject
*swig_obj
[1] ;
23122 if (!args
) SWIG_fail
;
23123 swig_obj
[0] = args
;
23124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23125 if (!SWIG_IsOK(res1
)) {
23126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_Py_Void();
23136 if (SWIG_IsTmpObj(res2
)) {
23137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23139 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23142 if (SWIG_IsTmpObj(res3
)) {
23143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23145 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23154 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
= 0;
23156 wxDC
*arg1
= (wxDC
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 PyObject
* obj2
= 0 ;
23168 char * kwnames
[] = {
23169 (char *) "self",(char *) "x",(char *) "y", NULL
23172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23174 if (!SWIG_IsOK(res1
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23179 if (!SWIG_IsOK(ecode2
)) {
23180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23182 arg2
= static_cast< int >(val2
);
23183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23184 if (!SWIG_IsOK(ecode3
)) {
23185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23187 arg3
= static_cast< int >(val3
);
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= SWIG_Py_Void();
23201 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
= 0;
23203 wxDC
*arg1
= (wxDC
*) 0 ;
23204 wxPoint
*arg2
= 0 ;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char * kwnames
[] = {
23211 (char *) "self",(char *) "point", NULL
23214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23216 if (!SWIG_IsOK(res1
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_Py_Void();
23237 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23238 PyObject
*resultobj
= 0;
23239 wxDC
*arg1
= (wxDC
*) 0 ;
23243 PyObject
*swig_obj
[1] ;
23245 if (!args
) SWIG_fail
;
23246 swig_obj
[0] = args
;
23247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23265 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23266 PyObject
*resultobj
= 0;
23267 wxDC
*arg1
= (wxDC
*) 0 ;
23268 int *arg2
= (int *) 0 ;
23269 int *arg3
= (int *) 0 ;
23273 int res2
= SWIG_TMPOBJ
;
23275 int res3
= SWIG_TMPOBJ
;
23276 PyObject
*swig_obj
[1] ;
23280 if (!args
) SWIG_fail
;
23281 swig_obj
[0] = args
;
23282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23283 if (!SWIG_IsOK(res1
)) {
23284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_Py_Void();
23294 if (SWIG_IsTmpObj(res2
)) {
23295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23297 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23300 if (SWIG_IsTmpObj(res3
)) {
23301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23312 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
= 0;
23314 wxDC
*arg1
= (wxDC
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 PyObject
* obj1
= 0 ;
23325 PyObject
* obj2
= 0 ;
23326 char * kwnames
[] = {
23327 (char *) "self",(char *) "x",(char *) "y", NULL
23330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23337 if (!SWIG_IsOK(ecode2
)) {
23338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23340 arg2
= static_cast< int >(val2
);
23341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23342 if (!SWIG_IsOK(ecode3
)) {
23343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23345 arg3
= static_cast< int >(val3
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_Py_Void();
23359 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 wxDC
*arg1
= (wxDC
*) 0 ;
23362 wxPoint
*arg2
= 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 char * kwnames
[] = {
23369 (char *) "self",(char *) "point", NULL
23372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= SWIG_Py_Void();
23395 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
= 0;
23397 wxDC
*arg1
= (wxDC
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 PyObject
* obj2
= 0 ;
23409 char * kwnames
[] = {
23410 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23415 if (!SWIG_IsOK(res1
)) {
23416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23419 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23420 if (!SWIG_IsOK(ecode2
)) {
23421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23423 arg2
= static_cast< bool >(val2
);
23424 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23425 if (!SWIG_IsOK(ecode3
)) {
23426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23428 arg3
= static_cast< bool >(val3
);
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_Py_Void();
23442 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23443 PyObject
*resultobj
= 0;
23444 wxDC
*arg1
= (wxDC
*) 0 ;
23448 PyObject
*swig_obj
[1] ;
23450 if (!args
) SWIG_fail
;
23451 swig_obj
[0] = args
;
23452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_From_int(static_cast< int >(result
));
23470 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= 0;
23472 wxDC
*arg1
= (wxDC
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "self",(char *) "function", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23491 if (!SWIG_IsOK(ecode2
)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23494 arg2
= static_cast< int >(val2
);
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 (arg1
)->SetLogicalFunction(arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_Py_Void();
23508 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23509 PyObject
*resultobj
= 0;
23510 wxDC
*arg1
= (wxDC
*) 0 ;
23513 PyObject
*swig_obj
[1] ;
23515 if (!args
) SWIG_fail
;
23516 swig_obj
[0] = args
;
23517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->ComputeScaleAndOrigin();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_Py_Void();
23535 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
= 0;
23537 wxDC
*arg1
= (wxDC
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 PyObject
* obj2
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "self",(char *) "x",(char *) "y", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23560 if (!SWIG_IsOK(ecode2
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23563 arg2
= static_cast< int >(val2
);
23564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23565 if (!SWIG_IsOK(ecode3
)) {
23566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23568 arg3
= static_cast< int >(val3
);
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= SWIG_Py_Void();
23582 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
= 0;
23584 wxDC
*arg1
= (wxDC
*) 0 ;
23585 wxPoint
*arg2
= 0 ;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char * kwnames
[] = {
23592 (char *) "self",(char *) "point", NULL
23595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23597 if (!SWIG_IsOK(res1
)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_Py_Void();
23618 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 PyObject
*resultobj
= 0;
23620 wxDC
*arg1
= (wxDC
*) 0 ;
23623 PyObject
*swig_obj
[1] ;
23625 if (!args
) SWIG_fail
;
23626 swig_obj
[0] = args
;
23627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 (arg1
)->ResetBoundingBox();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_Py_Void();
23645 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23646 PyObject
*resultobj
= 0;
23647 wxDC
*arg1
= (wxDC
*) 0 ;
23651 PyObject
*swig_obj
[1] ;
23653 if (!args
) SWIG_fail
;
23654 swig_obj
[0] = args
;
23655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23656 if (!SWIG_IsOK(res1
)) {
23657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (int)((wxDC
const *)arg1
)->MinX();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_From_int(static_cast< int >(result
));
23673 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23675 wxDC
*arg1
= (wxDC
*) 0 ;
23679 PyObject
*swig_obj
[1] ;
23681 if (!args
) SWIG_fail
;
23682 swig_obj
[0] = args
;
23683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (int)((wxDC
const *)arg1
)->MaxX();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_From_int(static_cast< int >(result
));
23701 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 PyObject
*resultobj
= 0;
23703 wxDC
*arg1
= (wxDC
*) 0 ;
23707 PyObject
*swig_obj
[1] ;
23709 if (!args
) SWIG_fail
;
23710 swig_obj
[0] = args
;
23711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (int)((wxDC
const *)arg1
)->MinY();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_From_int(static_cast< int >(result
));
23729 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 PyObject
*resultobj
= 0;
23731 wxDC
*arg1
= (wxDC
*) 0 ;
23735 PyObject
*swig_obj
[1] ;
23737 if (!args
) SWIG_fail
;
23738 swig_obj
[0] = args
;
23739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (int)((wxDC
const *)arg1
)->MaxY();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_From_int(static_cast< int >(result
));
23757 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 PyObject
*resultobj
= 0;
23759 wxDC
*arg1
= (wxDC
*) 0 ;
23760 int *arg2
= (int *) 0 ;
23761 int *arg3
= (int *) 0 ;
23762 int *arg4
= (int *) 0 ;
23763 int *arg5
= (int *) 0 ;
23767 int res2
= SWIG_TMPOBJ
;
23769 int res3
= SWIG_TMPOBJ
;
23771 int res4
= SWIG_TMPOBJ
;
23773 int res5
= SWIG_TMPOBJ
;
23774 PyObject
*swig_obj
[1] ;
23780 if (!args
) SWIG_fail
;
23781 swig_obj
[0] = args
;
23782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_Py_Void();
23794 if (SWIG_IsTmpObj(res2
)) {
23795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23797 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23800 if (SWIG_IsTmpObj(res3
)) {
23801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23803 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23806 if (SWIG_IsTmpObj(res4
)) {
23807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23809 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23812 if (SWIG_IsTmpObj(res5
)) {
23813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23815 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23824 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23825 PyObject
*resultobj
= 0;
23826 wxDC
*arg1
= (wxDC
*) 0 ;
23827 wxLayoutDirection result
;
23830 PyObject
*swig_obj
[1] ;
23832 if (!args
) SWIG_fail
;
23833 swig_obj
[0] = args
;
23834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_From_int(static_cast< int >(result
));
23852 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
= 0;
23854 wxDC
*arg1
= (wxDC
*) 0 ;
23855 wxLayoutDirection arg2
;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char * kwnames
[] = {
23863 (char *) "self",(char *) "dir", NULL
23866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23873 if (!SWIG_IsOK(ecode2
)) {
23874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23876 arg2
= static_cast< wxLayoutDirection
>(val2
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 (arg1
)->SetLayoutDirection(arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_Py_Void();
23890 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23891 PyObject
*resultobj
= 0;
23892 wxDC
*arg1
= (wxDC
*) 0 ;
23896 PyObject
*swig_obj
[1] ;
23898 if (!args
) SWIG_fail
;
23899 swig_obj
[0] = args
;
23900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (long)(arg1
)->GetHDC();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_From_long(static_cast< long >(result
));
23918 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
= 0;
23920 wxDC
*arg1
= (wxDC
*) 0 ;
23921 PyObject
*arg2
= (PyObject
*) 0 ;
23922 PyObject
*arg3
= (PyObject
*) 0 ;
23923 PyObject
*arg4
= (PyObject
*) 0 ;
23924 PyObject
*result
= 0 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 PyObject
* obj2
= 0 ;
23930 PyObject
* obj3
= 0 ;
23931 char * kwnames
[] = {
23932 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23937 if (!SWIG_IsOK(res1
)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23950 resultobj
= result
;
23957 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23958 PyObject
*resultobj
= 0;
23959 wxDC
*arg1
= (wxDC
*) 0 ;
23960 PyObject
*arg2
= (PyObject
*) 0 ;
23961 PyObject
*arg3
= (PyObject
*) 0 ;
23962 PyObject
*arg4
= (PyObject
*) 0 ;
23963 PyObject
*result
= 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 PyObject
* obj2
= 0 ;
23969 PyObject
* obj3
= 0 ;
23970 char * kwnames
[] = {
23971 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23976 if (!SWIG_IsOK(res1
)) {
23977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= result
;
23996 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
= 0;
23998 wxDC
*arg1
= (wxDC
*) 0 ;
23999 PyObject
*arg2
= (PyObject
*) 0 ;
24000 PyObject
*arg3
= (PyObject
*) 0 ;
24001 PyObject
*arg4
= (PyObject
*) 0 ;
24002 PyObject
*result
= 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 PyObject
* obj2
= 0 ;
24008 PyObject
* obj3
= 0 ;
24009 char * kwnames
[] = {
24010 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24015 if (!SWIG_IsOK(res1
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= result
;
24035 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
= 0;
24037 wxDC
*arg1
= (wxDC
*) 0 ;
24038 PyObject
*arg2
= (PyObject
*) 0 ;
24039 PyObject
*arg3
= (PyObject
*) 0 ;
24040 PyObject
*arg4
= (PyObject
*) 0 ;
24041 PyObject
*result
= 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 PyObject
* obj2
= 0 ;
24047 PyObject
* obj3
= 0 ;
24048 char * kwnames
[] = {
24049 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24054 if (!SWIG_IsOK(res1
)) {
24055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
;
24074 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
= 0;
24076 wxDC
*arg1
= (wxDC
*) 0 ;
24077 PyObject
*arg2
= (PyObject
*) 0 ;
24078 PyObject
*arg3
= (PyObject
*) 0 ;
24079 PyObject
*arg4
= (PyObject
*) 0 ;
24080 PyObject
*result
= 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24086 PyObject
* obj3
= 0 ;
24087 char * kwnames
[] = {
24088 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24093 if (!SWIG_IsOK(res1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= result
;
24113 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
= 0;
24115 wxDC
*arg1
= (wxDC
*) 0 ;
24116 PyObject
*arg2
= (PyObject
*) 0 ;
24117 PyObject
*arg3
= (PyObject
*) 0 ;
24118 PyObject
*arg4
= (PyObject
*) 0 ;
24119 PyObject
*arg5
= (PyObject
*) 0 ;
24120 PyObject
*result
= 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 PyObject
* obj2
= 0 ;
24126 PyObject
* obj3
= 0 ;
24127 PyObject
* obj4
= 0 ;
24128 char * kwnames
[] = {
24129 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24134 if (!SWIG_IsOK(res1
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= result
;
24155 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24158 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24159 return SWIG_Py_Void();
24162 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
= 0;
24165 wxColour
*arg2
= 0 ;
24166 wxDCTextColourChanger
*result
= 0 ;
24170 PyObject
* obj0
= 0 ;
24171 PyObject
* obj1
= 0 ;
24172 char * kwnames
[] = {
24173 (char *) "dc",(char *) "col", NULL
24176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24177 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24202 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24203 PyObject
*resultobj
= 0;
24204 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24207 PyObject
*swig_obj
[1] ;
24209 if (!args
) SWIG_fail
;
24210 swig_obj
[0] = args
;
24211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24212 if (!SWIG_IsOK(res1
)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24215 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_Py_Void();
24230 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24233 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24234 return SWIG_Py_Void();
24237 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24238 return SWIG_Python_InitShadowInstance(args
);
24241 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
= 0;
24245 wxDCPenChanger
*result
= 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char * kwnames
[] = {
24253 (char *) "dc",(char *) "pen", NULL
24256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24257 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24258 if (!SWIG_IsOK(res1
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24266 if (!SWIG_IsOK(res2
)) {
24267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24272 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24286 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 PyObject
*resultobj
= 0;
24288 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24291 PyObject
*swig_obj
[1] ;
24293 if (!args
) SWIG_fail
;
24294 swig_obj
[0] = args
;
24295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24299 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_Py_Void();
24314 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24317 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24318 return SWIG_Py_Void();
24321 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24322 return SWIG_Python_InitShadowInstance(args
);
24325 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
= 0;
24328 wxBrush
*arg2
= 0 ;
24329 wxDCBrushChanger
*result
= 0 ;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 char * kwnames
[] = {
24337 (char *) "dc",(char *) "brush", NULL
24340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24341 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24350 if (!SWIG_IsOK(res2
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24356 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24370 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24371 PyObject
*resultobj
= 0;
24372 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24375 PyObject
*swig_obj
[1] ;
24377 if (!args
) SWIG_fail
;
24378 swig_obj
[0] = args
;
24379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24380 if (!SWIG_IsOK(res1
)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24383 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_Py_Void();
24398 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24401 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24402 return SWIG_Py_Void();
24405 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 return SWIG_Python_InitShadowInstance(args
);
24409 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24410 PyObject
*resultobj
= 0;
24412 wxRegion
*arg2
= 0 ;
24413 wxDCClipper
*result
= 0 ;
24419 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24428 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24429 if (!SWIG_IsOK(res2
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24435 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24449 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24450 PyObject
*resultobj
= 0;
24453 wxDCClipper
*result
= 0 ;
24458 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24460 if (!SWIG_IsOK(res1
)) {
24461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24469 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24484 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24485 PyObject
*resultobj
= 0;
24491 wxDCClipper
*result
= 0 ;
24503 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24512 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24513 if (!SWIG_IsOK(ecode2
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24516 arg2
= static_cast< int >(val2
);
24517 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24518 if (!SWIG_IsOK(ecode3
)) {
24519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24521 arg3
= static_cast< int >(val3
);
24522 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24523 if (!SWIG_IsOK(ecode4
)) {
24524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24526 arg4
= static_cast< int >(val4
);
24527 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24528 if (!SWIG_IsOK(ecode5
)) {
24529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24531 arg5
= static_cast< int >(val5
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24545 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24549 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24554 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24555 _v
= SWIG_CheckState(res
);
24557 if (!_v
) goto check_1
;
24558 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24563 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24566 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24570 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24575 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24576 PyObject
*resultobj
= 0;
24577 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24580 PyObject
*swig_obj
[1] ;
24582 if (!args
) SWIG_fail
;
24583 swig_obj
[0] = args
;
24584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24588 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_Py_Void();
24603 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24606 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24607 return SWIG_Py_Void();
24610 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24611 return SWIG_Python_InitShadowInstance(args
);
24614 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24615 PyObject
*resultobj
= 0;
24616 wxScreenDC
*result
= 0 ;
24618 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24620 if (!wxPyCheckForApp()) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= (wxScreenDC
*)new wxScreenDC();
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24633 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
= 0;
24635 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24636 wxWindow
*arg2
= (wxWindow
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "self",(char *) "window", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24653 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24655 if (!SWIG_IsOK(res2
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24658 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24674 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
= 0;
24676 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24677 wxRect
*arg2
= (wxRect
*) NULL
;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 char * kwnames
[] = {
24686 (char *) "self",(char *) "rect", NULL
24689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24691 if (!SWIG_IsOK(res1
)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24694 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24697 if (!SWIG_IsOK(res2
)) {
24698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24700 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24717 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24718 PyObject
*resultobj
= 0;
24719 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24723 PyObject
*swig_obj
[1] ;
24725 if (!args
) SWIG_fail
;
24726 swig_obj
[0] = args
;
24727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24728 if (!SWIG_IsOK(res1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24731 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (bool)(arg1
)->EndDrawingOnTop();
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24750 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24751 return SWIG_Py_Void();
24754 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24755 return SWIG_Python_InitShadowInstance(args
);
24758 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
= 0;
24760 wxWindow
*arg1
= (wxWindow
*) 0 ;
24761 wxWindowDC
*result
= 0 ;
24764 PyObject
* obj0
= 0 ;
24765 char * kwnames
[] = {
24766 (char *) "win", NULL
24769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24771 if (!SWIG_IsOK(res1
)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24776 if (!wxPyCheckForApp()) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24789 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24792 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24793 return SWIG_Py_Void();
24796 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 return SWIG_Python_InitShadowInstance(args
);
24800 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
= 0;
24802 wxWindow
*arg1
= (wxWindow
*) 0 ;
24803 wxClientDC
*result
= 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char * kwnames
[] = {
24808 (char *) "win", NULL
24811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24818 if (!wxPyCheckForApp()) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxClientDC
*)new wxClientDC(arg1
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24831 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24834 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24835 return SWIG_Py_Void();
24838 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24839 return SWIG_Python_InitShadowInstance(args
);
24842 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= 0;
24844 wxWindow
*arg1
= (wxWindow
*) 0 ;
24845 wxPaintDC
*result
= 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "win", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24858 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24860 if (!wxPyCheckForApp()) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24873 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24876 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24877 return SWIG_Py_Void();
24880 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24881 return SWIG_Python_InitShadowInstance(args
);
24884 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24887 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24888 wxMemoryDC
*result
= 0 ;
24891 PyObject
* obj0
= 0 ;
24892 char * kwnames
[] = {
24893 (char *) "bitmap", NULL
24896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24898 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24899 if (!SWIG_IsOK(res1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24908 if (!wxPyCheckForApp()) SWIG_fail
;
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24921 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24923 wxDC
*arg1
= (wxDC
*) 0 ;
24924 wxMemoryDC
*result
= 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char * kwnames
[] = {
24929 (char *) "oldDC", NULL
24932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24934 if (!SWIG_IsOK(res1
)) {
24935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24939 if (!wxPyCheckForApp()) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24952 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
= 0;
24954 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24955 wxBitmap
*arg2
= 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char * kwnames
[] = {
24963 (char *) "self",(char *) "bitmap", NULL
24966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24968 if (!SWIG_IsOK(res1
)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24971 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24973 if (!SWIG_IsOK(res2
)) {
24974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24979 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SelectObject(*arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_Py_Void();
24993 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
= 0;
24995 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24996 wxBitmap
*arg2
= 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char * kwnames
[] = {
25004 (char *) "self",(char *) "bmp", NULL
25007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25009 if (!SWIG_IsOK(res1
)) {
25010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25012 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25014 if (!SWIG_IsOK(res2
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25020 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_Py_Void();
25034 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25037 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25038 return SWIG_Py_Void();
25041 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25042 return SWIG_Python_InitShadowInstance(args
);
25045 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25046 PyObject
*resultobj
= 0;
25047 wxDC
*arg1
= (wxDC
*) 0 ;
25048 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25049 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25050 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25051 wxBufferedDC
*result
= 0 ;
25059 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25066 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25067 if (!SWIG_IsOK(res2
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25073 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25076 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25077 if (!SWIG_IsOK(ecode3
)) {
25078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25080 arg3
= static_cast< int >(val3
);
25083 if (!wxPyCheckForApp()) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25096 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25097 PyObject
*resultobj
= 0;
25098 wxDC
*arg1
= (wxDC
*) 0 ;
25100 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25101 wxBufferedDC
*result
= 0 ;
25108 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25116 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25119 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25120 if (!SWIG_IsOK(ecode3
)) {
25121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25123 arg3
= static_cast< int >(val3
);
25126 if (!wxPyCheckForApp()) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25139 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25143 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25145 if ((argc
>= 1) && (argc
<= 3)) {
25150 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25151 _v
= SWIG_CheckState(res
);
25153 if (!_v
) goto check_1
;
25155 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25159 if ((argc
>= 2) && (argc
<= 3)) {
25160 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25164 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25169 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25170 PyObject
*resultobj
= 0;
25171 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25174 PyObject
*swig_obj
[1] ;
25176 if (!args
) SWIG_fail
;
25177 swig_obj
[0] = args
;
25178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25179 if (!SWIG_IsOK(res1
)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25182 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_Py_Void();
25197 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 PyObject
*resultobj
= 0;
25199 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25202 PyObject
*swig_obj
[1] ;
25204 if (!args
) SWIG_fail
;
25205 swig_obj
[0] = args
;
25206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25210 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_Py_Void();
25224 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
= 0;
25226 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 char * kwnames
[] = {
25235 (char *) "self",(char *) "style", NULL
25238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25240 if (!SWIG_IsOK(res1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25243 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25245 if (!SWIG_IsOK(ecode2
)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25248 arg2
= static_cast< int >(val2
);
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 (arg1
)->SetStyle(arg2
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_Py_Void();
25262 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25263 PyObject
*resultobj
= 0;
25264 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25268 PyObject
*swig_obj
[1] ;
25270 if (!args
) SWIG_fail
;
25271 swig_obj
[0] = args
;
25272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25273 if (!SWIG_IsOK(res1
)) {
25274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25276 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= SWIG_From_int(static_cast< int >(result
));
25290 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25293 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25294 return SWIG_Py_Void();
25297 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25298 return SWIG_Python_InitShadowInstance(args
);
25301 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
= 0;
25303 wxWindow
*arg1
= (wxWindow
*) 0 ;
25304 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25305 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25306 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25307 wxBufferedPaintDC
*result
= 0 ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 PyObject
* obj2
= 0 ;
25317 char * kwnames
[] = {
25318 (char *) "window",(char *) "buffer",(char *) "style", NULL
25321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25323 if (!SWIG_IsOK(res1
)) {
25324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25329 if (!SWIG_IsOK(res2
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25335 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25339 if (!SWIG_IsOK(ecode3
)) {
25340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25342 arg3
= static_cast< int >(val3
);
25345 if (!wxPyCheckForApp()) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25358 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25361 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25362 return SWIG_Py_Void();
25365 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 return SWIG_Python_InitShadowInstance(args
);
25369 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
= 0;
25371 wxWindow
*arg1
= (wxWindow
*) 0 ;
25372 wxAutoBufferedPaintDC
*result
= 0 ;
25375 PyObject
* obj0
= 0 ;
25376 char * kwnames
[] = {
25377 (char *) "win", NULL
25380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25399 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25402 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25403 return SWIG_Py_Void();
25406 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25407 return SWIG_Python_InitShadowInstance(args
);
25410 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
= 0;
25412 wxWindow
*arg1
= (wxWindow
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 char * kwnames
[] = {
25418 (char *) "window", NULL
25421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25442 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
= 0;
25446 wxMirrorDC
*result
= 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "dc",(char *) "mirror", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25466 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25467 if (!SWIG_IsOK(ecode2
)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25470 arg2
= static_cast< bool >(val2
);
25472 if (!wxPyCheckForApp()) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25485 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25488 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25489 return SWIG_Py_Void();
25492 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 return SWIG_Python_InitShadowInstance(args
);
25496 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
= 0;
25498 wxPrintData
*arg1
= 0 ;
25499 wxPostScriptDC
*result
= 0 ;
25502 PyObject
* obj0
= 0 ;
25503 char * kwnames
[] = {
25504 (char *) "printData", NULL
25507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25508 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25509 if (!SWIG_IsOK(res1
)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25515 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25517 if (!wxPyCheckForApp()) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25530 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25531 PyObject
*resultobj
= 0;
25532 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25533 wxPrintData
*result
= 0 ;
25536 PyObject
*swig_obj
[1] ;
25538 if (!args
) SWIG_fail
;
25539 swig_obj
[0] = args
;
25540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25544 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25549 result
= (wxPrintData
*) &_result_ref
;
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25561 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
= 0;
25563 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25564 wxPrintData
*arg2
= 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "data", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25580 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25582 if (!SWIG_IsOK(res2
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25588 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_Py_Void();
25602 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
= 0;
25607 PyObject
* obj0
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "ppi", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25613 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25614 if (!SWIG_IsOK(ecode1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25617 arg1
= static_cast< int >(val1
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 wxPostScriptDC::SetResolution(arg1
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_Py_Void();
25631 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25632 PyObject
*resultobj
= 0;
25635 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (int)wxPostScriptDC::GetResolution();
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_From_int(static_cast< int >(result
));
25649 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25653 return SWIG_Py_Void();
25656 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25657 return SWIG_Python_InitShadowInstance(args
);
25660 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
= 0;
25662 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25663 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25664 wxMetaFile
*result
= 0 ;
25665 bool temp1
= false ;
25666 PyObject
* obj0
= 0 ;
25667 char * kwnames
[] = {
25668 (char *) "filename", NULL
25671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25674 arg1
= wxString_in_helper(obj0
);
25675 if (arg1
== NULL
) SWIG_fail
;
25680 if (!wxPyCheckForApp()) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25701 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25702 PyObject
*resultobj
= 0;
25703 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25706 PyObject
*swig_obj
[1] ;
25708 if (!args
) SWIG_fail
;
25709 swig_obj
[0] = args
;
25710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25711 if (!SWIG_IsOK(res1
)) {
25712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25714 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_Py_Void();
25729 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25730 PyObject
*resultobj
= 0;
25731 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25735 PyObject
*swig_obj
[1] ;
25737 if (!args
) SWIG_fail
;
25738 swig_obj
[0] = args
;
25739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25743 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= (bool)(arg1
)->IsOk();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25759 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
= 0;
25761 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25762 int arg2
= (int) 0 ;
25763 int arg3
= (int) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 PyObject
* obj2
= 0 ;
25774 char * kwnames
[] = {
25775 (char *) "self",(char *) "width",(char *) "height", NULL
25778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25780 if (!SWIG_IsOK(res1
)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25783 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25786 if (!SWIG_IsOK(ecode2
)) {
25787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25789 arg2
= static_cast< int >(val2
);
25792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25793 if (!SWIG_IsOK(ecode3
)) {
25794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25796 arg3
= static_cast< int >(val3
);
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25813 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 PyObject
*resultobj
= 0;
25815 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25819 PyObject
*swig_obj
[1] ;
25821 if (!args
) SWIG_fail
;
25822 swig_obj
[0] = args
;
25823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25824 if (!SWIG_IsOK(res1
)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25827 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (arg1
)->GetSize();
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25841 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25842 PyObject
*resultobj
= 0;
25843 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25847 PyObject
*swig_obj
[1] ;
25849 if (!args
) SWIG_fail
;
25850 swig_obj
[0] = args
;
25851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25855 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (int)(arg1
)->GetWidth();
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_From_int(static_cast< int >(result
));
25869 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25870 PyObject
*resultobj
= 0;
25871 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25875 PyObject
*swig_obj
[1] ;
25877 if (!args
) SWIG_fail
;
25878 swig_obj
[0] = args
;
25879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25880 if (!SWIG_IsOK(res1
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25883 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (int)(arg1
)->GetHeight();
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_From_int(static_cast< int >(result
));
25897 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25898 PyObject
*resultobj
= 0;
25899 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25900 wxString
*result
= 0 ;
25903 PyObject
*swig_obj
[1] ;
25905 if (!args
) SWIG_fail
;
25906 swig_obj
[0] = args
;
25907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25911 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25916 result
= (wxString
*) &_result_ref
;
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25934 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25937 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25938 return SWIG_Py_Void();
25941 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25942 return SWIG_Python_InitShadowInstance(args
);
25945 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
= 0;
25947 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25948 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25949 int arg2
= (int) 0 ;
25950 int arg3
= (int) 0 ;
25951 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25952 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25953 wxMetaFileDC
*result
= 0 ;
25954 bool temp1
= false ;
25959 bool temp4
= false ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 PyObject
* obj2
= 0 ;
25963 PyObject
* obj3
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25971 arg1
= wxString_in_helper(obj0
);
25972 if (arg1
== NULL
) SWIG_fail
;
25977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25978 if (!SWIG_IsOK(ecode2
)) {
25979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25981 arg2
= static_cast< int >(val2
);
25984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25985 if (!SWIG_IsOK(ecode3
)) {
25986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25988 arg3
= static_cast< int >(val3
);
25992 arg4
= wxString_in_helper(obj3
);
25993 if (arg4
== NULL
) SWIG_fail
;
25998 if (!wxPyCheckForApp()) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26027 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26028 PyObject
*resultobj
= 0;
26029 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26030 wxMetaFile
*result
= 0 ;
26033 PyObject
*swig_obj
[1] ;
26035 if (!args
) SWIG_fail
;
26036 swig_obj
[0] = args
;
26037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26038 if (!SWIG_IsOK(res1
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26041 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (wxMetaFile
*)(arg1
)->Close();
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26055 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26058 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26059 return SWIG_Py_Void();
26062 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26063 return SWIG_Python_InitShadowInstance(args
);
26066 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
= 0;
26068 wxPrintData
*arg1
= 0 ;
26069 wxPrinterDC
*result
= 0 ;
26072 PyObject
* obj0
= 0 ;
26073 char * kwnames
[] = {
26074 (char *) "printData", NULL
26077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26078 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26079 if (!SWIG_IsOK(res1
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26085 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26087 if (!wxPyCheckForApp()) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26100 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26103 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26104 return SWIG_Py_Void();
26107 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26108 return SWIG_Python_InitShadowInstance(args
);
26111 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
= 0;
26113 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26114 wxGraphicsObject
*result
= 0 ;
26117 PyObject
* obj0
= 0 ;
26118 char * kwnames
[] = {
26119 (char *) "renderer", NULL
26122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26125 if (!SWIG_IsOK(res1
)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26128 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26131 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26141 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26142 PyObject
*resultobj
= 0;
26143 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26146 PyObject
*swig_obj
[1] ;
26148 if (!args
) SWIG_fail
;
26149 swig_obj
[0] = args
;
26150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26154 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_Py_Void();
26167 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26168 PyObject
*resultobj
= 0;
26169 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26173 PyObject
*swig_obj
[1] ;
26175 if (!args
) SWIG_fail
;
26176 swig_obj
[0] = args
;
26177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26181 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26183 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26198 wxGraphicsRenderer
*result
= 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26209 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26211 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26221 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26224 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26225 return SWIG_Py_Void();
26228 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26229 return SWIG_Python_InitShadowInstance(args
);
26232 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 PyObject
*resultobj
= 0;
26234 wxGraphicsPen
*result
= 0 ;
26236 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26238 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26248 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26249 PyObject
*resultobj
= 0;
26250 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26253 PyObject
*swig_obj
[1] ;
26255 if (!args
) SWIG_fail
;
26256 swig_obj
[0] = args
;
26257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26258 if (!SWIG_IsOK(res1
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26261 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= SWIG_Py_Void();
26274 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26277 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26278 return SWIG_Py_Void();
26281 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26282 return SWIG_Python_InitShadowInstance(args
);
26285 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26286 PyObject
*resultobj
= 0;
26287 wxGraphicsBrush
*result
= 0 ;
26289 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26291 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26301 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26302 PyObject
*resultobj
= 0;
26303 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26306 PyObject
*swig_obj
[1] ;
26308 if (!args
) SWIG_fail
;
26309 swig_obj
[0] = args
;
26310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26311 if (!SWIG_IsOK(res1
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26314 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_Py_Void();
26327 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26330 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26331 return SWIG_Py_Void();
26334 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26335 return SWIG_Python_InitShadowInstance(args
);
26338 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26339 PyObject
*resultobj
= 0;
26340 wxGraphicsFont
*result
= 0 ;
26342 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26344 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26354 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26355 PyObject
*resultobj
= 0;
26356 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26359 PyObject
*swig_obj
[1] ;
26361 if (!args
) SWIG_fail
;
26362 swig_obj
[0] = args
;
26363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26367 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26383 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26384 return SWIG_Py_Void();
26387 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26388 return SWIG_Python_InitShadowInstance(args
);
26391 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26392 PyObject
*resultobj
= 0;
26393 wxGraphicsMatrix
*result
= 0 ;
26395 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26397 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26407 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26408 PyObject
*resultobj
= 0;
26409 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26412 PyObject
*swig_obj
[1] ;
26414 if (!args
) SWIG_fail
;
26415 swig_obj
[0] = args
;
26416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26420 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_Py_Void();
26433 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
= 0;
26435 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26436 wxGraphicsMatrix
*arg2
= 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char * kwnames
[] = {
26444 (char *) "self",(char *) "t", NULL
26447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26452 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26454 if (!SWIG_IsOK(res2
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26460 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26462 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_Py_Void();
26472 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
= 0;
26474 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26475 wxDouble arg2
= (wxDouble
) 1.0 ;
26476 wxDouble arg3
= (wxDouble
) 0.0 ;
26477 wxDouble arg4
= (wxDouble
) 0.0 ;
26478 wxDouble arg5
= (wxDouble
) 1.0 ;
26479 wxDouble arg6
= (wxDouble
) 0.0 ;
26480 wxDouble arg7
= (wxDouble
) 0.0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26498 PyObject
* obj3
= 0 ;
26499 PyObject
* obj4
= 0 ;
26500 PyObject
* obj5
= 0 ;
26501 PyObject
* obj6
= 0 ;
26502 char * kwnames
[] = {
26503 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26511 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26513 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26514 if (!SWIG_IsOK(ecode2
)) {
26515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26517 arg2
= static_cast< wxDouble
>(val2
);
26520 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26521 if (!SWIG_IsOK(ecode3
)) {
26522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26524 arg3
= static_cast< wxDouble
>(val3
);
26527 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26528 if (!SWIG_IsOK(ecode4
)) {
26529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26531 arg4
= static_cast< wxDouble
>(val4
);
26534 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26535 if (!SWIG_IsOK(ecode5
)) {
26536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26538 arg5
= static_cast< wxDouble
>(val5
);
26541 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26542 if (!SWIG_IsOK(ecode6
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26545 arg6
= static_cast< wxDouble
>(val6
);
26548 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26549 if (!SWIG_IsOK(ecode7
)) {
26550 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26552 arg7
= static_cast< wxDouble
>(val7
);
26555 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_Py_Void();
26565 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 PyObject
*resultobj
= 0;
26567 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26570 PyObject
*swig_obj
[1] ;
26572 if (!args
) SWIG_fail
;
26573 swig_obj
[0] = args
;
26574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26578 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_Py_Void();
26590 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
= 0;
26592 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26593 wxGraphicsMatrix
*arg2
= 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char * kwnames
[] = {
26602 (char *) "self",(char *) "t", NULL
26605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26607 if (!SWIG_IsOK(res1
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26610 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26612 if (!SWIG_IsOK(res2
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26618 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26620 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26632 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 PyObject
*resultobj
= 0;
26634 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26638 PyObject
*swig_obj
[1] ;
26640 if (!args
) SWIG_fail
;
26641 swig_obj
[0] = args
;
26642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26646 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26648 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26660 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
= 0;
26662 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 PyObject
* obj2
= 0 ;
26674 char * kwnames
[] = {
26675 (char *) "self",(char *) "dx",(char *) "dy", NULL
26678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26680 if (!SWIG_IsOK(res1
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26683 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26685 if (!SWIG_IsOK(ecode2
)) {
26686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26688 arg2
= static_cast< wxDouble
>(val2
);
26689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26690 if (!SWIG_IsOK(ecode3
)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26693 arg3
= static_cast< wxDouble
>(val3
);
26695 (arg1
)->Translate(arg2
,arg3
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_Py_Void();
26705 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
= 0;
26707 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26718 PyObject
* obj2
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26728 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26729 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26730 if (!SWIG_IsOK(ecode2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26733 arg2
= static_cast< wxDouble
>(val2
);
26734 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26735 if (!SWIG_IsOK(ecode3
)) {
26736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26738 arg3
= static_cast< wxDouble
>(val3
);
26740 (arg1
)->Scale(arg2
,arg3
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_Py_Void();
26750 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "angle", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26769 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26770 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26771 if (!SWIG_IsOK(ecode2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26774 arg2
= static_cast< wxDouble
>(val2
);
26776 (arg1
)->Rotate(arg2
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_Py_Void();
26786 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
= 0;
26788 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26789 wxDouble
*arg2
= (wxDouble
*) 0 ;
26790 wxDouble
*arg3
= (wxDouble
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 char * kwnames
[] = {
26801 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26806 if (!SWIG_IsOK(res1
)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26809 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26810 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26812 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26813 if (!SWIG_IsOK(ecode
)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26816 temp2
= static_cast< wxDouble
>(val
);
26818 res2
= SWIG_AddTmpMask(ecode
);
26820 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26822 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26823 if (!SWIG_IsOK(ecode
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26826 temp3
= static_cast< wxDouble
>(val
);
26828 res3
= SWIG_AddTmpMask(ecode
);
26831 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= SWIG_Py_Void();
26835 if (SWIG_IsTmpObj(res2
)) {
26836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26838 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26841 if (SWIG_IsTmpObj(res3
)) {
26842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26844 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26853 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= 0;
26855 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26856 wxDouble
*arg2
= (wxDouble
*) 0 ;
26857 wxDouble
*arg3
= (wxDouble
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 PyObject
* obj2
= 0 ;
26867 char * kwnames
[] = {
26868 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26873 if (!SWIG_IsOK(res1
)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26876 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26877 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26879 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26880 if (!SWIG_IsOK(ecode
)) {
26881 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26883 temp2
= static_cast< wxDouble
>(val
);
26885 res2
= SWIG_AddTmpMask(ecode
);
26887 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26889 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26890 if (!SWIG_IsOK(ecode
)) {
26891 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26893 temp3
= static_cast< wxDouble
>(val
);
26895 res3
= SWIG_AddTmpMask(ecode
);
26898 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_Py_Void();
26902 if (SWIG_IsTmpObj(res2
)) {
26903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26905 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26908 if (SWIG_IsTmpObj(res3
)) {
26909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26911 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26920 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26921 PyObject
*resultobj
= 0;
26922 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26926 PyObject
*swig_obj
[1] ;
26928 if (!args
) SWIG_fail
;
26929 swig_obj
[0] = args
;
26930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26934 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26936 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26946 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26949 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26950 return SWIG_Py_Void();
26953 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26954 return SWIG_Python_InitShadowInstance(args
);
26957 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26958 PyObject
*resultobj
= 0;
26959 wxGraphicsPath
*result
= 0 ;
26961 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26963 if (!wxPyCheckForApp()) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26976 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26977 PyObject
*resultobj
= 0;
26978 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26981 PyObject
*swig_obj
[1] ;
26983 if (!args
) SWIG_fail
;
26984 swig_obj
[0] = args
;
26985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26986 if (!SWIG_IsOK(res1
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26989 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_Py_Void();
27002 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27003 PyObject
*resultobj
= 0;
27004 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27014 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27019 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27020 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27021 if (!SWIG_IsOK(ecode2
)) {
27022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27024 arg2
= static_cast< wxDouble
>(val2
);
27025 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27026 if (!SWIG_IsOK(ecode3
)) {
27027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27029 arg3
= static_cast< wxDouble
>(val3
);
27031 (arg1
)->MoveToPoint(arg2
,arg3
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_Py_Void();
27041 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27042 PyObject
*resultobj
= 0;
27043 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27044 wxPoint2D
*arg2
= 0 ;
27049 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27051 if (!SWIG_IsOK(res1
)) {
27052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27054 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27057 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27060 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_Py_Void();
27070 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27074 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27077 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27080 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27084 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27089 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27090 PyObject
*resultobj
= 0;
27091 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27101 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27106 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27107 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27108 if (!SWIG_IsOK(ecode2
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27111 arg2
= static_cast< wxDouble
>(val2
);
27112 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27113 if (!SWIG_IsOK(ecode3
)) {
27114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27116 arg3
= static_cast< wxDouble
>(val3
);
27118 (arg1
)->AddLineToPoint(arg2
,arg3
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27129 PyObject
*resultobj
= 0;
27130 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27131 wxPoint2D
*arg2
= 0 ;
27136 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27138 if (!SWIG_IsOK(res1
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27141 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27144 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27147 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_Py_Void();
27157 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27161 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27164 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27167 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27171 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27176 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27177 PyObject
*resultobj
= 0;
27178 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27200 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27205 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27206 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27207 if (!SWIG_IsOK(ecode2
)) {
27208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27210 arg2
= static_cast< wxDouble
>(val2
);
27211 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27212 if (!SWIG_IsOK(ecode3
)) {
27213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27215 arg3
= static_cast< wxDouble
>(val3
);
27216 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27217 if (!SWIG_IsOK(ecode4
)) {
27218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27220 arg4
= static_cast< wxDouble
>(val4
);
27221 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27222 if (!SWIG_IsOK(ecode5
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27225 arg5
= static_cast< wxDouble
>(val5
);
27226 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27227 if (!SWIG_IsOK(ecode6
)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27230 arg6
= static_cast< wxDouble
>(val6
);
27231 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27232 if (!SWIG_IsOK(ecode7
)) {
27233 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27235 arg7
= static_cast< wxDouble
>(val7
);
27237 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= SWIG_Py_Void();
27247 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27248 PyObject
*resultobj
= 0;
27249 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27250 wxPoint2D
*arg2
= 0 ;
27251 wxPoint2D
*arg3
= 0 ;
27252 wxPoint2D
*arg4
= 0 ;
27259 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27261 if (!SWIG_IsOK(res1
)) {
27262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27264 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27267 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27271 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27275 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27278 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= SWIG_Py_Void();
27288 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27292 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27295 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27298 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27302 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27307 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
= 0;
27309 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27310 wxGraphicsPath
*arg2
= 0 ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 char * kwnames
[] = {
27318 (char *) "self",(char *) "path", NULL
27321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27323 if (!SWIG_IsOK(res1
)) {
27324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27326 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27328 if (!SWIG_IsOK(res2
)) {
27329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27334 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27336 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= SWIG_Py_Void();
27346 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27347 PyObject
*resultobj
= 0;
27348 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27351 PyObject
*swig_obj
[1] ;
27353 if (!args
) SWIG_fail
;
27354 swig_obj
[0] = args
;
27355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27356 if (!SWIG_IsOK(res1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27359 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27361 (arg1
)->CloseSubpath();
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_Py_Void();
27371 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27373 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27377 PyObject
*swig_obj
[1] ;
27379 if (!args
) SWIG_fail
;
27380 swig_obj
[0] = args
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27385 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27387 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27397 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27398 PyObject
*resultobj
= 0;
27399 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27421 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27423 if (!SWIG_IsOK(res1
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27426 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27427 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27428 if (!SWIG_IsOK(ecode2
)) {
27429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27431 arg2
= static_cast< wxDouble
>(val2
);
27432 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27433 if (!SWIG_IsOK(ecode3
)) {
27434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27436 arg3
= static_cast< wxDouble
>(val3
);
27437 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27438 if (!SWIG_IsOK(ecode4
)) {
27439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27441 arg4
= static_cast< wxDouble
>(val4
);
27442 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27443 if (!SWIG_IsOK(ecode5
)) {
27444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27446 arg5
= static_cast< wxDouble
>(val5
);
27447 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27448 if (!SWIG_IsOK(ecode6
)) {
27449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27451 arg6
= static_cast< wxDouble
>(val6
);
27452 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27453 if (!SWIG_IsOK(ecode7
)) {
27454 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27456 arg7
= static_cast< bool >(val7
);
27458 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= SWIG_Py_Void();
27468 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27469 PyObject
*resultobj
= 0;
27470 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27471 wxPoint2D
*arg2
= 0 ;
27488 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27490 if (!SWIG_IsOK(res1
)) {
27491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27493 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27496 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27498 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27499 if (!SWIG_IsOK(ecode3
)) {
27500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27502 arg3
= static_cast< wxDouble
>(val3
);
27503 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27504 if (!SWIG_IsOK(ecode4
)) {
27505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27507 arg4
= static_cast< wxDouble
>(val4
);
27508 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27509 if (!SWIG_IsOK(ecode5
)) {
27510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27512 arg5
= static_cast< wxDouble
>(val5
);
27513 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27514 if (!SWIG_IsOK(ecode6
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27517 arg6
= static_cast< bool >(val6
);
27519 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= SWIG_Py_Void();
27529 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27533 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27536 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27539 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27543 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27548 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
= 0;
27550 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 PyObject
* obj1
= 0 ;
27567 PyObject
* obj2
= 0 ;
27568 PyObject
* obj3
= 0 ;
27569 PyObject
* obj4
= 0 ;
27570 char * kwnames
[] = {
27571 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27579 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27580 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27581 if (!SWIG_IsOK(ecode2
)) {
27582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27584 arg2
= static_cast< wxDouble
>(val2
);
27585 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27586 if (!SWIG_IsOK(ecode3
)) {
27587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27589 arg3
= static_cast< wxDouble
>(val3
);
27590 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27591 if (!SWIG_IsOK(ecode4
)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27594 arg4
= static_cast< wxDouble
>(val4
);
27595 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27596 if (!SWIG_IsOK(ecode5
)) {
27597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27599 arg5
= static_cast< wxDouble
>(val5
);
27601 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= SWIG_Py_Void();
27611 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
= 0;
27613 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 PyObject
* obj2
= 0 ;
27631 PyObject
* obj3
= 0 ;
27632 PyObject
* obj4
= 0 ;
27633 char * kwnames
[] = {
27634 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27639 if (!SWIG_IsOK(res1
)) {
27640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27642 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27643 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27644 if (!SWIG_IsOK(ecode2
)) {
27645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27647 arg2
= static_cast< wxDouble
>(val2
);
27648 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27649 if (!SWIG_IsOK(ecode3
)) {
27650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27652 arg3
= static_cast< wxDouble
>(val3
);
27653 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27654 if (!SWIG_IsOK(ecode4
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27657 arg4
= static_cast< wxDouble
>(val4
);
27658 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27659 if (!SWIG_IsOK(ecode5
)) {
27660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27662 arg5
= static_cast< wxDouble
>(val5
);
27664 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= SWIG_Py_Void();
27674 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
= 0;
27676 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 PyObject
* obj2
= 0 ;
27691 PyObject
* obj3
= 0 ;
27692 char * kwnames
[] = {
27693 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27701 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27702 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27703 if (!SWIG_IsOK(ecode2
)) {
27704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27706 arg2
= static_cast< wxDouble
>(val2
);
27707 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27708 if (!SWIG_IsOK(ecode3
)) {
27709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27711 arg3
= static_cast< wxDouble
>(val3
);
27712 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27713 if (!SWIG_IsOK(ecode4
)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27716 arg4
= static_cast< wxDouble
>(val4
);
27718 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_Py_Void();
27728 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
= 0;
27730 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27748 PyObject
* obj0
= 0 ;
27749 PyObject
* obj1
= 0 ;
27750 PyObject
* obj2
= 0 ;
27751 PyObject
* obj3
= 0 ;
27752 PyObject
* obj4
= 0 ;
27753 PyObject
* obj5
= 0 ;
27754 char * kwnames
[] = {
27755 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27760 if (!SWIG_IsOK(res1
)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27763 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27764 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27765 if (!SWIG_IsOK(ecode2
)) {
27766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27768 arg2
= static_cast< wxDouble
>(val2
);
27769 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27770 if (!SWIG_IsOK(ecode3
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27773 arg3
= static_cast< wxDouble
>(val3
);
27774 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27775 if (!SWIG_IsOK(ecode4
)) {
27776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27778 arg4
= static_cast< wxDouble
>(val4
);
27779 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27780 if (!SWIG_IsOK(ecode5
)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27783 arg5
= static_cast< wxDouble
>(val5
);
27784 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27785 if (!SWIG_IsOK(ecode6
)) {
27786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27788 arg6
= static_cast< wxDouble
>(val6
);
27790 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_Py_Void();
27800 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
= 0;
27802 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 PyObject
* obj2
= 0 ;
27820 PyObject
* obj3
= 0 ;
27821 PyObject
* obj4
= 0 ;
27822 char * kwnames
[] = {
27823 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27831 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27832 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27833 if (!SWIG_IsOK(ecode2
)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27836 arg2
= static_cast< wxDouble
>(val2
);
27837 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27838 if (!SWIG_IsOK(ecode3
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27841 arg3
= static_cast< wxDouble
>(val3
);
27842 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27843 if (!SWIG_IsOK(ecode4
)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27846 arg4
= static_cast< wxDouble
>(val4
);
27847 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27848 if (!SWIG_IsOK(ecode5
)) {
27849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27851 arg5
= static_cast< wxDouble
>(val5
);
27853 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= SWIG_Py_Void();
27863 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27864 PyObject
*resultobj
= 0;
27865 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27883 PyObject
* obj0
= 0 ;
27884 PyObject
* obj1
= 0 ;
27885 PyObject
* obj2
= 0 ;
27886 PyObject
* obj3
= 0 ;
27887 PyObject
* obj4
= 0 ;
27888 PyObject
* obj5
= 0 ;
27889 char * kwnames
[] = {
27890 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27898 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27899 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27900 if (!SWIG_IsOK(ecode2
)) {
27901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27903 arg2
= static_cast< wxDouble
>(val2
);
27904 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27905 if (!SWIG_IsOK(ecode3
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27908 arg3
= static_cast< wxDouble
>(val3
);
27909 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27910 if (!SWIG_IsOK(ecode4
)) {
27911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27913 arg4
= static_cast< wxDouble
>(val4
);
27914 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27915 if (!SWIG_IsOK(ecode5
)) {
27916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27918 arg5
= static_cast< wxDouble
>(val5
);
27919 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27920 if (!SWIG_IsOK(ecode6
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27923 arg6
= static_cast< wxDouble
>(val6
);
27925 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27941 PyObject
*swig_obj
[1] ;
27943 if (!args
) SWIG_fail
;
27944 swig_obj
[0] = args
;
27945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27949 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27951 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27961 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
= 0;
27963 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27964 void *arg2
= (void *) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 char * kwnames
[] = {
27971 (char *) "self",(char *) "p", NULL
27974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27980 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27981 if (!SWIG_IsOK(res2
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27985 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= SWIG_Py_Void();
27995 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
= 0;
27997 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27998 wxGraphicsMatrix
*arg2
= 0 ;
28003 PyObject
* obj0
= 0 ;
28004 PyObject
* obj1
= 0 ;
28005 char * kwnames
[] = {
28006 (char *) "self",(char *) "matrix", NULL
28009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28014 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28016 if (!SWIG_IsOK(res2
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28022 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28024 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28027 resultobj
= SWIG_Py_Void();
28034 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28035 PyObject
*resultobj
= 0;
28036 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28037 wxRect2DDouble result
;
28040 PyObject
*swig_obj
[1] ;
28042 if (!args
) SWIG_fail
;
28043 swig_obj
[0] = args
;
28044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28045 if (!SWIG_IsOK(res1
)) {
28046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28048 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28050 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28060 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28061 PyObject
*resultobj
= 0;
28062 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28065 int arg4
= (int) wxODDEVEN_RULE
;
28076 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28078 if (!SWIG_IsOK(res1
)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28081 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28082 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28083 if (!SWIG_IsOK(ecode2
)) {
28084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28086 arg2
= static_cast< wxDouble
>(val2
);
28087 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28088 if (!SWIG_IsOK(ecode3
)) {
28089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28091 arg3
= static_cast< wxDouble
>(val3
);
28093 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28094 if (!SWIG_IsOK(ecode4
)) {
28095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28097 arg4
= static_cast< int >(val4
);
28100 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28112 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28113 PyObject
*resultobj
= 0;
28114 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28115 wxPoint2DDouble
*arg2
= 0 ;
28116 int arg3
= (int) wxODDEVEN_RULE
;
28125 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28127 if (!SWIG_IsOK(res1
)) {
28128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28130 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28131 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28132 if (!SWIG_IsOK(res2
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28138 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28140 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28141 if (!SWIG_IsOK(ecode3
)) {
28142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28144 arg3
= static_cast< int >(val3
);
28147 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28159 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28163 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28165 if ((argc
>= 2) && (argc
<= 3)) {
28168 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28169 _v
= SWIG_CheckState(res
);
28171 if (!_v
) goto check_1
;
28175 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28176 _v
= SWIG_CheckState(res
);
28179 if (!_v
) goto check_1
;
28181 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28185 if ((argc
>= 3) && (argc
<= 4)) {
28186 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28190 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28195 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28198 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28199 return SWIG_Py_Void();
28202 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28203 return SWIG_Python_InitShadowInstance(args
);
28206 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28207 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28212 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28213 PyObject
*pyobj
= 0;
28215 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28220 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28221 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28226 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28227 PyObject
*pyobj
= 0;
28229 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28234 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28235 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28240 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28241 PyObject
*pyobj
= 0;
28243 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28248 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28249 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28254 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28255 PyObject
*pyobj
= 0;
28257 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28262 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28263 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28268 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28269 PyObject
*pyobj
= 0;
28271 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28276 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28277 PyObject
*resultobj
= 0;
28278 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28281 PyObject
*swig_obj
[1] ;
28283 if (!args
) SWIG_fail
;
28284 swig_obj
[0] = args
;
28285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28286 if (!SWIG_IsOK(res1
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28289 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= SWIG_Py_Void();
28302 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28303 PyObject
*resultobj
= 0;
28304 wxWindowDC
*arg1
= 0 ;
28305 wxGraphicsContext
*result
= 0 ;
28309 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28317 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28319 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28329 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28330 PyObject
*resultobj
= 0;
28331 wxWindow
*arg1
= (wxWindow
*) 0 ;
28332 wxGraphicsContext
*result
= 0 ;
28336 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28341 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28343 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28353 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28357 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28362 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28363 _v
= SWIG_CheckState(res
);
28365 if (!_v
) goto check_1
;
28366 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28371 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28375 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28380 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28381 PyObject
*resultobj
= 0;
28382 wxGraphicsContext
*result
= 0 ;
28384 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28386 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28396 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
= 0;
28398 void *arg1
= (void *) 0 ;
28399 wxGraphicsContext
*result
= 0 ;
28401 PyObject
* obj0
= 0 ;
28402 char * kwnames
[] = {
28403 (char *) "context", NULL
28406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28407 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28408 if (!SWIG_IsOK(res1
)) {
28409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28412 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28422 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
= 0;
28424 void *arg1
= (void *) 0 ;
28425 wxGraphicsContext
*result
= 0 ;
28427 PyObject
* obj0
= 0 ;
28428 char * kwnames
[] = {
28429 (char *) "window", NULL
28432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28433 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28438 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28448 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28449 PyObject
*resultobj
= 0;
28450 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28451 wxGraphicsPath result
;
28454 PyObject
*swig_obj
[1] ;
28456 if (!args
) SWIG_fail
;
28457 swig_obj
[0] = args
;
28458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28462 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28464 result
= (arg1
)->CreatePath();
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28474 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
= 0;
28476 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28478 wxGraphicsPen result
;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char * kwnames
[] = {
28486 (char *) "self",(char *) "pen", NULL
28489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28491 if (!SWIG_IsOK(res1
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28496 if (!SWIG_IsOK(res2
)) {
28497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28502 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28504 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28514 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28515 PyObject
*resultobj
= 0;
28516 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28517 wxBrush
*arg2
= 0 ;
28518 wxGraphicsBrush result
;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 char * kwnames
[] = {
28526 (char *) "self",(char *) "brush", NULL
28529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28536 if (!SWIG_IsOK(res2
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28542 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28544 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28554 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
= 0;
28556 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28561 wxColour
*arg6
= 0 ;
28562 wxColour
*arg7
= 0 ;
28563 wxGraphicsBrush result
;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 PyObject
* obj2
= 0 ;
28579 PyObject
* obj3
= 0 ;
28580 PyObject
* obj4
= 0 ;
28581 PyObject
* obj5
= 0 ;
28582 PyObject
* obj6
= 0 ;
28583 char * kwnames
[] = {
28584 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28592 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28593 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28594 if (!SWIG_IsOK(ecode2
)) {
28595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28597 arg2
= static_cast< wxDouble
>(val2
);
28598 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28599 if (!SWIG_IsOK(ecode3
)) {
28600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28602 arg3
= static_cast< wxDouble
>(val3
);
28603 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28604 if (!SWIG_IsOK(ecode4
)) {
28605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28607 arg4
= static_cast< wxDouble
>(val4
);
28608 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28609 if (!SWIG_IsOK(ecode5
)) {
28610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28612 arg5
= static_cast< wxDouble
>(val5
);
28615 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28619 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28622 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28632 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
= 0;
28634 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28640 wxColour
*arg7
= 0 ;
28641 wxColour
*arg8
= 0 ;
28642 wxGraphicsBrush result
;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 PyObject
* obj2
= 0 ;
28660 PyObject
* obj3
= 0 ;
28661 PyObject
* obj4
= 0 ;
28662 PyObject
* obj5
= 0 ;
28663 PyObject
* obj6
= 0 ;
28664 PyObject
* obj7
= 0 ;
28665 char * kwnames
[] = {
28666 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28674 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28675 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28676 if (!SWIG_IsOK(ecode2
)) {
28677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28679 arg2
= static_cast< wxDouble
>(val2
);
28680 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28681 if (!SWIG_IsOK(ecode3
)) {
28682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28684 arg3
= static_cast< wxDouble
>(val3
);
28685 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28686 if (!SWIG_IsOK(ecode4
)) {
28687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28689 arg4
= static_cast< wxDouble
>(val4
);
28690 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28691 if (!SWIG_IsOK(ecode5
)) {
28692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28694 arg5
= static_cast< wxDouble
>(val5
);
28695 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28696 if (!SWIG_IsOK(ecode6
)) {
28697 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28699 arg6
= static_cast< wxDouble
>(val6
);
28702 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28706 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28709 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28719 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
= 0;
28721 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28723 wxColour
const &arg3_defvalue
= *wxBLACK
;
28724 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28725 wxGraphicsFont result
;
28731 PyObject
* obj0
= 0 ;
28732 PyObject
* obj1
= 0 ;
28733 PyObject
* obj2
= 0 ;
28734 char * kwnames
[] = {
28735 (char *) "self",(char *) "font",(char *) "col", NULL
28738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28743 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28745 if (!SWIG_IsOK(res2
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28755 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28759 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28769 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
= 0;
28771 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28772 wxDouble arg2
= (wxDouble
) 1.0 ;
28773 wxDouble arg3
= (wxDouble
) 0.0 ;
28774 wxDouble arg4
= (wxDouble
) 0.0 ;
28775 wxDouble arg5
= (wxDouble
) 1.0 ;
28776 wxDouble arg6
= (wxDouble
) 0.0 ;
28777 wxDouble arg7
= (wxDouble
) 0.0 ;
28778 wxGraphicsMatrix result
;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 PyObject
* obj2
= 0 ;
28796 PyObject
* obj3
= 0 ;
28797 PyObject
* obj4
= 0 ;
28798 PyObject
* obj5
= 0 ;
28799 PyObject
* obj6
= 0 ;
28800 char * kwnames
[] = {
28801 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28809 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28811 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28812 if (!SWIG_IsOK(ecode2
)) {
28813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28815 arg2
= static_cast< wxDouble
>(val2
);
28818 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28819 if (!SWIG_IsOK(ecode3
)) {
28820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28822 arg3
= static_cast< wxDouble
>(val3
);
28825 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28826 if (!SWIG_IsOK(ecode4
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28829 arg4
= static_cast< wxDouble
>(val4
);
28832 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28833 if (!SWIG_IsOK(ecode5
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28836 arg5
= static_cast< wxDouble
>(val5
);
28839 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28840 if (!SWIG_IsOK(ecode6
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28843 arg6
= static_cast< wxDouble
>(val6
);
28846 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28847 if (!SWIG_IsOK(ecode7
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28850 arg7
= static_cast< wxDouble
>(val7
);
28853 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28863 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28864 PyObject
*resultobj
= 0;
28865 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28868 PyObject
*swig_obj
[1] ;
28870 if (!args
) SWIG_fail
;
28871 swig_obj
[0] = args
;
28872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28876 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28878 (arg1
)->PushState();
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_Py_Void();
28888 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 PyObject
*resultobj
= 0;
28890 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28893 PyObject
*swig_obj
[1] ;
28895 if (!args
) SWIG_fail
;
28896 swig_obj
[0] = args
;
28897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28901 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28903 (arg1
)->PopState();
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_Py_Void();
28913 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
= 0;
28915 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28916 wxRegion
*arg2
= 0 ;
28921 PyObject
* obj0
= 0 ;
28922 PyObject
* obj1
= 0 ;
28923 char * kwnames
[] = {
28924 (char *) "self",(char *) "region", NULL
28927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28932 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28934 if (!SWIG_IsOK(res2
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28940 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28942 (arg1
)->Clip((wxRegion
const &)*arg2
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_Py_Void();
28952 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
= 0;
28954 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 PyObject
* obj2
= 0 ;
28972 PyObject
* obj3
= 0 ;
28973 PyObject
* obj4
= 0 ;
28974 char * kwnames
[] = {
28975 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28980 if (!SWIG_IsOK(res1
)) {
28981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28983 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28984 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28985 if (!SWIG_IsOK(ecode2
)) {
28986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28988 arg2
= static_cast< wxDouble
>(val2
);
28989 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28990 if (!SWIG_IsOK(ecode3
)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28993 arg3
= static_cast< wxDouble
>(val3
);
28994 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28995 if (!SWIG_IsOK(ecode4
)) {
28996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28998 arg4
= static_cast< wxDouble
>(val4
);
28999 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29000 if (!SWIG_IsOK(ecode5
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29003 arg5
= static_cast< wxDouble
>(val5
);
29005 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= SWIG_Py_Void();
29015 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29016 PyObject
*resultobj
= 0;
29017 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29020 PyObject
*swig_obj
[1] ;
29022 if (!args
) SWIG_fail
;
29023 swig_obj
[0] = args
;
29024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29025 if (!SWIG_IsOK(res1
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29028 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29030 (arg1
)->ResetClip();
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_Py_Void();
29040 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29041 PyObject
*resultobj
= 0;
29042 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29046 PyObject
*swig_obj
[1] ;
29048 if (!args
) SWIG_fail
;
29049 swig_obj
[0] = args
;
29050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29054 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29056 result
= (void *)(arg1
)->GetNativeContext();
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29066 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
= 0;
29068 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 PyObject
* obj2
= 0 ;
29080 char * kwnames
[] = {
29081 (char *) "self",(char *) "dx",(char *) "dy", NULL
29084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29086 if (!SWIG_IsOK(res1
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29089 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29090 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29091 if (!SWIG_IsOK(ecode2
)) {
29092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29094 arg2
= static_cast< wxDouble
>(val2
);
29095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29096 if (!SWIG_IsOK(ecode3
)) {
29097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29099 arg3
= static_cast< wxDouble
>(val3
);
29101 (arg1
)->Translate(arg2
,arg3
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 resultobj
= SWIG_Py_Void();
29111 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
= 0;
29113 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 PyObject
* obj2
= 0 ;
29125 char * kwnames
[] = {
29126 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29131 if (!SWIG_IsOK(res1
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29134 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29135 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29136 if (!SWIG_IsOK(ecode2
)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29139 arg2
= static_cast< wxDouble
>(val2
);
29140 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29141 if (!SWIG_IsOK(ecode3
)) {
29142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29144 arg3
= static_cast< wxDouble
>(val3
);
29146 (arg1
)->Scale(arg2
,arg3
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= SWIG_Py_Void();
29156 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
= 0;
29158 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 char * kwnames
[] = {
29167 (char *) "self",(char *) "angle", NULL
29170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29175 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29176 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29177 if (!SWIG_IsOK(ecode2
)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29180 arg2
= static_cast< wxDouble
>(val2
);
29182 (arg1
)->Rotate(arg2
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= SWIG_Py_Void();
29192 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
= 0;
29194 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29195 wxGraphicsMatrix
*arg2
= 0 ;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 char * kwnames
[] = {
29203 (char *) "self",(char *) "matrix", NULL
29206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29208 if (!SWIG_IsOK(res1
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29213 if (!SWIG_IsOK(res2
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29219 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29221 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_Py_Void();
29231 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
= 0;
29233 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29234 wxGraphicsMatrix
*arg2
= 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 char * kwnames
[] = {
29242 (char *) "self",(char *) "matrix", NULL
29245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29250 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29252 if (!SWIG_IsOK(res2
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29258 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29260 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_Py_Void();
29270 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29271 PyObject
*resultobj
= 0;
29272 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29273 wxGraphicsMatrix result
;
29276 PyObject
*swig_obj
[1] ;
29278 if (!args
) SWIG_fail
;
29279 swig_obj
[0] = args
;
29280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29281 if (!SWIG_IsOK(res1
)) {
29282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29286 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29296 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29297 PyObject
*resultobj
= 0;
29298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29299 wxGraphicsPen
*arg2
= 0 ;
29305 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29310 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29311 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29312 if (!SWIG_IsOK(res2
)) {
29313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29318 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29320 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= SWIG_Py_Void();
29330 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29331 PyObject
*resultobj
= 0;
29332 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29339 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29344 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29345 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29346 if (!SWIG_IsOK(res2
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29352 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29354 (arg1
)->SetPen((wxPen
const &)*arg2
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= SWIG_Py_Void();
29364 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29368 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29373 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29374 _v
= SWIG_CheckState(res
);
29376 if (!_v
) goto check_1
;
29377 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29382 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29386 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29391 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29392 PyObject
*resultobj
= 0;
29393 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29394 wxGraphicsBrush
*arg2
= 0 ;
29400 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29402 if (!SWIG_IsOK(res1
)) {
29403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29405 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29406 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29407 if (!SWIG_IsOK(res2
)) {
29408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29413 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29415 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= SWIG_Py_Void();
29425 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29426 PyObject
*resultobj
= 0;
29427 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29428 wxBrush
*arg2
= 0 ;
29434 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29436 if (!SWIG_IsOK(res1
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29439 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29440 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29441 if (!SWIG_IsOK(res2
)) {
29442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29447 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29449 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_Py_Void();
29459 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29463 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29468 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29469 _v
= SWIG_CheckState(res
);
29471 if (!_v
) goto check_1
;
29472 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29477 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29481 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29486 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29487 PyObject
*resultobj
= 0;
29488 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29489 wxGraphicsFont
*arg2
= 0 ;
29495 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29497 if (!SWIG_IsOK(res1
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29500 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29501 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29502 if (!SWIG_IsOK(res2
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29508 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29510 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_Py_Void();
29520 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29521 PyObject
*resultobj
= 0;
29522 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29524 wxColour
const &arg3_defvalue
= *wxBLACK
;
29525 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29532 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29537 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29538 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29539 if (!SWIG_IsOK(res2
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29545 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29549 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29553 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= SWIG_Py_Void();
29563 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29567 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29572 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29573 _v
= SWIG_CheckState(res
);
29575 if (!_v
) goto check_1
;
29576 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29580 if ((argc
>= 2) && (argc
<= 3)) {
29581 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29585 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29590 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29591 PyObject
*resultobj
= 0;
29592 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29593 wxGraphicsPath
*arg2
= 0 ;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 char * kwnames
[] = {
29601 (char *) "self",(char *) "path", NULL
29604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29606 if (!SWIG_IsOK(res1
)) {
29607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29609 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29611 if (!SWIG_IsOK(res2
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29617 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29619 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= SWIG_Py_Void();
29629 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
= 0;
29631 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29632 wxGraphicsPath
*arg2
= 0 ;
29633 int arg3
= (int) wxODDEVEN_RULE
;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 PyObject
* obj2
= 0 ;
29643 char * kwnames
[] = {
29644 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29649 if (!SWIG_IsOK(res1
)) {
29650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29652 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29654 if (!SWIG_IsOK(res2
)) {
29655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29660 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29663 if (!SWIG_IsOK(ecode3
)) {
29664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29666 arg3
= static_cast< int >(val3
);
29669 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= SWIG_Py_Void();
29679 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29682 wxGraphicsPath
*arg2
= 0 ;
29683 int arg3
= (int) wxODDEVEN_RULE
;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 PyObject
* obj2
= 0 ;
29693 char * kwnames
[] = {
29694 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29699 if (!SWIG_IsOK(res1
)) {
29700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29702 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29704 if (!SWIG_IsOK(res2
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29710 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29713 if (!SWIG_IsOK(ecode3
)) {
29714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29716 arg3
= static_cast< int >(val3
);
29719 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= SWIG_Py_Void();
29729 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
= 0;
29731 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29732 wxString
*arg2
= 0 ;
29735 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29736 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29739 bool temp2
= false ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 PyObject
* obj2
= 0 ;
29749 PyObject
* obj3
= 0 ;
29750 PyObject
* obj4
= 0 ;
29751 char * kwnames
[] = {
29752 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29760 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29762 arg2
= wxString_in_helper(obj1
);
29763 if (arg2
== NULL
) SWIG_fail
;
29766 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29767 if (!SWIG_IsOK(ecode3
)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29770 arg3
= static_cast< wxDouble
>(val3
);
29771 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29772 if (!SWIG_IsOK(ecode4
)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29775 arg4
= static_cast< wxDouble
>(val4
);
29777 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29778 if (!SWIG_IsOK(res5
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29784 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29787 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= SWIG_Py_Void();
29805 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
= 0;
29807 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29808 wxString
*arg2
= 0 ;
29812 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29813 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29816 bool temp2
= false ;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 PyObject
* obj2
= 0 ;
29828 PyObject
* obj3
= 0 ;
29829 PyObject
* obj4
= 0 ;
29830 PyObject
* obj5
= 0 ;
29831 char * kwnames
[] = {
29832 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29840 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29842 arg2
= wxString_in_helper(obj1
);
29843 if (arg2
== NULL
) SWIG_fail
;
29846 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29847 if (!SWIG_IsOK(ecode3
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29850 arg3
= static_cast< wxDouble
>(val3
);
29851 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29852 if (!SWIG_IsOK(ecode4
)) {
29853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29855 arg4
= static_cast< wxDouble
>(val4
);
29856 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29857 if (!SWIG_IsOK(ecode5
)) {
29858 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29860 arg5
= static_cast< wxDouble
>(val5
);
29862 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29863 if (!SWIG_IsOK(res6
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29869 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29872 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= SWIG_Py_Void();
29890 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
= 0;
29892 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29893 wxString
*arg2
= 0 ;
29894 wxDouble
*arg3
= (wxDouble
*) 0 ;
29895 wxDouble
*arg4
= (wxDouble
*) 0 ;
29896 wxDouble
*arg5
= (wxDouble
*) 0 ;
29897 wxDouble
*arg6
= (wxDouble
*) 0 ;
29900 bool temp2
= false ;
29902 int res3
= SWIG_TMPOBJ
;
29904 int res4
= SWIG_TMPOBJ
;
29906 int res5
= SWIG_TMPOBJ
;
29908 int res6
= SWIG_TMPOBJ
;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 char * kwnames
[] = {
29912 (char *) "self",(char *) "text", NULL
29919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29921 if (!SWIG_IsOK(res1
)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29924 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29926 arg2
= wxString_in_helper(obj1
);
29927 if (arg2
== NULL
) SWIG_fail
;
29931 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29934 resultobj
= SWIG_Py_Void();
29935 if (SWIG_IsTmpObj(res3
)) {
29936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29938 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29941 if (SWIG_IsTmpObj(res4
)) {
29942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29944 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29947 if (SWIG_IsTmpObj(res5
)) {
29948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29950 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29953 if (SWIG_IsTmpObj(res6
)) {
29954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29956 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29973 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
= 0;
29975 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29976 wxString
*arg2
= 0 ;
29977 PyObject
*result
= 0 ;
29980 bool temp2
= false ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char * kwnames
[] = {
29984 (char *) "self",(char *) "text", NULL
29987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29992 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29994 arg2
= wxString_in_helper(obj1
);
29995 if (arg2
== NULL
) SWIG_fail
;
29999 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= result
;
30017 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30020 wxString
*arg2
= 0 ;
30021 wxArrayDouble result
;
30024 bool temp2
= false ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char * kwnames
[] = {
30028 (char *) "self",(char *) "text", NULL
30031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30033 if (!SWIG_IsOK(res1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30036 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30038 arg2
= wxString_in_helper(obj1
);
30039 if (arg2
== NULL
) SWIG_fail
;
30043 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= wxArrayDouble2PyList_helper(result
);
30063 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
= 0;
30065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30066 wxBitmap
*arg2
= 0 ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 PyObject
* obj3
= 0 ;
30087 PyObject
* obj4
= 0 ;
30088 PyObject
* obj5
= 0 ;
30089 char * kwnames
[] = {
30090 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30095 if (!SWIG_IsOK(res1
)) {
30096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30098 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30100 if (!SWIG_IsOK(res2
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30106 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30107 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30108 if (!SWIG_IsOK(ecode3
)) {
30109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30111 arg3
= static_cast< wxDouble
>(val3
);
30112 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30113 if (!SWIG_IsOK(ecode4
)) {
30114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30116 arg4
= static_cast< wxDouble
>(val4
);
30117 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30118 if (!SWIG_IsOK(ecode5
)) {
30119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30121 arg5
= static_cast< wxDouble
>(val5
);
30122 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30123 if (!SWIG_IsOK(ecode6
)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30126 arg6
= static_cast< wxDouble
>(val6
);
30128 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= SWIG_Py_Void();
30138 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
= 0;
30140 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 PyObject
* obj2
= 0 ;
30161 PyObject
* obj3
= 0 ;
30162 PyObject
* obj4
= 0 ;
30163 PyObject
* obj5
= 0 ;
30164 char * kwnames
[] = {
30165 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30170 if (!SWIG_IsOK(res1
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30173 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30175 if (!SWIG_IsOK(res2
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30181 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30182 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30183 if (!SWIG_IsOK(ecode3
)) {
30184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30186 arg3
= static_cast< wxDouble
>(val3
);
30187 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30188 if (!SWIG_IsOK(ecode4
)) {
30189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30191 arg4
= static_cast< wxDouble
>(val4
);
30192 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30193 if (!SWIG_IsOK(ecode5
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30196 arg5
= static_cast< wxDouble
>(val5
);
30197 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30198 if (!SWIG_IsOK(ecode6
)) {
30199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30201 arg6
= static_cast< wxDouble
>(val6
);
30203 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= SWIG_Py_Void();
30213 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30214 PyObject
*resultobj
= 0;
30215 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 PyObject
* obj2
= 0 ;
30233 PyObject
* obj3
= 0 ;
30234 PyObject
* obj4
= 0 ;
30235 char * kwnames
[] = {
30236 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30244 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30245 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30246 if (!SWIG_IsOK(ecode2
)) {
30247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30249 arg2
= static_cast< wxDouble
>(val2
);
30250 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30251 if (!SWIG_IsOK(ecode3
)) {
30252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30254 arg3
= static_cast< wxDouble
>(val3
);
30255 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30256 if (!SWIG_IsOK(ecode4
)) {
30257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30259 arg4
= static_cast< wxDouble
>(val4
);
30260 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30261 if (!SWIG_IsOK(ecode5
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30264 arg5
= static_cast< wxDouble
>(val5
);
30266 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= SWIG_Py_Void();
30276 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
= 0;
30278 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30280 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30283 PyObject
* obj0
= 0 ;
30284 PyObject
* obj1
= 0 ;
30285 char * kwnames
[] = {
30286 (char *) "self",(char *) "points", NULL
30289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30291 if (!SWIG_IsOK(res1
)) {
30292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30294 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30296 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30297 if (arg3
== NULL
) SWIG_fail
;
30300 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_Py_Void();
30305 if (arg3
) delete [] arg3
;
30310 if (arg3
) delete [] arg3
;
30316 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
= 0;
30318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30319 PyObject
*arg2
= (PyObject
*) 0 ;
30320 PyObject
*arg3
= (PyObject
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30339 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_Py_Void();
30349 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
= 0;
30351 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30353 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30354 int arg4
= (int) wxODDEVEN_RULE
;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 PyObject
* obj2
= 0 ;
30362 char * kwnames
[] = {
30363 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30368 if (!SWIG_IsOK(res1
)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30371 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30373 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30374 if (arg3
== NULL
) SWIG_fail
;
30377 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30378 if (!SWIG_IsOK(ecode4
)) {
30379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30381 arg4
= static_cast< int >(val4
);
30384 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_Py_Void();
30389 if (arg3
) delete [] arg3
;
30394 if (arg3
) delete [] arg3
;
30400 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= 0;
30402 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 PyObject
* obj2
= 0 ;
30420 PyObject
* obj3
= 0 ;
30421 PyObject
* obj4
= 0 ;
30422 char * kwnames
[] = {
30423 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30431 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30432 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30433 if (!SWIG_IsOK(ecode2
)) {
30434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30436 arg2
= static_cast< wxDouble
>(val2
);
30437 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30438 if (!SWIG_IsOK(ecode3
)) {
30439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30441 arg3
= static_cast< wxDouble
>(val3
);
30442 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30443 if (!SWIG_IsOK(ecode4
)) {
30444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30446 arg4
= static_cast< wxDouble
>(val4
);
30447 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30448 if (!SWIG_IsOK(ecode5
)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30451 arg5
= static_cast< wxDouble
>(val5
);
30453 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= SWIG_Py_Void();
30463 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
= 0;
30465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30480 PyObject
* obj0
= 0 ;
30481 PyObject
* obj1
= 0 ;
30482 PyObject
* obj2
= 0 ;
30483 PyObject
* obj3
= 0 ;
30484 PyObject
* obj4
= 0 ;
30485 char * kwnames
[] = {
30486 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30491 if (!SWIG_IsOK(res1
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30495 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30496 if (!SWIG_IsOK(ecode2
)) {
30497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30499 arg2
= static_cast< wxDouble
>(val2
);
30500 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30501 if (!SWIG_IsOK(ecode3
)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30504 arg3
= static_cast< wxDouble
>(val3
);
30505 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30506 if (!SWIG_IsOK(ecode4
)) {
30507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30509 arg4
= static_cast< wxDouble
>(val4
);
30510 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30511 if (!SWIG_IsOK(ecode5
)) {
30512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30514 arg5
= static_cast< wxDouble
>(val5
);
30516 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_Py_Void();
30526 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30546 PyObject
* obj0
= 0 ;
30547 PyObject
* obj1
= 0 ;
30548 PyObject
* obj2
= 0 ;
30549 PyObject
* obj3
= 0 ;
30550 PyObject
* obj4
= 0 ;
30551 PyObject
* obj5
= 0 ;
30552 char * kwnames
[] = {
30553 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30561 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30562 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30563 if (!SWIG_IsOK(ecode2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30566 arg2
= static_cast< wxDouble
>(val2
);
30567 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30568 if (!SWIG_IsOK(ecode3
)) {
30569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30571 arg3
= static_cast< wxDouble
>(val3
);
30572 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30573 if (!SWIG_IsOK(ecode4
)) {
30574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30576 arg4
= static_cast< wxDouble
>(val4
);
30577 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30578 if (!SWIG_IsOK(ecode5
)) {
30579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30581 arg5
= static_cast< wxDouble
>(val5
);
30582 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30583 if (!SWIG_IsOK(ecode6
)) {
30584 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30586 arg6
= static_cast< wxDouble
>(val6
);
30588 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= SWIG_Py_Void();
30598 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30599 PyObject
*resultobj
= 0;
30600 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30604 PyObject
*swig_obj
[1] ;
30606 if (!args
) SWIG_fail
;
30607 swig_obj
[0] = args
;
30608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30609 if (!SWIG_IsOK(res1
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30612 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30614 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30615 if (PyErr_Occurred()) SWIG_fail
;
30618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30626 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30629 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30630 return SWIG_Py_Void();
30633 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30634 PyObject
*resultobj
= 0;
30635 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30638 PyObject
*swig_obj
[1] ;
30640 if (!args
) SWIG_fail
;
30641 swig_obj
[0] = args
;
30642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30643 if (!SWIG_IsOK(res1
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30646 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= SWIG_Py_Void();
30659 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30660 PyObject
*resultobj
= 0;
30661 wxGraphicsRenderer
*result
= 0 ;
30663 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30665 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30675 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30676 PyObject
*resultobj
= 0;
30677 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30678 wxWindowDC
*arg2
= 0 ;
30679 wxGraphicsContext
*result
= 0 ;
30685 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30687 if (!SWIG_IsOK(res1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30690 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30691 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30692 if (!SWIG_IsOK(res2
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30698 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30700 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30710 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30711 PyObject
*resultobj
= 0;
30712 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30713 wxWindow
*arg2
= (wxWindow
*) 0 ;
30714 wxGraphicsContext
*result
= 0 ;
30720 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30722 if (!SWIG_IsOK(res1
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30725 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30726 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30727 if (!SWIG_IsOK(res2
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30730 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30732 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30742 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30746 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30751 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30752 _v
= SWIG_CheckState(res
);
30754 if (!_v
) goto check_1
;
30755 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30760 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30764 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30769 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30770 PyObject
*resultobj
= 0;
30771 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30772 wxGraphicsContext
*result
= 0 ;
30775 PyObject
*swig_obj
[1] ;
30777 if (!args
) SWIG_fail
;
30778 swig_obj
[0] = args
;
30779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30780 if (!SWIG_IsOK(res1
)) {
30781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30783 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30785 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30795 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30796 PyObject
*resultobj
= 0;
30797 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30798 void *arg2
= (void *) 0 ;
30799 wxGraphicsContext
*result
= 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 char * kwnames
[] = {
30806 (char *) "self",(char *) "context", NULL
30809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30811 if (!SWIG_IsOK(res1
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30814 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30815 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30816 if (!SWIG_IsOK(res2
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30820 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30830 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
= 0;
30832 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30833 void *arg2
= (void *) 0 ;
30834 wxGraphicsContext
*result
= 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char * kwnames
[] = {
30841 (char *) "self",(char *) "window", NULL
30844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30849 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30850 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30851 if (!SWIG_IsOK(res2
)) {
30852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30855 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30865 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30866 PyObject
*resultobj
= 0;
30867 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30868 wxGraphicsPath result
;
30871 PyObject
*swig_obj
[1] ;
30873 if (!args
) SWIG_fail
;
30874 swig_obj
[0] = args
;
30875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30879 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30881 result
= (arg1
)->CreatePath();
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30891 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30892 PyObject
*resultobj
= 0;
30893 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30894 wxDouble arg2
= (wxDouble
) 1.0 ;
30895 wxDouble arg3
= (wxDouble
) 0.0 ;
30896 wxDouble arg4
= (wxDouble
) 0.0 ;
30897 wxDouble arg5
= (wxDouble
) 1.0 ;
30898 wxDouble arg6
= (wxDouble
) 0.0 ;
30899 wxDouble arg7
= (wxDouble
) 0.0 ;
30900 wxGraphicsMatrix result
;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 PyObject
* obj2
= 0 ;
30918 PyObject
* obj3
= 0 ;
30919 PyObject
* obj4
= 0 ;
30920 PyObject
* obj5
= 0 ;
30921 PyObject
* obj6
= 0 ;
30922 char * kwnames
[] = {
30923 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30928 if (!SWIG_IsOK(res1
)) {
30929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30931 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30933 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30934 if (!SWIG_IsOK(ecode2
)) {
30935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30937 arg2
= static_cast< wxDouble
>(val2
);
30940 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30941 if (!SWIG_IsOK(ecode3
)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30944 arg3
= static_cast< wxDouble
>(val3
);
30947 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30948 if (!SWIG_IsOK(ecode4
)) {
30949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30951 arg4
= static_cast< wxDouble
>(val4
);
30954 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30955 if (!SWIG_IsOK(ecode5
)) {
30956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30958 arg5
= static_cast< wxDouble
>(val5
);
30961 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30962 if (!SWIG_IsOK(ecode6
)) {
30963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30965 arg6
= static_cast< wxDouble
>(val6
);
30968 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30969 if (!SWIG_IsOK(ecode7
)) {
30970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30972 arg7
= static_cast< wxDouble
>(val7
);
30975 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30985 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
= 0;
30987 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30989 wxGraphicsPen result
;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 char * kwnames
[] = {
30997 (char *) "self",(char *) "pen", NULL
31000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31002 if (!SWIG_IsOK(res1
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31005 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31007 if (!SWIG_IsOK(res2
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31013 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31015 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31025 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
= 0;
31027 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31028 wxBrush
*arg2
= 0 ;
31029 wxGraphicsBrush result
;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 char * kwnames
[] = {
31037 (char *) "self",(char *) "brush", NULL
31040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31042 if (!SWIG_IsOK(res1
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31045 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31047 if (!SWIG_IsOK(res2
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31053 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31055 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31065 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
= 0;
31067 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31072 wxColour
*arg6
= 0 ;
31073 wxColour
*arg7
= 0 ;
31074 wxGraphicsBrush result
;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 PyObject
* obj2
= 0 ;
31090 PyObject
* obj3
= 0 ;
31091 PyObject
* obj4
= 0 ;
31092 PyObject
* obj5
= 0 ;
31093 PyObject
* obj6
= 0 ;
31094 char * kwnames
[] = {
31095 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31100 if (!SWIG_IsOK(res1
)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31103 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31104 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31105 if (!SWIG_IsOK(ecode2
)) {
31106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31108 arg2
= static_cast< wxDouble
>(val2
);
31109 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31110 if (!SWIG_IsOK(ecode3
)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31113 arg3
= static_cast< wxDouble
>(val3
);
31114 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31115 if (!SWIG_IsOK(ecode4
)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31118 arg4
= static_cast< wxDouble
>(val4
);
31119 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31120 if (!SWIG_IsOK(ecode5
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31123 arg5
= static_cast< wxDouble
>(val5
);
31126 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31130 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31133 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31143 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31144 PyObject
*resultobj
= 0;
31145 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31151 wxColour
*arg7
= 0 ;
31152 wxColour
*arg8
= 0 ;
31153 wxGraphicsBrush result
;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 PyObject
* obj3
= 0 ;
31172 PyObject
* obj4
= 0 ;
31173 PyObject
* obj5
= 0 ;
31174 PyObject
* obj6
= 0 ;
31175 PyObject
* obj7
= 0 ;
31176 char * kwnames
[] = {
31177 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31182 if (!SWIG_IsOK(res1
)) {
31183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31185 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31186 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31187 if (!SWIG_IsOK(ecode2
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31190 arg2
= static_cast< wxDouble
>(val2
);
31191 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31192 if (!SWIG_IsOK(ecode3
)) {
31193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31195 arg3
= static_cast< wxDouble
>(val3
);
31196 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31197 if (!SWIG_IsOK(ecode4
)) {
31198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31200 arg4
= static_cast< wxDouble
>(val4
);
31201 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31202 if (!SWIG_IsOK(ecode5
)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31205 arg5
= static_cast< wxDouble
>(val5
);
31206 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31207 if (!SWIG_IsOK(ecode6
)) {
31208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31210 arg6
= static_cast< wxDouble
>(val6
);
31213 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31217 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31220 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31230 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31234 wxColour
const &arg3_defvalue
= *wxBLACK
;
31235 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31236 wxGraphicsFont result
;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 PyObject
* obj2
= 0 ;
31245 char * kwnames
[] = {
31246 (char *) "self",(char *) "font",(char *) "col", NULL
31249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31251 if (!SWIG_IsOK(res1
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31254 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31256 if (!SWIG_IsOK(res2
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31262 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31266 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31270 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31280 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31283 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31284 return SWIG_Py_Void();
31287 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
= 0;
31289 wxWindowDC
*arg1
= 0 ;
31290 wxGCDC
*result
= 0 ;
31293 PyObject
* obj0
= 0 ;
31294 char * kwnames
[] = {
31295 (char *) "dc", NULL
31298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
31299 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31300 if (!SWIG_IsOK(res1
)) {
31301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31306 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31308 if (!wxPyCheckForApp()) SWIG_fail
;
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31321 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31322 PyObject
*resultobj
= 0;
31323 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31326 PyObject
*swig_obj
[1] ;
31328 if (!args
) SWIG_fail
;
31329 swig_obj
[0] = args
;
31330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31331 if (!SWIG_IsOK(res1
)) {
31332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31334 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31340 resultobj
= SWIG_Py_Void();
31347 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31348 PyObject
*resultobj
= 0;
31349 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31350 wxGraphicsContext
*result
= 0 ;
31353 PyObject
*swig_obj
[1] ;
31355 if (!args
) SWIG_fail
;
31356 swig_obj
[0] = args
;
31357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31358 if (!SWIG_IsOK(res1
)) {
31359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31361 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31363 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31373 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
= 0;
31375 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31376 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 char * kwnames
[] = {
31384 (char *) "self",(char *) "ctx", NULL
31387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31389 if (!SWIG_IsOK(res1
)) {
31390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31392 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31393 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31394 if (!SWIG_IsOK(res2
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31397 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31399 (arg1
)->SetGraphicsContext(arg2
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_Py_Void();
31409 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31412 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31413 return SWIG_Py_Void();
31416 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31417 return SWIG_Python_InitShadowInstance(args
);
31420 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31421 PyObject
*resultobj
= 0;
31422 wxOverlay
*result
= 0 ;
31424 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= (wxOverlay
*)new wxOverlay();
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31438 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31439 PyObject
*resultobj
= 0;
31440 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31443 PyObject
*swig_obj
[1] ;
31445 if (!args
) SWIG_fail
;
31446 swig_obj
[0] = args
;
31447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31448 if (!SWIG_IsOK(res1
)) {
31449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31451 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_Py_Void();
31466 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31467 PyObject
*resultobj
= 0;
31468 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31471 PyObject
*swig_obj
[1] ;
31473 if (!args
) SWIG_fail
;
31474 swig_obj
[0] = args
;
31475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31479 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= SWIG_Py_Void();
31493 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31496 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31497 return SWIG_Py_Void();
31500 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31501 return SWIG_Python_InitShadowInstance(args
);
31504 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31505 PyObject
*resultobj
= 0;
31506 wxOverlay
*arg1
= 0 ;
31507 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31512 wxDCOverlay
*result
= 0 ;
31526 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31534 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31535 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31536 if (!SWIG_IsOK(res2
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31539 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31540 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31541 if (!SWIG_IsOK(ecode3
)) {
31542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31544 arg3
= static_cast< int >(val3
);
31545 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31546 if (!SWIG_IsOK(ecode4
)) {
31547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31549 arg4
= static_cast< int >(val4
);
31550 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31551 if (!SWIG_IsOK(ecode5
)) {
31552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31554 arg5
= static_cast< int >(val5
);
31555 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31556 if (!SWIG_IsOK(ecode6
)) {
31557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31559 arg6
= static_cast< int >(val6
);
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31573 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31574 PyObject
*resultobj
= 0;
31575 wxOverlay
*arg1
= 0 ;
31576 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31577 wxDCOverlay
*result
= 0 ;
31583 if ((nobjs
< 2) || (nobjs
> 2)) 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
);
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31610 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31614 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31617 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31620 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31624 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31629 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31630 PyObject
*resultobj
= 0;
31631 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31634 PyObject
*swig_obj
[1] ;
31636 if (!args
) SWIG_fail
;
31637 swig_obj
[0] = args
;
31638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31639 if (!SWIG_IsOK(res1
)) {
31640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31642 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= SWIG_Py_Void();
31657 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31658 PyObject
*resultobj
= 0;
31659 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31662 PyObject
*swig_obj
[1] ;
31664 if (!args
) SWIG_fail
;
31665 swig_obj
[0] = args
;
31666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31667 if (!SWIG_IsOK(res1
)) {
31668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31670 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_Py_Void();
31684 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31687 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31688 return SWIG_Py_Void();
31691 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31692 return SWIG_Python_InitShadowInstance(args
);
31695 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
= 0;
31699 int arg3
= (int) true ;
31700 int arg4
= (int) 1 ;
31701 wxImageList
*result
= 0 ;
31710 PyObject
* obj0
= 0 ;
31711 PyObject
* obj1
= 0 ;
31712 PyObject
* obj2
= 0 ;
31713 PyObject
* obj3
= 0 ;
31714 char * kwnames
[] = {
31715 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31720 if (!SWIG_IsOK(ecode1
)) {
31721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31723 arg1
= static_cast< int >(val1
);
31724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31725 if (!SWIG_IsOK(ecode2
)) {
31726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31728 arg2
= static_cast< int >(val2
);
31730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31731 if (!SWIG_IsOK(ecode3
)) {
31732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31734 arg3
= static_cast< int >(val3
);
31737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31738 if (!SWIG_IsOK(ecode4
)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31741 arg4
= static_cast< int >(val4
);
31744 if (!wxPyCheckForApp()) SWIG_fail
;
31745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31746 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31747 wxPyEndAllowThreads(__tstate
);
31748 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31757 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31758 PyObject
*resultobj
= 0;
31759 wxImageList
*arg1
= (wxImageList
*) 0 ;
31762 PyObject
*swig_obj
[1] ;
31764 if (!args
) SWIG_fail
;
31765 swig_obj
[0] = args
;
31766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31767 if (!SWIG_IsOK(res1
)) {
31768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31770 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= SWIG_Py_Void();
31785 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= 0;
31787 wxImageList
*arg1
= (wxImageList
*) 0 ;
31788 wxBitmap
*arg2
= 0 ;
31789 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31790 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31798 PyObject
* obj0
= 0 ;
31799 PyObject
* obj1
= 0 ;
31800 PyObject
* obj2
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31807 if (!SWIG_IsOK(res1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31810 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31812 if (!SWIG_IsOK(res2
)) {
31813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31818 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31821 if (!SWIG_IsOK(res3
)) {
31822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31827 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31831 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31835 resultobj
= SWIG_From_int(static_cast< int >(result
));
31842 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
= 0;
31844 wxImageList
*arg1
= (wxImageList
*) 0 ;
31845 wxBitmap
*arg2
= 0 ;
31846 wxColour
*arg3
= 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 PyObject
* obj2
= 0 ;
31856 char * kwnames
[] = {
31857 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31862 if (!SWIG_IsOK(res1
)) {
31863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31865 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31867 if (!SWIG_IsOK(res2
)) {
31868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31873 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31876 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_From_int(static_cast< int >(result
));
31891 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxImageList
*arg1
= (wxImageList
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 char * kwnames
[] = {
31903 (char *) "self",(char *) "icon", NULL
31906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31908 if (!SWIG_IsOK(res1
)) {
31909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31911 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31913 if (!SWIG_IsOK(res2
)) {
31914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31919 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_From_int(static_cast< int >(result
));
31933 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= 0;
31935 wxImageList
*arg1
= (wxImageList
*) 0 ;
31937 SwigValueWrapper
<wxBitmap
> result
;
31942 PyObject
* obj0
= 0 ;
31943 PyObject
* obj1
= 0 ;
31944 char * kwnames
[] = {
31945 (char *) "self",(char *) "index", NULL
31948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31950 if (!SWIG_IsOK(res1
)) {
31951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31953 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31955 if (!SWIG_IsOK(ecode2
)) {
31956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31958 arg2
= static_cast< int >(val2
);
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31972 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
= 0;
31974 wxImageList
*arg1
= (wxImageList
*) 0 ;
31981 PyObject
* obj0
= 0 ;
31982 PyObject
* obj1
= 0 ;
31983 char * kwnames
[] = {
31984 (char *) "self",(char *) "index", NULL
31987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31989 if (!SWIG_IsOK(res1
)) {
31990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31992 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31994 if (!SWIG_IsOK(ecode2
)) {
31995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31997 arg2
= static_cast< int >(val2
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32011 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxImageList
*arg1
= (wxImageList
*) 0 ;
32015 wxBitmap
*arg3
= 0 ;
32016 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32017 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32027 PyObject
* obj0
= 0 ;
32028 PyObject
* obj1
= 0 ;
32029 PyObject
* obj2
= 0 ;
32030 PyObject
* obj3
= 0 ;
32031 char * kwnames
[] = {
32032 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32037 if (!SWIG_IsOK(res1
)) {
32038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32040 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32042 if (!SWIG_IsOK(ecode2
)) {
32043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32045 arg2
= static_cast< int >(val2
);
32046 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32047 if (!SWIG_IsOK(res3
)) {
32048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32053 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32055 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32056 if (!SWIG_IsOK(res4
)) {
32057 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32062 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32079 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32080 PyObject
*resultobj
= 0;
32081 wxImageList
*arg1
= (wxImageList
*) 0 ;
32086 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32087 bool arg7
= (bool) (bool)false ;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 PyObject
* obj2
= 0 ;
32106 PyObject
* obj3
= 0 ;
32107 PyObject
* obj4
= 0 ;
32108 PyObject
* obj5
= 0 ;
32109 PyObject
* obj6
= 0 ;
32110 char * kwnames
[] = {
32111 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32116 if (!SWIG_IsOK(res1
)) {
32117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32119 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32121 if (!SWIG_IsOK(ecode2
)) {
32122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32124 arg2
= static_cast< int >(val2
);
32125 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32126 if (!SWIG_IsOK(res3
)) {
32127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32132 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32134 if (!SWIG_IsOK(ecode4
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32137 arg4
= static_cast< int >(val4
);
32138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32139 if (!SWIG_IsOK(ecode5
)) {
32140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32142 arg5
= static_cast< int >(val5
);
32144 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32145 if (!SWIG_IsOK(ecode6
)) {
32146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32148 arg6
= static_cast< int >(val6
);
32151 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32152 if (!SWIG_IsOK(ecode7
)) {
32153 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32155 arg7
= static_cast< bool >(val7
);
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32172 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32173 PyObject
*resultobj
= 0;
32174 wxImageList
*arg1
= (wxImageList
*) 0 ;
32178 PyObject
*swig_obj
[1] ;
32180 if (!args
) SWIG_fail
;
32181 swig_obj
[0] = args
;
32182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32183 if (!SWIG_IsOK(res1
)) {
32184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32186 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 result
= (int)(arg1
)->GetImageCount();
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= SWIG_From_int(static_cast< int >(result
));
32200 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
= 0;
32202 wxImageList
*arg1
= (wxImageList
*) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 char * kwnames
[] = {
32212 (char *) "self",(char *) "index", NULL
32215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32217 if (!SWIG_IsOK(res1
)) {
32218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32220 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32222 if (!SWIG_IsOK(ecode2
)) {
32223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32225 arg2
= static_cast< int >(val2
);
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 result
= (bool)(arg1
)->Remove(arg2
);
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32241 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32242 PyObject
*resultobj
= 0;
32243 wxImageList
*arg1
= (wxImageList
*) 0 ;
32247 PyObject
*swig_obj
[1] ;
32249 if (!args
) SWIG_fail
;
32250 swig_obj
[0] = args
;
32251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32252 if (!SWIG_IsOK(res1
)) {
32253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32255 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 result
= (bool)(arg1
)->RemoveAll();
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32271 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
= 0;
32273 wxImageList
*arg1
= (wxImageList
*) 0 ;
32282 int res3
= SWIG_TMPOBJ
;
32284 int res4
= SWIG_TMPOBJ
;
32285 PyObject
* obj0
= 0 ;
32286 PyObject
* obj1
= 0 ;
32287 char * kwnames
[] = {
32288 (char *) "self",(char *) "index", NULL
32293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32295 if (!SWIG_IsOK(res1
)) {
32296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32298 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32300 if (!SWIG_IsOK(ecode2
)) {
32301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32303 arg2
= static_cast< int >(val2
);
32305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32306 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32307 wxPyEndAllowThreads(__tstate
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32310 resultobj
= SWIG_Py_Void();
32311 if (SWIG_IsTmpObj(res3
)) {
32312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32317 if (SWIG_IsTmpObj(res4
)) {
32318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32320 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32329 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32332 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32333 return SWIG_Py_Void();
32336 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32337 return SWIG_Python_InitShadowInstance(args
);
32340 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32341 PyObject
*resultobj
= 0;
32342 wxStockGDI
*result
= 0 ;
32344 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 result
= (wxStockGDI
*)new wxStockGDI();
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32358 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32359 PyObject
*resultobj
= 0;
32360 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32363 PyObject
*swig_obj
[1] ;
32365 if (!args
) SWIG_fail
;
32366 swig_obj
[0] = args
;
32367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32368 if (!SWIG_IsOK(res1
)) {
32369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32371 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_Py_Void();
32386 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32387 PyObject
*resultobj
= 0;
32389 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 wxStockGDI::DeleteAll();
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= SWIG_Py_Void();
32403 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32404 PyObject
*resultobj
= 0;
32405 wxStockGDI
*result
= 0 ;
32407 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32412 result
= (wxStockGDI
*) &_result_ref
;
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32424 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxStockGDI::Item arg1
;
32427 wxBrush
*result
= 0 ;
32430 PyObject
* obj0
= 0 ;
32431 char * kwnames
[] = {
32432 (char *) "item", NULL
32435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32437 if (!SWIG_IsOK(ecode1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32440 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32454 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
= 0;
32456 wxStockGDI::Item arg1
;
32457 wxColour
*result
= 0 ;
32460 PyObject
* obj0
= 0 ;
32461 char * kwnames
[] = {
32462 (char *) "item", NULL
32465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32467 if (!SWIG_IsOK(ecode1
)) {
32468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32470 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32484 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
= 0;
32486 wxStockGDI::Item arg1
;
32487 wxCursor
*result
= 0 ;
32490 PyObject
* obj0
= 0 ;
32491 char * kwnames
[] = {
32492 (char *) "item", NULL
32495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32497 if (!SWIG_IsOK(ecode1
)) {
32498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32500 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32514 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
= 0;
32516 wxStockGDI::Item arg1
;
32517 wxPen
*result
= 0 ;
32520 PyObject
* obj0
= 0 ;
32521 char * kwnames
[] = {
32522 (char *) "item", NULL
32525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32527 if (!SWIG_IsOK(ecode1
)) {
32528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32530 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32544 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
= 0;
32546 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32547 wxStockGDI::Item arg2
;
32548 wxFont
*result
= 0 ;
32553 PyObject
* obj0
= 0 ;
32554 PyObject
* obj1
= 0 ;
32555 char * kwnames
[] = {
32556 (char *) "self",(char *) "item", NULL
32559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32561 if (!SWIG_IsOK(res1
)) {
32562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32564 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32566 if (!SWIG_IsOK(ecode2
)) {
32567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32569 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32572 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32573 wxPyEndAllowThreads(__tstate
);
32574 if (PyErr_Occurred()) SWIG_fail
;
32576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32583 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32586 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32587 return SWIG_Py_Void();
32590 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32591 return SWIG_Python_InitShadowInstance(args
);
32594 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32595 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32600 SWIGINTERN PyObject
*NullBitmap_get(void) {
32601 PyObject
*pyobj
= 0;
32603 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32608 SWIGINTERN
int NullIcon_set(PyObject
*) {
32609 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32614 SWIGINTERN PyObject
*NullIcon_get(void) {
32615 PyObject
*pyobj
= 0;
32617 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32622 SWIGINTERN
int NullCursor_set(PyObject
*) {
32623 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32628 SWIGINTERN PyObject
*NullCursor_get(void) {
32629 PyObject
*pyobj
= 0;
32631 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32636 SWIGINTERN
int NullPen_set(PyObject
*) {
32637 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32642 SWIGINTERN PyObject
*NullPen_get(void) {
32643 PyObject
*pyobj
= 0;
32645 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32650 SWIGINTERN
int NullBrush_set(PyObject
*) {
32651 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32656 SWIGINTERN PyObject
*NullBrush_get(void) {
32657 PyObject
*pyobj
= 0;
32659 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32664 SWIGINTERN
int NullPalette_set(PyObject
*) {
32665 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32670 SWIGINTERN PyObject
*NullPalette_get(void) {
32671 PyObject
*pyobj
= 0;
32673 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32678 SWIGINTERN
int NullFont_set(PyObject
*) {
32679 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32684 SWIGINTERN PyObject
*NullFont_get(void) {
32685 PyObject
*pyobj
= 0;
32687 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32692 SWIGINTERN
int NullColour_set(PyObject
*) {
32693 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32698 SWIGINTERN PyObject
*NullColour_get(void) {
32699 PyObject
*pyobj
= 0;
32701 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32706 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32707 PyObject
*resultobj
= 0;
32708 wxGDIObjListBase
*result
= 0 ;
32710 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32724 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32725 PyObject
*resultobj
= 0;
32726 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32729 PyObject
*swig_obj
[1] ;
32731 if (!args
) SWIG_fail
;
32732 swig_obj
[0] = args
;
32733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32734 if (!SWIG_IsOK(res1
)) {
32735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32737 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= SWIG_Py_Void();
32752 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32755 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32756 return SWIG_Py_Void();
32759 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 return SWIG_Python_InitShadowInstance(args
);
32763 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxPenList
*arg1
= (wxPenList
*) 0 ;
32766 wxColour
*arg2
= 0 ;
32769 wxPen
*result
= 0 ;
32777 PyObject
* obj0
= 0 ;
32778 PyObject
* obj1
= 0 ;
32779 PyObject
* obj2
= 0 ;
32780 PyObject
* obj3
= 0 ;
32781 char * kwnames
[] = {
32782 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32787 if (!SWIG_IsOK(res1
)) {
32788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32790 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32793 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32796 if (!SWIG_IsOK(ecode3
)) {
32797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32799 arg3
= static_cast< int >(val3
);
32800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32801 if (!SWIG_IsOK(ecode4
)) {
32802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32804 arg4
= static_cast< int >(val4
);
32806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32807 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32808 wxPyEndAllowThreads(__tstate
);
32809 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32818 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32819 PyObject
*resultobj
= 0;
32820 wxPenList
*arg1
= (wxPenList
*) 0 ;
32821 wxPen
*arg2
= (wxPen
*) 0 ;
32826 PyObject
* obj0
= 0 ;
32827 PyObject
* obj1
= 0 ;
32828 char * kwnames
[] = {
32829 (char *) "self",(char *) "pen", NULL
32832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32834 if (!SWIG_IsOK(res1
)) {
32835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32837 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32839 if (!SWIG_IsOK(res2
)) {
32840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32842 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 (arg1
)->AddPen(arg2
);
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= SWIG_Py_Void();
32856 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32857 PyObject
*resultobj
= 0;
32858 wxPenList
*arg1
= (wxPenList
*) 0 ;
32859 wxPen
*arg2
= (wxPen
*) 0 ;
32864 PyObject
* obj0
= 0 ;
32865 PyObject
* obj1
= 0 ;
32866 char * kwnames
[] = {
32867 (char *) "self",(char *) "pen", NULL
32870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32872 if (!SWIG_IsOK(res1
)) {
32873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32875 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32877 if (!SWIG_IsOK(res2
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32880 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->RemovePen(arg2
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_Py_Void();
32894 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32897 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32898 return SWIG_Py_Void();
32901 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
= 0;
32903 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32904 wxColour
*arg2
= 0 ;
32905 int arg3
= (int) wxSOLID
;
32906 wxBrush
*result
= 0 ;
32912 PyObject
* obj0
= 0 ;
32913 PyObject
* obj1
= 0 ;
32914 PyObject
* obj2
= 0 ;
32915 char * kwnames
[] = {
32916 (char *) "self",(char *) "colour",(char *) "style", NULL
32919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32921 if (!SWIG_IsOK(res1
)) {
32922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32924 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32931 if (!SWIG_IsOK(ecode3
)) {
32932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32934 arg3
= static_cast< int >(val3
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32949 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
= 0;
32951 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32952 wxBrush
*arg2
= (wxBrush
*) 0 ;
32957 PyObject
* obj0
= 0 ;
32958 PyObject
* obj1
= 0 ;
32959 char * kwnames
[] = {
32960 (char *) "self",(char *) "brush", NULL
32963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32965 if (!SWIG_IsOK(res1
)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32968 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32970 if (!SWIG_IsOK(res2
)) {
32971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32973 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 (arg1
)->AddBrush(arg2
);
32977 wxPyEndAllowThreads(__tstate
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= SWIG_Py_Void();
32987 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
= 0;
32989 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32990 wxBrush
*arg2
= (wxBrush
*) 0 ;
32995 PyObject
* obj0
= 0 ;
32996 PyObject
* obj1
= 0 ;
32997 char * kwnames
[] = {
32998 (char *) "self",(char *) "brush", NULL
33001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33003 if (!SWIG_IsOK(res1
)) {
33004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33006 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33008 if (!SWIG_IsOK(res2
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33011 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 (arg1
)->RemoveBrush(arg2
);
33015 wxPyEndAllowThreads(__tstate
);
33016 if (PyErr_Occurred()) SWIG_fail
;
33018 resultobj
= SWIG_Py_Void();
33025 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33028 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33029 return SWIG_Py_Void();
33032 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
= 0;
33034 wxFontList
*arg1
= (wxFontList
*) 0 ;
33039 bool arg6
= (bool) false ;
33040 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33041 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33042 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33043 wxFont
*result
= 0 ;
33056 bool temp7
= false ;
33059 PyObject
* obj0
= 0 ;
33060 PyObject
* obj1
= 0 ;
33061 PyObject
* obj2
= 0 ;
33062 PyObject
* obj3
= 0 ;
33063 PyObject
* obj4
= 0 ;
33064 PyObject
* obj5
= 0 ;
33065 PyObject
* obj6
= 0 ;
33066 PyObject
* obj7
= 0 ;
33067 char * kwnames
[] = {
33068 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33073 if (!SWIG_IsOK(res1
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33076 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33078 if (!SWIG_IsOK(ecode2
)) {
33079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33081 arg2
= static_cast< int >(val2
);
33082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33083 if (!SWIG_IsOK(ecode3
)) {
33084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33086 arg3
= static_cast< int >(val3
);
33087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33088 if (!SWIG_IsOK(ecode4
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33091 arg4
= static_cast< int >(val4
);
33092 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33093 if (!SWIG_IsOK(ecode5
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33096 arg5
= static_cast< int >(val5
);
33098 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33099 if (!SWIG_IsOK(ecode6
)) {
33100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33102 arg6
= static_cast< bool >(val6
);
33106 arg7
= wxString_in_helper(obj6
);
33107 if (arg7
== NULL
) SWIG_fail
;
33112 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33113 if (!SWIG_IsOK(ecode8
)) {
33114 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33116 arg8
= static_cast< wxFontEncoding
>(val8
);
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33139 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
= 0;
33141 wxFontList
*arg1
= (wxFontList
*) 0 ;
33142 wxFont
*arg2
= (wxFont
*) 0 ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 char * kwnames
[] = {
33150 (char *) "self",(char *) "font", NULL
33153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33155 if (!SWIG_IsOK(res1
)) {
33156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33158 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33160 if (!SWIG_IsOK(res2
)) {
33161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33163 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 (arg1
)->AddFont(arg2
);
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= SWIG_Py_Void();
33177 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
= 0;
33179 wxFontList
*arg1
= (wxFontList
*) 0 ;
33180 wxFont
*arg2
= (wxFont
*) 0 ;
33185 PyObject
* obj0
= 0 ;
33186 PyObject
* obj1
= 0 ;
33187 char * kwnames
[] = {
33188 (char *) "self",(char *) "font", NULL
33191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33193 if (!SWIG_IsOK(res1
)) {
33194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33196 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33198 if (!SWIG_IsOK(res2
)) {
33199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33201 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33204 (arg1
)->RemoveFont(arg2
);
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= SWIG_Py_Void();
33215 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33218 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33219 return SWIG_Py_Void();
33222 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33223 PyObject
*resultobj
= 0;
33224 wxColourDatabase
*result
= 0 ;
33226 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33228 if (!wxPyCheckForApp()) SWIG_fail
;
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (wxColourDatabase
*)new wxColourDatabase();
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33241 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33246 PyObject
*swig_obj
[1] ;
33248 if (!args
) SWIG_fail
;
33249 swig_obj
[0] = args
;
33250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33251 if (!SWIG_IsOK(res1
)) {
33252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33254 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= SWIG_Py_Void();
33269 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
= 0;
33271 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33272 wxString
*arg2
= 0 ;
33276 bool temp2
= false ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 char * kwnames
[] = {
33280 (char *) "self",(char *) "name", NULL
33283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33285 if (!SWIG_IsOK(res1
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33288 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33290 arg2
= wxString_in_helper(obj1
);
33291 if (arg2
== NULL
) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33315 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33316 PyObject
*resultobj
= 0;
33317 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33318 wxColour
*arg2
= 0 ;
33323 PyObject
* obj0
= 0 ;
33324 PyObject
* obj1
= 0 ;
33325 char * kwnames
[] = {
33326 (char *) "self",(char *) "colour", NULL
33329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33334 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33341 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33342 wxPyEndAllowThreads(__tstate
);
33343 if (PyErr_Occurred()) SWIG_fail
;
33347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33358 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
= 0;
33360 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33361 wxString
*arg2
= 0 ;
33362 wxColour
*arg3
= 0 ;
33365 bool temp2
= false ;
33367 PyObject
* obj0
= 0 ;
33368 PyObject
* obj1
= 0 ;
33369 PyObject
* obj2
= 0 ;
33370 char * kwnames
[] = {
33371 (char *) "self",(char *) "name",(char *) "colour", NULL
33374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33376 if (!SWIG_IsOK(res1
)) {
33377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33379 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33381 arg2
= wxString_in_helper(obj1
);
33382 if (arg2
== NULL
) SWIG_fail
;
33387 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33395 resultobj
= SWIG_Py_Void();
33410 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
= 0;
33412 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33413 wxString
*arg2
= 0 ;
33419 bool temp2
= false ;
33426 PyObject
* obj0
= 0 ;
33427 PyObject
* obj1
= 0 ;
33428 PyObject
* obj2
= 0 ;
33429 PyObject
* obj3
= 0 ;
33430 PyObject
* obj4
= 0 ;
33431 char * kwnames
[] = {
33432 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33437 if (!SWIG_IsOK(res1
)) {
33438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33440 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33442 arg2
= wxString_in_helper(obj1
);
33443 if (arg2
== NULL
) SWIG_fail
;
33446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33447 if (!SWIG_IsOK(ecode3
)) {
33448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33450 arg3
= static_cast< int >(val3
);
33451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33452 if (!SWIG_IsOK(ecode4
)) {
33453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33455 arg4
= static_cast< int >(val4
);
33456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33457 if (!SWIG_IsOK(ecode5
)) {
33458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33460 arg5
= static_cast< int >(val5
);
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_Py_Void();
33482 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33485 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33486 return SWIG_Py_Void();
33489 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33490 return SWIG_Python_InitShadowInstance(args
);
33493 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxFontList
*result
= 0 ;
33497 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 result
= (wxFontList
*)_wxPyInitTheFontList();
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33511 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33512 PyObject
*resultobj
= 0;
33513 wxPenList
*result
= 0 ;
33515 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 result
= (wxPenList
*)_wxPyInitThePenList();
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33529 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33530 PyObject
*resultobj
= 0;
33531 wxBrushList
*result
= 0 ;
33533 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33536 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33537 wxPyEndAllowThreads(__tstate
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33547 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33548 PyObject
*resultobj
= 0;
33549 wxColourDatabase
*result
= 0 ;
33551 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33554 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33555 wxPyEndAllowThreads(__tstate
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33565 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33566 PyObject
*resultobj
= 0;
33567 wxEffects
*result
= 0 ;
33569 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 result
= (wxEffects
*)new wxEffects();
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33583 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33584 PyObject
*resultobj
= 0;
33585 wxEffects
*arg1
= (wxEffects
*) 0 ;
33589 PyObject
*swig_obj
[1] ;
33591 if (!args
) SWIG_fail
;
33592 swig_obj
[0] = args
;
33593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33594 if (!SWIG_IsOK(res1
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33597 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33611 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33612 PyObject
*resultobj
= 0;
33613 wxEffects
*arg1
= (wxEffects
*) 0 ;
33617 PyObject
*swig_obj
[1] ;
33619 if (!args
) SWIG_fail
;
33620 swig_obj
[0] = args
;
33621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33622 if (!SWIG_IsOK(res1
)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33625 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33639 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33640 PyObject
*resultobj
= 0;
33641 wxEffects
*arg1
= (wxEffects
*) 0 ;
33645 PyObject
*swig_obj
[1] ;
33647 if (!args
) SWIG_fail
;
33648 swig_obj
[0] = args
;
33649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33650 if (!SWIG_IsOK(res1
)) {
33651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33653 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33667 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33668 PyObject
*resultobj
= 0;
33669 wxEffects
*arg1
= (wxEffects
*) 0 ;
33673 PyObject
*swig_obj
[1] ;
33675 if (!args
) SWIG_fail
;
33676 swig_obj
[0] = args
;
33677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33681 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33695 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33696 PyObject
*resultobj
= 0;
33697 wxEffects
*arg1
= (wxEffects
*) 0 ;
33701 PyObject
*swig_obj
[1] ;
33703 if (!args
) SWIG_fail
;
33704 swig_obj
[0] = args
;
33705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33706 if (!SWIG_IsOK(res1
)) {
33707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33709 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33723 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
= 0;
33725 wxEffects
*arg1
= (wxEffects
*) 0 ;
33726 wxColour
*arg2
= 0 ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "self",(char *) "c", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33741 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= SWIG_Py_Void();
33759 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33760 PyObject
*resultobj
= 0;
33761 wxEffects
*arg1
= (wxEffects
*) 0 ;
33762 wxColour
*arg2
= 0 ;
33766 PyObject
* obj0
= 0 ;
33767 PyObject
* obj1
= 0 ;
33768 char * kwnames
[] = {
33769 (char *) "self",(char *) "c", NULL
33772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33774 if (!SWIG_IsOK(res1
)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33777 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= SWIG_Py_Void();
33795 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
= 0;
33797 wxEffects
*arg1
= (wxEffects
*) 0 ;
33798 wxColour
*arg2
= 0 ;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 char * kwnames
[] = {
33805 (char *) "self",(char *) "c", NULL
33808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33810 if (!SWIG_IsOK(res1
)) {
33811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33813 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= SWIG_Py_Void();
33831 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33832 PyObject
*resultobj
= 0;
33833 wxEffects
*arg1
= (wxEffects
*) 0 ;
33834 wxColour
*arg2
= 0 ;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 char * kwnames
[] = {
33841 (char *) "self",(char *) "c", NULL
33844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33849 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33857 wxPyEndAllowThreads(__tstate
);
33858 if (PyErr_Occurred()) SWIG_fail
;
33860 resultobj
= SWIG_Py_Void();
33867 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33868 PyObject
*resultobj
= 0;
33869 wxEffects
*arg1
= (wxEffects
*) 0 ;
33870 wxColour
*arg2
= 0 ;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "c", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33885 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33892 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 resultobj
= SWIG_Py_Void();
33903 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
= 0;
33905 wxEffects
*arg1
= (wxEffects
*) 0 ;
33906 wxColour
*arg2
= 0 ;
33907 wxColour
*arg3
= 0 ;
33908 wxColour
*arg4
= 0 ;
33909 wxColour
*arg5
= 0 ;
33910 wxColour
*arg6
= 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 PyObject
* obj2
= 0 ;
33921 PyObject
* obj3
= 0 ;
33922 PyObject
* obj4
= 0 ;
33923 PyObject
* obj5
= 0 ;
33924 char * kwnames
[] = {
33925 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33930 if (!SWIG_IsOK(res1
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33933 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33940 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33944 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33948 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33952 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= SWIG_Py_Void();
33967 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
= 0;
33969 wxEffects
*arg1
= (wxEffects
*) 0 ;
33972 int arg4
= (int) 1 ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 PyObject
* obj2
= 0 ;
33983 PyObject
* obj3
= 0 ;
33984 char * kwnames
[] = {
33985 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33990 if (!SWIG_IsOK(res1
)) {
33991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33993 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33995 if (!SWIG_IsOK(res2
)) {
33996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34001 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34004 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34008 if (!SWIG_IsOK(ecode4
)) {
34009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34011 arg4
= static_cast< int >(val4
);
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= SWIG_Py_Void();
34026 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
= 0;
34028 wxEffects
*arg1
= (wxEffects
*) 0 ;
34031 wxBitmap
*arg4
= 0 ;
34040 PyObject
* obj0
= 0 ;
34041 PyObject
* obj1
= 0 ;
34042 PyObject
* obj2
= 0 ;
34043 PyObject
* obj3
= 0 ;
34044 char * kwnames
[] = {
34045 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34050 if (!SWIG_IsOK(res1
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34053 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34058 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34059 if (!SWIG_IsOK(res3
)) {
34060 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34065 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34066 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34067 if (!SWIG_IsOK(res4
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34073 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34076 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34089 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34092 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34093 return SWIG_Py_Void();
34096 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34097 return SWIG_Python_InitShadowInstance(args
);
34100 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34101 PyObject
*resultobj
= 0;
34105 wxSplitterRenderParams
*result
= 0 ;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 PyObject
* obj2
= 0 ;
34115 char * kwnames
[] = {
34116 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34121 if (!SWIG_IsOK(ecode1
)) {
34122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34124 arg1
= static_cast< int >(val1
);
34125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34126 if (!SWIG_IsOK(ecode2
)) {
34127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34129 arg2
= static_cast< int >(val2
);
34130 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34131 if (!SWIG_IsOK(ecode3
)) {
34132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34134 arg3
= static_cast< bool >(val3
);
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34138 wxPyEndAllowThreads(__tstate
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34148 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34149 PyObject
*resultobj
= 0;
34150 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34153 PyObject
*swig_obj
[1] ;
34155 if (!args
) SWIG_fail
;
34156 swig_obj
[0] = args
;
34157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34158 if (!SWIG_IsOK(res1
)) {
34159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34161 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 wxPyEndAllowThreads(__tstate
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34169 resultobj
= SWIG_Py_Void();
34176 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34177 PyObject
*resultobj
= 0;
34178 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34182 PyObject
*swig_obj
[1] ;
34184 if (!args
) SWIG_fail
;
34185 swig_obj
[0] = args
;
34186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34187 if (!SWIG_IsOK(res1
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34190 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34191 result
= (int)(int) ((arg1
)->widthSash
);
34192 resultobj
= SWIG_From_int(static_cast< int >(result
));
34199 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34200 PyObject
*resultobj
= 0;
34201 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34205 PyObject
*swig_obj
[1] ;
34207 if (!args
) SWIG_fail
;
34208 swig_obj
[0] = args
;
34209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34210 if (!SWIG_IsOK(res1
)) {
34211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34213 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34214 result
= (int)(int) ((arg1
)->border
);
34215 resultobj
= SWIG_From_int(static_cast< int >(result
));
34222 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34223 PyObject
*resultobj
= 0;
34224 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34228 PyObject
*swig_obj
[1] ;
34230 if (!args
) SWIG_fail
;
34231 swig_obj
[0] = args
;
34232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34233 if (!SWIG_IsOK(res1
)) {
34234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34236 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34237 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34238 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34245 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34248 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34249 return SWIG_Py_Void();
34252 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34253 return SWIG_Python_InitShadowInstance(args
);
34256 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34257 PyObject
*resultobj
= 0;
34258 wxHeaderButtonParams
*result
= 0 ;
34260 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34274 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34275 PyObject
*resultobj
= 0;
34276 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34279 PyObject
*swig_obj
[1] ;
34281 if (!args
) SWIG_fail
;
34282 swig_obj
[0] = args
;
34283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34284 if (!SWIG_IsOK(res1
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34287 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= SWIG_Py_Void();
34302 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34303 PyObject
*resultobj
= 0;
34304 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34305 wxColour
*arg2
= (wxColour
*) 0 ;
34309 PyObject
*swig_obj
[2] ;
34311 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34316 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34319 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34321 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34323 resultobj
= SWIG_Py_Void();
34330 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34331 PyObject
*resultobj
= 0;
34332 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34333 wxColour
*result
= 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
, 0 | 0 );
34341 if (!SWIG_IsOK(res1
)) {
34342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34344 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34345 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34353 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34354 PyObject
*resultobj
= 0;
34355 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34356 wxColour
*arg2
= (wxColour
*) 0 ;
34360 PyObject
*swig_obj
[2] ;
34362 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34364 if (!SWIG_IsOK(res1
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34367 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34370 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34372 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34374 resultobj
= SWIG_Py_Void();
34381 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34382 PyObject
*resultobj
= 0;
34383 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34384 wxColour
*result
= 0 ;
34387 PyObject
*swig_obj
[1] ;
34389 if (!args
) SWIG_fail
;
34390 swig_obj
[0] = args
;
34391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34392 if (!SWIG_IsOK(res1
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34395 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34396 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34404 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34405 PyObject
*resultobj
= 0;
34406 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34407 wxString
*arg2
= (wxString
*) 0 ;
34410 bool temp2
= false ;
34411 PyObject
*swig_obj
[2] ;
34413 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34415 if (!SWIG_IsOK(res1
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34418 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34420 arg2
= wxString_in_helper(swig_obj
[1]);
34421 if (arg2
== NULL
) SWIG_fail
;
34424 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34426 resultobj
= SWIG_Py_Void();
34441 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34442 PyObject
*resultobj
= 0;
34443 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34444 wxString
*result
= 0 ;
34447 PyObject
*swig_obj
[1] ;
34449 if (!args
) SWIG_fail
;
34450 swig_obj
[0] = args
;
34451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34452 if (!SWIG_IsOK(res1
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34455 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34456 result
= (wxString
*)& ((arg1
)->m_labelText
);
34459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34470 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34471 PyObject
*resultobj
= 0;
34472 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34473 wxFont
*arg2
= (wxFont
*) 0 ;
34478 PyObject
*swig_obj
[2] ;
34480 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34482 if (!SWIG_IsOK(res1
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34485 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34486 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34487 if (!SWIG_IsOK(res2
)) {
34488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34490 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34491 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34493 resultobj
= SWIG_Py_Void();
34500 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34501 PyObject
*resultobj
= 0;
34502 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34503 wxFont
*result
= 0 ;
34506 PyObject
*swig_obj
[1] ;
34508 if (!args
) SWIG_fail
;
34509 swig_obj
[0] = args
;
34510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34511 if (!SWIG_IsOK(res1
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34514 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34515 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34523 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34524 PyObject
*resultobj
= 0;
34525 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34526 wxColour
*arg2
= (wxColour
*) 0 ;
34530 PyObject
*swig_obj
[2] ;
34532 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34534 if (!SWIG_IsOK(res1
)) {
34535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34537 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34540 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34542 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34544 resultobj
= SWIG_Py_Void();
34551 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34552 PyObject
*resultobj
= 0;
34553 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34554 wxColour
*result
= 0 ;
34557 PyObject
*swig_obj
[1] ;
34559 if (!args
) SWIG_fail
;
34560 swig_obj
[0] = args
;
34561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34562 if (!SWIG_IsOK(res1
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34565 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34566 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34574 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34575 PyObject
*resultobj
= 0;
34576 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34577 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34582 PyObject
*swig_obj
[2] ;
34584 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34586 if (!SWIG_IsOK(res1
)) {
34587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34589 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34590 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34591 if (!SWIG_IsOK(res2
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34594 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34595 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34597 resultobj
= SWIG_Py_Void();
34604 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34605 PyObject
*resultobj
= 0;
34606 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34607 wxBitmap
*result
= 0 ;
34610 PyObject
*swig_obj
[1] ;
34612 if (!args
) SWIG_fail
;
34613 swig_obj
[0] = args
;
34614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34615 if (!SWIG_IsOK(res1
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34618 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34619 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34627 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34628 PyObject
*resultobj
= 0;
34629 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34635 PyObject
*swig_obj
[2] ;
34637 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34639 if (!SWIG_IsOK(res1
)) {
34640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34642 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34643 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34644 if (!SWIG_IsOK(ecode2
)) {
34645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34647 arg2
= static_cast< int >(val2
);
34648 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34650 resultobj
= SWIG_Py_Void();
34657 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34658 PyObject
*resultobj
= 0;
34659 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34663 PyObject
*swig_obj
[1] ;
34665 if (!args
) SWIG_fail
;
34666 swig_obj
[0] = args
;
34667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34668 if (!SWIG_IsOK(res1
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34671 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34672 result
= (int) ((arg1
)->m_labelAlignment
);
34673 resultobj
= SWIG_From_int(static_cast< int >(result
));
34680 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34683 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34684 return SWIG_Py_Void();
34687 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34688 return SWIG_Python_InitShadowInstance(args
);
34691 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34692 PyObject
*resultobj
= 0;
34695 wxRendererVersion
*result
= 0 ;
34700 PyObject
* obj0
= 0 ;
34701 PyObject
* obj1
= 0 ;
34702 char * kwnames
[] = {
34703 (char *) "version_",(char *) "age_", NULL
34706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34708 if (!SWIG_IsOK(ecode1
)) {
34709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34711 arg1
= static_cast< int >(val1
);
34712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34713 if (!SWIG_IsOK(ecode2
)) {
34714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34716 arg2
= static_cast< int >(val2
);
34718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34719 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34730 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34731 PyObject
*resultobj
= 0;
34732 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34735 PyObject
*swig_obj
[1] ;
34737 if (!args
) SWIG_fail
;
34738 swig_obj
[0] = args
;
34739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34740 if (!SWIG_IsOK(res1
)) {
34741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34743 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_Py_Void();
34758 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
= 0;
34760 wxRendererVersion
*arg1
= 0 ;
34764 PyObject
* obj0
= 0 ;
34765 char * kwnames
[] = {
34766 (char *) "ver", NULL
34769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34770 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34777 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34780 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34781 wxPyEndAllowThreads(__tstate
);
34782 if (PyErr_Occurred()) SWIG_fail
;
34785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34793 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34794 PyObject
*resultobj
= 0;
34795 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34799 PyObject
*swig_obj
[1] ;
34801 if (!args
) SWIG_fail
;
34802 swig_obj
[0] = args
;
34803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34804 if (!SWIG_IsOK(res1
)) {
34805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34807 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34808 result
= (int)(int) ((arg1
)->version
);
34809 resultobj
= SWIG_From_int(static_cast< int >(result
));
34816 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34817 PyObject
*resultobj
= 0;
34818 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34822 PyObject
*swig_obj
[1] ;
34824 if (!args
) SWIG_fail
;
34825 swig_obj
[0] = args
;
34826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34827 if (!SWIG_IsOK(res1
)) {
34828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34830 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34831 result
= (int)(int) ((arg1
)->age
);
34832 resultobj
= SWIG_From_int(static_cast< int >(result
));
34839 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34842 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34843 return SWIG_Py_Void();
34846 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34847 return SWIG_Python_InitShadowInstance(args
);
34850 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
= 0;
34852 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34853 wxWindow
*arg2
= (wxWindow
*) 0 ;
34856 int arg5
= (int) 0 ;
34857 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34858 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34872 PyObject
* obj0
= 0 ;
34873 PyObject
* obj1
= 0 ;
34874 PyObject
* obj2
= 0 ;
34875 PyObject
* obj3
= 0 ;
34876 PyObject
* obj4
= 0 ;
34877 PyObject
* obj5
= 0 ;
34878 PyObject
* obj6
= 0 ;
34879 char * kwnames
[] = {
34880 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34888 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34890 if (!SWIG_IsOK(res2
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34895 if (!SWIG_IsOK(res3
)) {
34896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34901 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34904 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34908 if (!SWIG_IsOK(ecode5
)) {
34909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34911 arg5
= static_cast< int >(val5
);
34914 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34915 if (!SWIG_IsOK(ecode6
)) {
34916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34918 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34921 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34922 if (!SWIG_IsOK(res7
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34925 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34930 wxPyEndAllowThreads(__tstate
);
34931 if (PyErr_Occurred()) SWIG_fail
;
34933 resultobj
= SWIG_Py_Void();
34940 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
= 0;
34942 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34943 wxWindow
*arg2
= (wxWindow
*) 0 ;
34946 int arg5
= (int) 0 ;
34947 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34948 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34962 PyObject
* obj0
= 0 ;
34963 PyObject
* obj1
= 0 ;
34964 PyObject
* obj2
= 0 ;
34965 PyObject
* obj3
= 0 ;
34966 PyObject
* obj4
= 0 ;
34967 PyObject
* obj5
= 0 ;
34968 PyObject
* obj6
= 0 ;
34969 char * kwnames
[] = {
34970 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34975 if (!SWIG_IsOK(res1
)) {
34976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34978 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34980 if (!SWIG_IsOK(res2
)) {
34981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34984 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34985 if (!SWIG_IsOK(res3
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34991 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34994 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34998 if (!SWIG_IsOK(ecode5
)) {
34999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35001 arg5
= static_cast< int >(val5
);
35004 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35005 if (!SWIG_IsOK(ecode6
)) {
35006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35008 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35011 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35012 if (!SWIG_IsOK(res7
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35015 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 resultobj
= SWIG_Py_Void();
35030 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
= 0;
35032 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35033 wxWindow
*arg2
= (wxWindow
*) 0 ;
35039 PyObject
* obj0
= 0 ;
35040 PyObject
* obj1
= 0 ;
35041 char * kwnames
[] = {
35042 (char *) "self",(char *) "win", NULL
35045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35047 if (!SWIG_IsOK(res1
)) {
35048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35050 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35051 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35052 if (!SWIG_IsOK(res2
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35055 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= SWIG_From_int(static_cast< int >(result
));
35069 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35070 PyObject
*resultobj
= 0;
35071 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35072 wxWindow
*arg2
= (wxWindow
*) 0 ;
35075 int arg5
= (int) 0 ;
35085 PyObject
* obj0
= 0 ;
35086 PyObject
* obj1
= 0 ;
35087 PyObject
* obj2
= 0 ;
35088 PyObject
* obj3
= 0 ;
35089 PyObject
* obj4
= 0 ;
35090 char * kwnames
[] = {
35091 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35096 if (!SWIG_IsOK(res1
)) {
35097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35099 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35101 if (!SWIG_IsOK(res2
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35105 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35106 if (!SWIG_IsOK(res3
)) {
35107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35112 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35115 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35119 if (!SWIG_IsOK(ecode5
)) {
35120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35122 arg5
= static_cast< int >(val5
);
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= SWIG_Py_Void();
35137 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35138 PyObject
*resultobj
= 0;
35139 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35140 wxWindow
*arg2
= (wxWindow
*) 0 ;
35143 int arg5
= (int) 0 ;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 PyObject
* obj2
= 0 ;
35156 PyObject
* obj3
= 0 ;
35157 PyObject
* obj4
= 0 ;
35158 char * kwnames
[] = {
35159 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35164 if (!SWIG_IsOK(res1
)) {
35165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35167 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35169 if (!SWIG_IsOK(res2
)) {
35170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35174 if (!SWIG_IsOK(res3
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35180 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35183 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35187 if (!SWIG_IsOK(ecode5
)) {
35188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35190 arg5
= static_cast< int >(val5
);
35193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35194 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_Py_Void();
35205 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
= 0;
35207 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35208 wxWindow
*arg2
= (wxWindow
*) 0 ;
35212 wxOrientation arg6
;
35213 int arg7
= (int) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 PyObject
* obj2
= 0 ;
35230 PyObject
* obj3
= 0 ;
35231 PyObject
* obj4
= 0 ;
35232 PyObject
* obj5
= 0 ;
35233 PyObject
* obj6
= 0 ;
35234 char * kwnames
[] = {
35235 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35240 if (!SWIG_IsOK(res1
)) {
35241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35243 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35245 if (!SWIG_IsOK(res2
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35249 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35250 if (!SWIG_IsOK(res3
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35256 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35259 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35262 if (!SWIG_IsOK(ecode5
)) {
35263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35265 arg5
= static_cast< int >(val5
);
35266 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35267 if (!SWIG_IsOK(ecode6
)) {
35268 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35270 arg6
= static_cast< wxOrientation
>(val6
);
35272 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35273 if (!SWIG_IsOK(ecode7
)) {
35274 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35276 arg7
= static_cast< int >(val7
);
35279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35280 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35284 resultobj
= SWIG_Py_Void();
35291 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35292 PyObject
*resultobj
= 0;
35293 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35294 wxWindow
*arg2
= (wxWindow
*) 0 ;
35297 int arg5
= (int) 0 ;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 PyObject
* obj2
= 0 ;
35310 PyObject
* obj3
= 0 ;
35311 PyObject
* obj4
= 0 ;
35312 char * kwnames
[] = {
35313 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35318 if (!SWIG_IsOK(res1
)) {
35319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35321 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35323 if (!SWIG_IsOK(res2
)) {
35324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35328 if (!SWIG_IsOK(res3
)) {
35329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35334 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35337 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35341 if (!SWIG_IsOK(ecode5
)) {
35342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35344 arg5
= static_cast< int >(val5
);
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 resultobj
= SWIG_Py_Void();
35359 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
= 0;
35361 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35362 wxWindow
*arg2
= (wxWindow
*) 0 ;
35365 int arg5
= (int) 0 ;
35375 PyObject
* obj0
= 0 ;
35376 PyObject
* obj1
= 0 ;
35377 PyObject
* obj2
= 0 ;
35378 PyObject
* obj3
= 0 ;
35379 PyObject
* obj4
= 0 ;
35380 char * kwnames
[] = {
35381 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35386 if (!SWIG_IsOK(res1
)) {
35387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35389 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35391 if (!SWIG_IsOK(res2
)) {
35392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35395 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35396 if (!SWIG_IsOK(res3
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35402 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35405 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35409 if (!SWIG_IsOK(ecode5
)) {
35410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35412 arg5
= static_cast< int >(val5
);
35415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_Py_Void();
35427 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
= 0;
35429 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35430 wxWindow
*arg2
= (wxWindow
*) 0 ;
35433 int arg5
= (int) 0 ;
35443 PyObject
* obj0
= 0 ;
35444 PyObject
* obj1
= 0 ;
35445 PyObject
* obj2
= 0 ;
35446 PyObject
* obj3
= 0 ;
35447 PyObject
* obj4
= 0 ;
35448 char * kwnames
[] = {
35449 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35454 if (!SWIG_IsOK(res1
)) {
35455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35457 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35459 if (!SWIG_IsOK(res2
)) {
35460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35464 if (!SWIG_IsOK(res3
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35470 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35473 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35477 if (!SWIG_IsOK(ecode5
)) {
35478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35480 arg5
= static_cast< int >(val5
);
35483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35484 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35485 wxPyEndAllowThreads(__tstate
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35488 resultobj
= SWIG_Py_Void();
35495 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35496 PyObject
*resultobj
= 0;
35497 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35498 wxWindow
*arg2
= (wxWindow
*) 0 ;
35501 int arg5
= (int) 0 ;
35511 PyObject
* obj0
= 0 ;
35512 PyObject
* obj1
= 0 ;
35513 PyObject
* obj2
= 0 ;
35514 PyObject
* obj3
= 0 ;
35515 PyObject
* obj4
= 0 ;
35516 char * kwnames
[] = {
35517 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35522 if (!SWIG_IsOK(res1
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35525 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35527 if (!SWIG_IsOK(res2
)) {
35528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35531 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35532 if (!SWIG_IsOK(res3
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35538 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35541 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35544 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35545 if (!SWIG_IsOK(ecode5
)) {
35546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35548 arg5
= static_cast< int >(val5
);
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35556 resultobj
= SWIG_Py_Void();
35563 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35564 PyObject
*resultobj
= 0;
35565 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35566 wxWindow
*arg2
= (wxWindow
*) 0 ;
35569 int arg5
= (int) 0 ;
35579 PyObject
* obj0
= 0 ;
35580 PyObject
* obj1
= 0 ;
35581 PyObject
* obj2
= 0 ;
35582 PyObject
* obj3
= 0 ;
35583 PyObject
* obj4
= 0 ;
35584 char * kwnames
[] = {
35585 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35590 if (!SWIG_IsOK(res1
)) {
35591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35593 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35595 if (!SWIG_IsOK(res2
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35599 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35600 if (!SWIG_IsOK(res3
)) {
35601 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35606 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35609 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35612 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35613 if (!SWIG_IsOK(ecode5
)) {
35614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35616 arg5
= static_cast< int >(val5
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= SWIG_Py_Void();
35631 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
= 0;
35633 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35634 wxWindow
*arg2
= (wxWindow
*) 0 ;
35635 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35640 PyObject
* obj0
= 0 ;
35641 PyObject
* obj1
= 0 ;
35642 char * kwnames
[] = {
35643 (char *) "self",(char *) "win", NULL
35646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35648 if (!SWIG_IsOK(res1
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35651 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35653 if (!SWIG_IsOK(res2
)) {
35654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35656 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35659 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35660 wxPyEndAllowThreads(__tstate
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35663 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35670 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35671 PyObject
*resultobj
= 0;
35672 wxRendererNative
*result
= 0 ;
35674 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35676 if (!wxPyCheckForApp()) SWIG_fail
;
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35680 result
= (wxRendererNative
*) &_result_ref
;
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35692 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35693 PyObject
*resultobj
= 0;
35694 wxRendererNative
*result
= 0 ;
35696 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35698 if (!wxPyCheckForApp()) SWIG_fail
;
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35702 result
= (wxRendererNative
*) &_result_ref
;
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35714 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35715 PyObject
*resultobj
= 0;
35716 wxRendererNative
*result
= 0 ;
35718 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35720 if (!wxPyCheckForApp()) SWIG_fail
;
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35724 result
= (wxRendererNative
*) &_result_ref
;
35726 wxPyEndAllowThreads(__tstate
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35736 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35737 PyObject
*resultobj
= 0;
35738 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35739 wxRendererNative
*result
= 0 ;
35742 PyObject
* obj0
= 0 ;
35743 char * kwnames
[] = {
35744 (char *) "renderer", NULL
35747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35752 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35754 if (!wxPyCheckForApp()) SWIG_fail
;
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35767 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35768 PyObject
*resultobj
= 0;
35769 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35770 SwigValueWrapper
<wxRendererVersion
> result
;
35773 PyObject
*swig_obj
[1] ;
35775 if (!args
) SWIG_fail
;
35776 swig_obj
[0] = args
;
35777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35778 if (!SWIG_IsOK(res1
)) {
35779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35781 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35784 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35785 wxPyEndAllowThreads(__tstate
);
35786 if (PyErr_Occurred()) SWIG_fail
;
35788 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35795 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35798 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35799 return SWIG_Py_Void();
35802 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35803 PyObject
*resultobj
= 0;
35804 wxPseudoDC
*result
= 0 ;
35806 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35809 result
= (wxPseudoDC
*)new wxPseudoDC();
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35820 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35821 PyObject
*resultobj
= 0;
35822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35825 PyObject
*swig_obj
[1] ;
35827 if (!args
) SWIG_fail
;
35828 swig_obj
[0] = args
;
35829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35830 if (!SWIG_IsOK(res1
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 (arg1
)->BeginDrawing();
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= SWIG_Py_Void();
35847 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35848 PyObject
*resultobj
= 0;
35849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35852 PyObject
*swig_obj
[1] ;
35854 if (!args
) SWIG_fail
;
35855 swig_obj
[0] = args
;
35856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35857 if (!SWIG_IsOK(res1
)) {
35858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35863 (arg1
)->EndDrawing();
35864 wxPyEndAllowThreads(__tstate
);
35865 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= SWIG_Py_Void();
35874 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35875 PyObject
*resultobj
= 0;
35876 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35879 PyObject
*swig_obj
[1] ;
35881 if (!args
) SWIG_fail
;
35882 swig_obj
[0] = args
;
35883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35884 if (!SWIG_IsOK(res1
)) {
35885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35887 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_Py_Void();
35902 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35903 PyObject
*resultobj
= 0;
35904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35907 PyObject
*swig_obj
[1] ;
35909 if (!args
) SWIG_fail
;
35910 swig_obj
[0] = args
;
35911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35912 if (!SWIG_IsOK(res1
)) {
35913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35915 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 (arg1
)->RemoveAll();
35919 wxPyEndAllowThreads(__tstate
);
35920 if (PyErr_Occurred()) SWIG_fail
;
35922 resultobj
= SWIG_Py_Void();
35929 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35930 PyObject
*resultobj
= 0;
35931 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35935 PyObject
*swig_obj
[1] ;
35937 if (!args
) SWIG_fail
;
35938 swig_obj
[0] = args
;
35939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35940 if (!SWIG_IsOK(res1
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35946 result
= (int)(arg1
)->GetLen();
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 resultobj
= SWIG_From_int(static_cast< int >(result
));
35957 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
= 0;
35959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35965 PyObject
* obj0
= 0 ;
35966 PyObject
* obj1
= 0 ;
35967 char * kwnames
[] = {
35968 (char *) "self",(char *) "id", NULL
35971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35973 if (!SWIG_IsOK(res1
)) {
35974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35976 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35978 if (!SWIG_IsOK(ecode2
)) {
35979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35981 arg2
= static_cast< int >(val2
);
35983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35984 (arg1
)->SetId(arg2
);
35985 wxPyEndAllowThreads(__tstate
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35988 resultobj
= SWIG_Py_Void();
35995 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35996 PyObject
*resultobj
= 0;
35997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36003 PyObject
* obj0
= 0 ;
36004 PyObject
* obj1
= 0 ;
36005 char * kwnames
[] = {
36006 (char *) "self",(char *) "id", NULL
36009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36011 if (!SWIG_IsOK(res1
)) {
36012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36016 if (!SWIG_IsOK(ecode2
)) {
36017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36019 arg2
= static_cast< int >(val2
);
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 (arg1
)->ClearId(arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_Py_Void();
36033 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
= 0;
36035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36041 PyObject
* obj0
= 0 ;
36042 PyObject
* obj1
= 0 ;
36043 char * kwnames
[] = {
36044 (char *) "self",(char *) "id", NULL
36047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36049 if (!SWIG_IsOK(res1
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36052 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36054 if (!SWIG_IsOK(ecode2
)) {
36055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36057 arg2
= static_cast< int >(val2
);
36059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36060 (arg1
)->RemoveId(arg2
);
36061 wxPyEndAllowThreads(__tstate
);
36062 if (PyErr_Occurred()) SWIG_fail
;
36064 resultobj
= SWIG_Py_Void();
36071 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36072 PyObject
*resultobj
= 0;
36073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36085 PyObject
* obj0
= 0 ;
36086 PyObject
* obj1
= 0 ;
36087 PyObject
* obj2
= 0 ;
36088 PyObject
* obj3
= 0 ;
36089 char * kwnames
[] = {
36090 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36095 if (!SWIG_IsOK(res1
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36100 if (!SWIG_IsOK(ecode2
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36103 arg2
= static_cast< int >(val2
);
36104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36105 if (!SWIG_IsOK(ecode3
)) {
36106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36108 arg3
= static_cast< int >(val3
);
36109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36110 if (!SWIG_IsOK(ecode4
)) {
36111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36113 arg4
= static_cast< int >(val4
);
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 resultobj
= SWIG_Py_Void();
36127 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
= 0;
36129 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36131 bool arg3
= (bool) true ;
36138 PyObject
* obj0
= 0 ;
36139 PyObject
* obj1
= 0 ;
36140 PyObject
* obj2
= 0 ;
36141 char * kwnames
[] = {
36142 (char *) "self",(char *) "id",(char *) "greyout", NULL
36145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36147 if (!SWIG_IsOK(res1
)) {
36148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36152 if (!SWIG_IsOK(ecode2
)) {
36153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36155 arg2
= static_cast< int >(val2
);
36157 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36158 if (!SWIG_IsOK(ecode3
)) {
36159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36161 arg3
= static_cast< bool >(val3
);
36164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36165 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36166 wxPyEndAllowThreads(__tstate
);
36167 if (PyErr_Occurred()) SWIG_fail
;
36169 resultobj
= SWIG_Py_Void();
36176 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36177 PyObject
*resultobj
= 0;
36178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36185 PyObject
* obj0
= 0 ;
36186 PyObject
* obj1
= 0 ;
36187 char * kwnames
[] = {
36188 (char *) "self",(char *) "id", NULL
36191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36193 if (!SWIG_IsOK(res1
)) {
36194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36198 if (!SWIG_IsOK(ecode2
)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36201 arg2
= static_cast< int >(val2
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36217 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36218 PyObject
*resultobj
= 0;
36219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36222 int arg4
= (int) 1 ;
36223 wxColor
const &arg5_defvalue
= *wxWHITE
;
36224 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36225 PyObject
*result
= 0 ;
36236 PyObject
* obj0
= 0 ;
36237 PyObject
* obj1
= 0 ;
36238 PyObject
* obj2
= 0 ;
36239 PyObject
* obj3
= 0 ;
36240 PyObject
* obj4
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36252 if (!SWIG_IsOK(ecode2
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36255 arg2
= static_cast< int >(val2
);
36256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36257 if (!SWIG_IsOK(ecode3
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36260 arg3
= static_cast< int >(val3
);
36262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36263 if (!SWIG_IsOK(ecode4
)) {
36264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36266 arg4
= static_cast< int >(val4
);
36269 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36270 if (!SWIG_IsOK(res5
)) {
36271 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36276 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36279 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= result
;
36289 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
= 0;
36291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36294 PyObject
*result
= 0 ;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 PyObject
* obj2
= 0 ;
36304 char * kwnames
[] = {
36305 (char *) "self",(char *) "x",(char *) "y", NULL
36308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36315 if (!SWIG_IsOK(ecode2
)) {
36316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36318 arg2
= static_cast< int >(val2
);
36319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36320 if (!SWIG_IsOK(ecode3
)) {
36321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36323 arg3
= static_cast< int >(val3
);
36325 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36326 if (PyErr_Occurred()) SWIG_fail
;
36328 resultobj
= result
;
36335 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
= 0;
36337 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36339 wxDC
*arg3
= (wxDC
*) 0 ;
36346 PyObject
* obj0
= 0 ;
36347 PyObject
* obj1
= 0 ;
36348 PyObject
* obj2
= 0 ;
36349 char * kwnames
[] = {
36350 (char *) "self",(char *) "id",(char *) "dc", NULL
36353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36355 if (!SWIG_IsOK(res1
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36360 if (!SWIG_IsOK(ecode2
)) {
36361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36363 arg2
= static_cast< int >(val2
);
36364 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36365 if (!SWIG_IsOK(res3
)) {
36366 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36368 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 (arg1
)->DrawIdToDC(arg2
,arg3
);
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36375 resultobj
= SWIG_Py_Void();
36382 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36383 PyObject
*resultobj
= 0;
36384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36392 PyObject
* obj0
= 0 ;
36393 PyObject
* obj1
= 0 ;
36394 PyObject
* obj2
= 0 ;
36395 char * kwnames
[] = {
36396 (char *) "self",(char *) "id",(char *) "rect", NULL
36399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36406 if (!SWIG_IsOK(ecode2
)) {
36407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36409 arg2
= static_cast< int >(val2
);
36412 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->SetIdBounds(arg2
,*arg3
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_Py_Void();
36427 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36436 PyObject
* obj0
= 0 ;
36437 PyObject
* obj1
= 0 ;
36438 char * kwnames
[] = {
36439 (char *) "self",(char *) "id", NULL
36442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36444 if (!SWIG_IsOK(res1
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36447 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36449 if (!SWIG_IsOK(ecode2
)) {
36450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36452 arg2
= static_cast< int >(val2
);
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36459 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36466 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36467 PyObject
*resultobj
= 0;
36468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36469 wxDC
*arg2
= (wxDC
*) 0 ;
36476 PyObject
* obj0
= 0 ;
36477 PyObject
* obj1
= 0 ;
36478 PyObject
* obj2
= 0 ;
36479 char * kwnames
[] = {
36480 (char *) "self",(char *) "dc",(char *) "rect", NULL
36483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36485 if (!SWIG_IsOK(res1
)) {
36486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36490 if (!SWIG_IsOK(res2
)) {
36491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36493 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36496 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36500 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36501 wxPyEndAllowThreads(__tstate
);
36502 if (PyErr_Occurred()) SWIG_fail
;
36504 resultobj
= SWIG_Py_Void();
36511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36512 PyObject
*resultobj
= 0;
36513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36514 wxDC
*arg2
= (wxDC
*) 0 ;
36515 wxRegion
*arg3
= 0 ;
36522 PyObject
* obj0
= 0 ;
36523 PyObject
* obj1
= 0 ;
36524 PyObject
* obj2
= 0 ;
36525 char * kwnames
[] = {
36526 (char *) "self",(char *) "dc",(char *) "region", NULL
36529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36531 if (!SWIG_IsOK(res1
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36536 if (!SWIG_IsOK(res2
)) {
36537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36539 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36541 if (!SWIG_IsOK(res3
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36547 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36551 wxPyEndAllowThreads(__tstate
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36554 resultobj
= SWIG_Py_Void();
36561 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36562 PyObject
*resultobj
= 0;
36563 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36564 wxDC
*arg2
= (wxDC
*) 0 ;
36569 PyObject
* obj0
= 0 ;
36570 PyObject
* obj1
= 0 ;
36571 char * kwnames
[] = {
36572 (char *) "self",(char *) "dc", NULL
36575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36577 if (!SWIG_IsOK(res1
)) {
36578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36582 if (!SWIG_IsOK(res2
)) {
36583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36585 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36588 (arg1
)->DrawToDC(arg2
);
36589 wxPyEndAllowThreads(__tstate
);
36590 if (PyErr_Occurred()) SWIG_fail
;
36592 resultobj
= SWIG_Py_Void();
36599 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36600 PyObject
*resultobj
= 0;
36601 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36604 wxColour
*arg4
= 0 ;
36605 int arg5
= (int) wxFLOOD_SURFACE
;
36615 PyObject
* obj0
= 0 ;
36616 PyObject
* obj1
= 0 ;
36617 PyObject
* obj2
= 0 ;
36618 PyObject
* obj3
= 0 ;
36619 PyObject
* obj4
= 0 ;
36620 char * kwnames
[] = {
36621 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36626 if (!SWIG_IsOK(res1
)) {
36627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36631 if (!SWIG_IsOK(ecode2
)) {
36632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36634 arg2
= static_cast< int >(val2
);
36635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36636 if (!SWIG_IsOK(ecode3
)) {
36637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36639 arg3
= static_cast< int >(val3
);
36642 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36646 if (!SWIG_IsOK(ecode5
)) {
36647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36649 arg5
= static_cast< int >(val5
);
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= SWIG_Py_Void();
36664 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36665 PyObject
*resultobj
= 0;
36666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36667 wxPoint
*arg2
= 0 ;
36668 wxColour
*arg3
= 0 ;
36669 int arg4
= (int) wxFLOOD_SURFACE
;
36676 PyObject
* obj0
= 0 ;
36677 PyObject
* obj1
= 0 ;
36678 PyObject
* obj2
= 0 ;
36679 PyObject
* obj3
= 0 ;
36680 char * kwnames
[] = {
36681 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36686 if (!SWIG_IsOK(res1
)) {
36687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36700 if (!SWIG_IsOK(ecode4
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36703 arg4
= static_cast< int >(val4
);
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= SWIG_Py_Void();
36718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
= 0;
36720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36735 PyObject
* obj0
= 0 ;
36736 PyObject
* obj1
= 0 ;
36737 PyObject
* obj2
= 0 ;
36738 PyObject
* obj3
= 0 ;
36739 PyObject
* obj4
= 0 ;
36740 char * kwnames
[] = {
36741 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36746 if (!SWIG_IsOK(res1
)) {
36747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36749 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36751 if (!SWIG_IsOK(ecode2
)) {
36752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36754 arg2
= static_cast< int >(val2
);
36755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36756 if (!SWIG_IsOK(ecode3
)) {
36757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36759 arg3
= static_cast< int >(val3
);
36760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36761 if (!SWIG_IsOK(ecode4
)) {
36762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36764 arg4
= static_cast< int >(val4
);
36765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36766 if (!SWIG_IsOK(ecode5
)) {
36767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36769 arg5
= static_cast< int >(val5
);
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36776 resultobj
= SWIG_Py_Void();
36783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
= 0;
36785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36786 wxPoint
*arg2
= 0 ;
36787 wxPoint
*arg3
= 0 ;
36792 PyObject
* obj0
= 0 ;
36793 PyObject
* obj1
= 0 ;
36794 PyObject
* obj2
= 0 ;
36795 char * kwnames
[] = {
36796 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36801 if (!SWIG_IsOK(res1
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36804 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 resultobj
= SWIG_Py_Void();
36826 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
= 0;
36828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36837 PyObject
* obj0
= 0 ;
36838 PyObject
* obj1
= 0 ;
36839 PyObject
* obj2
= 0 ;
36840 char * kwnames
[] = {
36841 (char *) "self",(char *) "x",(char *) "y", NULL
36844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36846 if (!SWIG_IsOK(res1
)) {
36847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36851 if (!SWIG_IsOK(ecode2
)) {
36852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36854 arg2
= static_cast< int >(val2
);
36855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36856 if (!SWIG_IsOK(ecode3
)) {
36857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36859 arg3
= static_cast< int >(val3
);
36861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36862 (arg1
)->CrossHair(arg2
,arg3
);
36863 wxPyEndAllowThreads(__tstate
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36866 resultobj
= SWIG_Py_Void();
36873 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
= 0;
36875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36876 wxPoint
*arg2
= 0 ;
36880 PyObject
* obj0
= 0 ;
36881 PyObject
* obj1
= 0 ;
36882 char * kwnames
[] = {
36883 (char *) "self",(char *) "pt", NULL
36886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36888 if (!SWIG_IsOK(res1
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36898 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36899 wxPyEndAllowThreads(__tstate
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 resultobj
= SWIG_Py_Void();
36909 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36910 PyObject
*resultobj
= 0;
36911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 PyObject
* obj2
= 0 ;
36935 PyObject
* obj3
= 0 ;
36936 PyObject
* obj4
= 0 ;
36937 PyObject
* obj5
= 0 ;
36938 PyObject
* obj6
= 0 ;
36939 char * kwnames
[] = {
36940 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36950 if (!SWIG_IsOK(ecode2
)) {
36951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36953 arg2
= static_cast< int >(val2
);
36954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36955 if (!SWIG_IsOK(ecode3
)) {
36956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36958 arg3
= static_cast< int >(val3
);
36959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36960 if (!SWIG_IsOK(ecode4
)) {
36961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36963 arg4
= static_cast< int >(val4
);
36964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36965 if (!SWIG_IsOK(ecode5
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36968 arg5
= static_cast< int >(val5
);
36969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36970 if (!SWIG_IsOK(ecode6
)) {
36971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36973 arg6
= static_cast< int >(val6
);
36974 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36975 if (!SWIG_IsOK(ecode7
)) {
36976 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36978 arg7
= static_cast< int >(val7
);
36980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36981 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36982 wxPyEndAllowThreads(__tstate
);
36983 if (PyErr_Occurred()) SWIG_fail
;
36985 resultobj
= SWIG_Py_Void();
36992 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36993 PyObject
*resultobj
= 0;
36994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36995 wxPoint
*arg2
= 0 ;
36996 wxPoint
*arg3
= 0 ;
36997 wxPoint
*arg4
= 0 ;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 PyObject
* obj2
= 0 ;
37006 PyObject
* obj3
= 0 ;
37007 char * kwnames
[] = {
37008 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37013 if (!SWIG_IsOK(res1
)) {
37014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37031 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37032 wxPyEndAllowThreads(__tstate
);
37033 if (PyErr_Occurred()) SWIG_fail
;
37035 resultobj
= SWIG_Py_Void();
37042 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37043 PyObject
*resultobj
= 0;
37044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37059 PyObject
* obj0
= 0 ;
37060 PyObject
* obj1
= 0 ;
37061 PyObject
* obj2
= 0 ;
37062 PyObject
* obj3
= 0 ;
37063 PyObject
* obj4
= 0 ;
37064 char * kwnames
[] = {
37065 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37075 if (!SWIG_IsOK(ecode2
)) {
37076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37078 arg2
= static_cast< int >(val2
);
37079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37080 if (!SWIG_IsOK(ecode3
)) {
37081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37083 arg3
= static_cast< int >(val3
);
37084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37085 if (!SWIG_IsOK(ecode4
)) {
37086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37088 arg4
= static_cast< int >(val4
);
37089 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37090 if (!SWIG_IsOK(ecode5
)) {
37091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37093 arg5
= static_cast< int >(val5
);
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 resultobj
= SWIG_Py_Void();
37107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37108 PyObject
*resultobj
= 0;
37109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 char * kwnames
[] = {
37117 (char *) "self",(char *) "rect", NULL
37120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37122 if (!SWIG_IsOK(res1
)) {
37123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 resultobj
= SWIG_Py_Void();
37143 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37144 PyObject
*resultobj
= 0;
37145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37166 PyObject
* obj0
= 0 ;
37167 PyObject
* obj1
= 0 ;
37168 PyObject
* obj2
= 0 ;
37169 PyObject
* obj3
= 0 ;
37170 PyObject
* obj4
= 0 ;
37171 PyObject
* obj5
= 0 ;
37172 PyObject
* obj6
= 0 ;
37173 char * kwnames
[] = {
37174 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37184 if (!SWIG_IsOK(ecode2
)) {
37185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37187 arg2
= static_cast< int >(val2
);
37188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37189 if (!SWIG_IsOK(ecode3
)) {
37190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37192 arg3
= static_cast< int >(val3
);
37193 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37194 if (!SWIG_IsOK(ecode4
)) {
37195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37197 arg4
= static_cast< int >(val4
);
37198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37199 if (!SWIG_IsOK(ecode5
)) {
37200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37202 arg5
= static_cast< int >(val5
);
37203 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37204 if (!SWIG_IsOK(ecode6
)) {
37205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37207 arg6
= static_cast< double >(val6
);
37208 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37209 if (!SWIG_IsOK(ecode7
)) {
37210 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37212 arg7
= static_cast< double >(val7
);
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37219 resultobj
= SWIG_Py_Void();
37226 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37227 PyObject
*resultobj
= 0;
37228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37229 wxPoint
*arg2
= 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 PyObject
* obj2
= 0 ;
37244 PyObject
* obj3
= 0 ;
37245 PyObject
* obj4
= 0 ;
37246 char * kwnames
[] = {
37247 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37252 if (!SWIG_IsOK(res1
)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37262 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37264 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37265 if (!SWIG_IsOK(ecode4
)) {
37266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37268 arg4
= static_cast< double >(val4
);
37269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37270 if (!SWIG_IsOK(ecode5
)) {
37271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37273 arg5
= static_cast< double >(val5
);
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37276 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37277 wxPyEndAllowThreads(__tstate
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37280 resultobj
= SWIG_Py_Void();
37287 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37288 PyObject
*resultobj
= 0;
37289 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37298 PyObject
* obj0
= 0 ;
37299 PyObject
* obj1
= 0 ;
37300 PyObject
* obj2
= 0 ;
37301 char * kwnames
[] = {
37302 (char *) "self",(char *) "x",(char *) "y", NULL
37305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37307 if (!SWIG_IsOK(res1
)) {
37308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37312 if (!SWIG_IsOK(ecode2
)) {
37313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37315 arg2
= static_cast< int >(val2
);
37316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37317 if (!SWIG_IsOK(ecode3
)) {
37318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37320 arg3
= static_cast< int >(val3
);
37322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37323 (arg1
)->DrawPoint(arg2
,arg3
);
37324 wxPyEndAllowThreads(__tstate
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37327 resultobj
= SWIG_Py_Void();
37334 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37335 PyObject
*resultobj
= 0;
37336 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37337 wxPoint
*arg2
= 0 ;
37341 PyObject
* obj0
= 0 ;
37342 PyObject
* obj1
= 0 ;
37343 char * kwnames
[] = {
37344 (char *) "self",(char *) "pt", NULL
37347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37349 if (!SWIG_IsOK(res1
)) {
37350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37360 wxPyEndAllowThreads(__tstate
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37363 resultobj
= SWIG_Py_Void();
37370 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37371 PyObject
*resultobj
= 0;
37372 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37387 PyObject
* obj0
= 0 ;
37388 PyObject
* obj1
= 0 ;
37389 PyObject
* obj2
= 0 ;
37390 PyObject
* obj3
= 0 ;
37391 PyObject
* obj4
= 0 ;
37392 char * kwnames
[] = {
37393 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37398 if (!SWIG_IsOK(res1
)) {
37399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37403 if (!SWIG_IsOK(ecode2
)) {
37404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37406 arg2
= static_cast< int >(val2
);
37407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37408 if (!SWIG_IsOK(ecode3
)) {
37409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37411 arg3
= static_cast< int >(val3
);
37412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37413 if (!SWIG_IsOK(ecode4
)) {
37414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37416 arg4
= static_cast< int >(val4
);
37417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37418 if (!SWIG_IsOK(ecode5
)) {
37419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37421 arg5
= static_cast< int >(val5
);
37423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37424 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37425 wxPyEndAllowThreads(__tstate
);
37426 if (PyErr_Occurred()) SWIG_fail
;
37428 resultobj
= SWIG_Py_Void();
37435 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37436 PyObject
*resultobj
= 0;
37437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37442 PyObject
* obj0
= 0 ;
37443 PyObject
* obj1
= 0 ;
37444 char * kwnames
[] = {
37445 (char *) "self",(char *) "rect", NULL
37448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37450 if (!SWIG_IsOK(res1
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37456 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37460 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= SWIG_Py_Void();
37471 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37472 PyObject
*resultobj
= 0;
37473 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37474 wxPoint
*arg2
= 0 ;
37480 PyObject
* obj0
= 0 ;
37481 PyObject
* obj1
= 0 ;
37482 PyObject
* obj2
= 0 ;
37483 char * kwnames
[] = {
37484 (char *) "self",(char *) "pt",(char *) "sz", NULL
37487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37489 if (!SWIG_IsOK(res1
)) {
37490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37499 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_Py_Void();
37514 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
= 0;
37516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37534 PyObject
* obj0
= 0 ;
37535 PyObject
* obj1
= 0 ;
37536 PyObject
* obj2
= 0 ;
37537 PyObject
* obj3
= 0 ;
37538 PyObject
* obj4
= 0 ;
37539 PyObject
* obj5
= 0 ;
37540 char * kwnames
[] = {
37541 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37551 if (!SWIG_IsOK(ecode2
)) {
37552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37554 arg2
= static_cast< int >(val2
);
37555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37556 if (!SWIG_IsOK(ecode3
)) {
37557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37559 arg3
= static_cast< int >(val3
);
37560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37561 if (!SWIG_IsOK(ecode4
)) {
37562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37564 arg4
= static_cast< int >(val4
);
37565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37566 if (!SWIG_IsOK(ecode5
)) {
37567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37569 arg5
= static_cast< int >(val5
);
37570 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37571 if (!SWIG_IsOK(ecode6
)) {
37572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37574 arg6
= static_cast< double >(val6
);
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37581 resultobj
= SWIG_Py_Void();
37588 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37589 PyObject
*resultobj
= 0;
37590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37598 PyObject
* obj0
= 0 ;
37599 PyObject
* obj1
= 0 ;
37600 PyObject
* obj2
= 0 ;
37601 char * kwnames
[] = {
37602 (char *) "self",(char *) "r",(char *) "radius", NULL
37605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37607 if (!SWIG_IsOK(res1
)) {
37608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37615 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37616 if (!SWIG_IsOK(ecode3
)) {
37617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37619 arg3
= static_cast< double >(val3
);
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37623 wxPyEndAllowThreads(__tstate
);
37624 if (PyErr_Occurred()) SWIG_fail
;
37626 resultobj
= SWIG_Py_Void();
37633 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37634 PyObject
*resultobj
= 0;
37635 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37636 wxPoint
*arg2
= 0 ;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 PyObject
* obj2
= 0 ;
37648 PyObject
* obj3
= 0 ;
37649 char * kwnames
[] = {
37650 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37655 if (!SWIG_IsOK(res1
)) {
37656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37665 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37667 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37668 if (!SWIG_IsOK(ecode4
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37671 arg4
= static_cast< double >(val4
);
37673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37674 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37675 wxPyEndAllowThreads(__tstate
);
37676 if (PyErr_Occurred()) SWIG_fail
;
37678 resultobj
= SWIG_Py_Void();
37685 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37686 PyObject
*resultobj
= 0;
37687 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37699 PyObject
* obj0
= 0 ;
37700 PyObject
* obj1
= 0 ;
37701 PyObject
* obj2
= 0 ;
37702 PyObject
* obj3
= 0 ;
37703 char * kwnames
[] = {
37704 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37709 if (!SWIG_IsOK(res1
)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37712 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37714 if (!SWIG_IsOK(ecode2
)) {
37715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37717 arg2
= static_cast< int >(val2
);
37718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37719 if (!SWIG_IsOK(ecode3
)) {
37720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37722 arg3
= static_cast< int >(val3
);
37723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37724 if (!SWIG_IsOK(ecode4
)) {
37725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37727 arg4
= static_cast< int >(val4
);
37729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37730 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37731 wxPyEndAllowThreads(__tstate
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37734 resultobj
= SWIG_Py_Void();
37741 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37742 PyObject
*resultobj
= 0;
37743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37744 wxPoint
*arg2
= 0 ;
37751 PyObject
* obj0
= 0 ;
37752 PyObject
* obj1
= 0 ;
37753 PyObject
* obj2
= 0 ;
37754 char * kwnames
[] = {
37755 (char *) "self",(char *) "pt",(char *) "radius", NULL
37758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37760 if (!SWIG_IsOK(res1
)) {
37761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37769 if (!SWIG_IsOK(ecode3
)) {
37770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37772 arg3
= static_cast< int >(val3
);
37774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37775 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37776 wxPyEndAllowThreads(__tstate
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37779 resultobj
= SWIG_Py_Void();
37786 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37787 PyObject
*resultobj
= 0;
37788 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37803 PyObject
* obj0
= 0 ;
37804 PyObject
* obj1
= 0 ;
37805 PyObject
* obj2
= 0 ;
37806 PyObject
* obj3
= 0 ;
37807 PyObject
* obj4
= 0 ;
37808 char * kwnames
[] = {
37809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37814 if (!SWIG_IsOK(res1
)) {
37815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37817 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37819 if (!SWIG_IsOK(ecode2
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37822 arg2
= static_cast< int >(val2
);
37823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37824 if (!SWIG_IsOK(ecode3
)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37827 arg3
= static_cast< int >(val3
);
37828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37829 if (!SWIG_IsOK(ecode4
)) {
37830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37832 arg4
= static_cast< int >(val4
);
37833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37834 if (!SWIG_IsOK(ecode5
)) {
37835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37837 arg5
= static_cast< int >(val5
);
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= SWIG_Py_Void();
37851 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
= 0;
37853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37858 PyObject
* obj0
= 0 ;
37859 PyObject
* obj1
= 0 ;
37860 char * kwnames
[] = {
37861 (char *) "self",(char *) "rect", NULL
37864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37866 if (!SWIG_IsOK(res1
)) {
37867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37880 resultobj
= SWIG_Py_Void();
37887 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37888 PyObject
*resultobj
= 0;
37889 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37890 wxPoint
*arg2
= 0 ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 PyObject
* obj2
= 0 ;
37899 char * kwnames
[] = {
37900 (char *) "self",(char *) "pt",(char *) "sz", NULL
37903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37905 if (!SWIG_IsOK(res1
)) {
37906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37908 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37915 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37923 resultobj
= SWIG_Py_Void();
37930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37931 PyObject
*resultobj
= 0;
37932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37944 PyObject
* obj0
= 0 ;
37945 PyObject
* obj1
= 0 ;
37946 PyObject
* obj2
= 0 ;
37947 PyObject
* obj3
= 0 ;
37948 char * kwnames
[] = {
37949 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37954 if (!SWIG_IsOK(res1
)) {
37955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37959 if (!SWIG_IsOK(res2
)) {
37960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37965 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37967 if (!SWIG_IsOK(ecode3
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37970 arg3
= static_cast< int >(val3
);
37971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37972 if (!SWIG_IsOK(ecode4
)) {
37973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37975 arg4
= static_cast< int >(val4
);
37977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37978 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37979 wxPyEndAllowThreads(__tstate
);
37980 if (PyErr_Occurred()) SWIG_fail
;
37982 resultobj
= SWIG_Py_Void();
37989 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37990 PyObject
*resultobj
= 0;
37991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37993 wxPoint
*arg3
= 0 ;
37999 PyObject
* obj0
= 0 ;
38000 PyObject
* obj1
= 0 ;
38001 PyObject
* obj2
= 0 ;
38002 char * kwnames
[] = {
38003 (char *) "self",(char *) "icon",(char *) "pt", NULL
38006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38008 if (!SWIG_IsOK(res1
)) {
38009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38011 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38013 if (!SWIG_IsOK(res2
)) {
38014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38019 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= SWIG_Py_Void();
38037 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
= 0;
38039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38040 wxBitmap
*arg2
= 0 ;
38043 bool arg5
= (bool) false ;
38054 PyObject
* obj0
= 0 ;
38055 PyObject
* obj1
= 0 ;
38056 PyObject
* obj2
= 0 ;
38057 PyObject
* obj3
= 0 ;
38058 PyObject
* obj4
= 0 ;
38059 char * kwnames
[] = {
38060 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38070 if (!SWIG_IsOK(res2
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38076 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38078 if (!SWIG_IsOK(ecode3
)) {
38079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38081 arg3
= static_cast< int >(val3
);
38082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38083 if (!SWIG_IsOK(ecode4
)) {
38084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38086 arg4
= static_cast< int >(val4
);
38088 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38089 if (!SWIG_IsOK(ecode5
)) {
38090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38092 arg5
= static_cast< bool >(val5
);
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38097 wxPyEndAllowThreads(__tstate
);
38098 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= SWIG_Py_Void();
38107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38108 PyObject
*resultobj
= 0;
38109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38110 wxBitmap
*arg2
= 0 ;
38111 wxPoint
*arg3
= 0 ;
38112 bool arg4
= (bool) false ;
38120 PyObject
* obj0
= 0 ;
38121 PyObject
* obj1
= 0 ;
38122 PyObject
* obj2
= 0 ;
38123 PyObject
* obj3
= 0 ;
38124 char * kwnames
[] = {
38125 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38130 if (!SWIG_IsOK(res1
)) {
38131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38135 if (!SWIG_IsOK(res2
)) {
38136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38141 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38147 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38148 if (!SWIG_IsOK(ecode4
)) {
38149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38151 arg4
= static_cast< bool >(val4
);
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38159 resultobj
= SWIG_Py_Void();
38166 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
= 0;
38168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38169 wxString
*arg2
= 0 ;
38174 bool temp2
= false ;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 PyObject
* obj2
= 0 ;
38182 PyObject
* obj3
= 0 ;
38183 char * kwnames
[] = {
38184 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38189 if (!SWIG_IsOK(res1
)) {
38190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38194 arg2
= wxString_in_helper(obj1
);
38195 if (arg2
== NULL
) SWIG_fail
;
38198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38199 if (!SWIG_IsOK(ecode3
)) {
38200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38202 arg3
= static_cast< int >(val3
);
38203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38204 if (!SWIG_IsOK(ecode4
)) {
38205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38207 arg4
= static_cast< int >(val4
);
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38214 resultobj
= SWIG_Py_Void();
38229 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38230 PyObject
*resultobj
= 0;
38231 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38232 wxString
*arg2
= 0 ;
38233 wxPoint
*arg3
= 0 ;
38236 bool temp2
= false ;
38238 PyObject
* obj0
= 0 ;
38239 PyObject
* obj1
= 0 ;
38240 PyObject
* obj2
= 0 ;
38241 char * kwnames
[] = {
38242 (char *) "self",(char *) "text",(char *) "pt", NULL
38245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38247 if (!SWIG_IsOK(res1
)) {
38248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38252 arg2
= wxString_in_helper(obj1
);
38253 if (arg2
== NULL
) SWIG_fail
;
38258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_Py_Void();
38281 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38282 PyObject
*resultobj
= 0;
38283 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38284 wxString
*arg2
= 0 ;
38290 bool temp2
= false ;
38297 PyObject
* obj0
= 0 ;
38298 PyObject
* obj1
= 0 ;
38299 PyObject
* obj2
= 0 ;
38300 PyObject
* obj3
= 0 ;
38301 PyObject
* obj4
= 0 ;
38302 char * kwnames
[] = {
38303 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38308 if (!SWIG_IsOK(res1
)) {
38309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38311 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38313 arg2
= wxString_in_helper(obj1
);
38314 if (arg2
== NULL
) SWIG_fail
;
38317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38318 if (!SWIG_IsOK(ecode3
)) {
38319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38321 arg3
= static_cast< int >(val3
);
38322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38323 if (!SWIG_IsOK(ecode4
)) {
38324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38326 arg4
= static_cast< int >(val4
);
38327 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38328 if (!SWIG_IsOK(ecode5
)) {
38329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38331 arg5
= static_cast< double >(val5
);
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= SWIG_Py_Void();
38353 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38354 PyObject
*resultobj
= 0;
38355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38356 wxString
*arg2
= 0 ;
38357 wxPoint
*arg3
= 0 ;
38361 bool temp2
= false ;
38365 PyObject
* obj0
= 0 ;
38366 PyObject
* obj1
= 0 ;
38367 PyObject
* obj2
= 0 ;
38368 PyObject
* obj3
= 0 ;
38369 char * kwnames
[] = {
38370 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38375 if (!SWIG_IsOK(res1
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38378 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38380 arg2
= wxString_in_helper(obj1
);
38381 if (arg2
== NULL
) SWIG_fail
;
38386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38388 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38389 if (!SWIG_IsOK(ecode4
)) {
38390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38392 arg4
= static_cast< double >(val4
);
38394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38395 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38396 wxPyEndAllowThreads(__tstate
);
38397 if (PyErr_Occurred()) SWIG_fail
;
38399 resultobj
= SWIG_Py_Void();
38414 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38415 PyObject
*resultobj
= 0;
38416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38418 wxPoint
*arg3
= (wxPoint
*) 0 ;
38419 int arg4
= (int) 0 ;
38420 int arg5
= (int) 0 ;
38427 PyObject
* obj0
= 0 ;
38428 PyObject
* obj1
= 0 ;
38429 PyObject
* obj2
= 0 ;
38430 PyObject
* obj3
= 0 ;
38431 char * kwnames
[] = {
38432 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38437 if (!SWIG_IsOK(res1
)) {
38438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38442 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38443 if (arg3
== NULL
) SWIG_fail
;
38446 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38447 if (!SWIG_IsOK(ecode4
)) {
38448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38450 arg4
= static_cast< int >(val4
);
38453 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38454 if (!SWIG_IsOK(ecode5
)) {
38455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38457 arg5
= static_cast< int >(val5
);
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= SWIG_Py_Void();
38467 if (arg3
) delete [] arg3
;
38472 if (arg3
) delete [] arg3
;
38478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38479 PyObject
*resultobj
= 0;
38480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38482 wxPoint
*arg3
= (wxPoint
*) 0 ;
38483 int arg4
= (int) 0 ;
38484 int arg5
= (int) 0 ;
38485 int arg6
= (int) wxODDEVEN_RULE
;
38494 PyObject
* obj0
= 0 ;
38495 PyObject
* obj1
= 0 ;
38496 PyObject
* obj2
= 0 ;
38497 PyObject
* obj3
= 0 ;
38498 PyObject
* obj4
= 0 ;
38499 char * kwnames
[] = {
38500 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38505 if (!SWIG_IsOK(res1
)) {
38506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38510 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38511 if (arg3
== NULL
) SWIG_fail
;
38514 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38515 if (!SWIG_IsOK(ecode4
)) {
38516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38518 arg4
= static_cast< int >(val4
);
38521 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38522 if (!SWIG_IsOK(ecode5
)) {
38523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38525 arg5
= static_cast< int >(val5
);
38528 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38529 if (!SWIG_IsOK(ecode6
)) {
38530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38532 arg6
= static_cast< int >(val6
);
38535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38536 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38537 wxPyEndAllowThreads(__tstate
);
38538 if (PyErr_Occurred()) SWIG_fail
;
38540 resultobj
= SWIG_Py_Void();
38542 if (arg3
) delete [] arg3
;
38547 if (arg3
) delete [] arg3
;
38553 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38554 PyObject
*resultobj
= 0;
38555 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38556 wxString
*arg2
= 0 ;
38558 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38559 int arg5
= (int) -1 ;
38562 bool temp2
= false ;
38568 PyObject
* obj0
= 0 ;
38569 PyObject
* obj1
= 0 ;
38570 PyObject
* obj2
= 0 ;
38571 PyObject
* obj3
= 0 ;
38572 PyObject
* obj4
= 0 ;
38573 char * kwnames
[] = {
38574 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38579 if (!SWIG_IsOK(res1
)) {
38580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38582 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38584 arg2
= wxString_in_helper(obj1
);
38585 if (arg2
== NULL
) SWIG_fail
;
38590 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38594 if (!SWIG_IsOK(ecode4
)) {
38595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38597 arg4
= static_cast< int >(val4
);
38600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38601 if (!SWIG_IsOK(ecode5
)) {
38602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38604 arg5
= static_cast< int >(val5
);
38607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38608 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38609 wxPyEndAllowThreads(__tstate
);
38610 if (PyErr_Occurred()) SWIG_fail
;
38612 resultobj
= SWIG_Py_Void();
38627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38628 PyObject
*resultobj
= 0;
38629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38630 wxString
*arg2
= 0 ;
38631 wxBitmap
*arg3
= 0 ;
38633 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38634 int arg6
= (int) -1 ;
38637 bool temp2
= false ;
38645 PyObject
* obj0
= 0 ;
38646 PyObject
* obj1
= 0 ;
38647 PyObject
* obj2
= 0 ;
38648 PyObject
* obj3
= 0 ;
38649 PyObject
* obj4
= 0 ;
38650 PyObject
* obj5
= 0 ;
38651 char * kwnames
[] = {
38652 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38662 arg2
= wxString_in_helper(obj1
);
38663 if (arg2
== NULL
) SWIG_fail
;
38666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38667 if (!SWIG_IsOK(res3
)) {
38668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38673 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38676 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38680 if (!SWIG_IsOK(ecode5
)) {
38681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38683 arg5
= static_cast< int >(val5
);
38686 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38687 if (!SWIG_IsOK(ecode6
)) {
38688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38690 arg6
= static_cast< int >(val6
);
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38698 resultobj
= SWIG_Py_Void();
38713 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38714 PyObject
*resultobj
= 0;
38715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38717 wxPoint
*arg3
= (wxPoint
*) 0 ;
38720 PyObject
* obj0
= 0 ;
38721 PyObject
* obj1
= 0 ;
38722 char * kwnames
[] = {
38723 (char *) "self",(char *) "points", NULL
38726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38728 if (!SWIG_IsOK(res1
)) {
38729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38731 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38733 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38734 if (arg3
== NULL
) SWIG_fail
;
38737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38738 (arg1
)->DrawSpline(arg2
,arg3
);
38739 wxPyEndAllowThreads(__tstate
);
38740 if (PyErr_Occurred()) SWIG_fail
;
38742 resultobj
= SWIG_Py_Void();
38744 if (arg3
) delete [] arg3
;
38749 if (arg3
) delete [] arg3
;
38755 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38756 PyObject
*resultobj
= 0;
38757 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38760 PyObject
*swig_obj
[1] ;
38762 if (!args
) SWIG_fail
;
38763 swig_obj
[0] = args
;
38764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38765 if (!SWIG_IsOK(res1
)) {
38766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 wxPyEndAllowThreads(__tstate
);
38773 if (PyErr_Occurred()) SWIG_fail
;
38775 resultobj
= SWIG_Py_Void();
38782 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38783 PyObject
*resultobj
= 0;
38784 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38790 PyObject
* obj0
= 0 ;
38791 PyObject
* obj1
= 0 ;
38792 char * kwnames
[] = {
38793 (char *) "self",(char *) "font", NULL
38796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38798 if (!SWIG_IsOK(res1
)) {
38799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38803 if (!SWIG_IsOK(res2
)) {
38804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38809 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 (arg1
)->SetFont((wxFont
const &)*arg2
);
38813 wxPyEndAllowThreads(__tstate
);
38814 if (PyErr_Occurred()) SWIG_fail
;
38816 resultobj
= SWIG_Py_Void();
38823 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38824 PyObject
*resultobj
= 0;
38825 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38831 PyObject
* obj0
= 0 ;
38832 PyObject
* obj1
= 0 ;
38833 char * kwnames
[] = {
38834 (char *) "self",(char *) "pen", NULL
38837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38839 if (!SWIG_IsOK(res1
)) {
38840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38844 if (!SWIG_IsOK(res2
)) {
38845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38850 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38853 (arg1
)->SetPen((wxPen
const &)*arg2
);
38854 wxPyEndAllowThreads(__tstate
);
38855 if (PyErr_Occurred()) SWIG_fail
;
38857 resultobj
= SWIG_Py_Void();
38864 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38865 PyObject
*resultobj
= 0;
38866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38867 wxBrush
*arg2
= 0 ;
38872 PyObject
* obj0
= 0 ;
38873 PyObject
* obj1
= 0 ;
38874 char * kwnames
[] = {
38875 (char *) "self",(char *) "brush", NULL
38878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38880 if (!SWIG_IsOK(res1
)) {
38881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38885 if (!SWIG_IsOK(res2
)) {
38886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38891 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38894 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38895 wxPyEndAllowThreads(__tstate
);
38896 if (PyErr_Occurred()) SWIG_fail
;
38898 resultobj
= SWIG_Py_Void();
38905 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38906 PyObject
*resultobj
= 0;
38907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38908 wxBrush
*arg2
= 0 ;
38913 PyObject
* obj0
= 0 ;
38914 PyObject
* obj1
= 0 ;
38915 char * kwnames
[] = {
38916 (char *) "self",(char *) "brush", NULL
38919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38921 if (!SWIG_IsOK(res1
)) {
38922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38924 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38926 if (!SWIG_IsOK(res2
)) {
38927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38932 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38936 wxPyEndAllowThreads(__tstate
);
38937 if (PyErr_Occurred()) SWIG_fail
;
38939 resultobj
= SWIG_Py_Void();
38946 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38947 PyObject
*resultobj
= 0;
38948 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38954 PyObject
* obj0
= 0 ;
38955 PyObject
* obj1
= 0 ;
38956 char * kwnames
[] = {
38957 (char *) "self",(char *) "mode", NULL
38960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38962 if (!SWIG_IsOK(res1
)) {
38963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38967 if (!SWIG_IsOK(ecode2
)) {
38968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38970 arg2
= static_cast< int >(val2
);
38972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38973 (arg1
)->SetBackgroundMode(arg2
);
38974 wxPyEndAllowThreads(__tstate
);
38975 if (PyErr_Occurred()) SWIG_fail
;
38977 resultobj
= SWIG_Py_Void();
38984 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38985 PyObject
*resultobj
= 0;
38986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38987 wxPalette
*arg2
= 0 ;
38992 PyObject
* obj0
= 0 ;
38993 PyObject
* obj1
= 0 ;
38994 char * kwnames
[] = {
38995 (char *) "self",(char *) "palette", NULL
38998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39000 if (!SWIG_IsOK(res1
)) {
39001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39005 if (!SWIG_IsOK(res2
)) {
39006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39011 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39014 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39015 wxPyEndAllowThreads(__tstate
);
39016 if (PyErr_Occurred()) SWIG_fail
;
39018 resultobj
= SWIG_Py_Void();
39025 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39026 PyObject
*resultobj
= 0;
39027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39028 wxColour
*arg2
= 0 ;
39032 PyObject
* obj0
= 0 ;
39033 PyObject
* obj1
= 0 ;
39034 char * kwnames
[] = {
39035 (char *) "self",(char *) "colour", NULL
39038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39040 if (!SWIG_IsOK(res1
)) {
39041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39043 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39050 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39051 wxPyEndAllowThreads(__tstate
);
39052 if (PyErr_Occurred()) SWIG_fail
;
39054 resultobj
= SWIG_Py_Void();
39061 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39062 PyObject
*resultobj
= 0;
39063 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39064 wxColour
*arg2
= 0 ;
39068 PyObject
* obj0
= 0 ;
39069 PyObject
* obj1
= 0 ;
39070 char * kwnames
[] = {
39071 (char *) "self",(char *) "colour", NULL
39074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39076 if (!SWIG_IsOK(res1
)) {
39077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39079 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39086 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39087 wxPyEndAllowThreads(__tstate
);
39088 if (PyErr_Occurred()) SWIG_fail
;
39090 resultobj
= SWIG_Py_Void();
39097 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39098 PyObject
*resultobj
= 0;
39099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39105 PyObject
* obj0
= 0 ;
39106 PyObject
* obj1
= 0 ;
39107 char * kwnames
[] = {
39108 (char *) "self",(char *) "function", NULL
39111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39113 if (!SWIG_IsOK(res1
)) {
39114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39118 if (!SWIG_IsOK(ecode2
)) {
39119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39121 arg2
= static_cast< int >(val2
);
39123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39124 (arg1
)->SetLogicalFunction(arg2
);
39125 wxPyEndAllowThreads(__tstate
);
39126 if (PyErr_Occurred()) SWIG_fail
;
39128 resultobj
= SWIG_Py_Void();
39135 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39138 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39139 return SWIG_Py_Void();
39142 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39143 return SWIG_Python_InitShadowInstance(args
);
39146 static PyMethodDef SwigMethods
[] = {
39147 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39148 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39149 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39150 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39151 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39152 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39156 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39157 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39158 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39159 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39160 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39161 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39166 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39170 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39171 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39172 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39174 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39177 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39178 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39179 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39180 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39182 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39183 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39184 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39185 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39186 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39187 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39188 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39195 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39197 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39198 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39202 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39203 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39206 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39210 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39211 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39212 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39213 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39214 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39215 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39216 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39218 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39224 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39226 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39227 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39228 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39229 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39230 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39231 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39232 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39238 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39250 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39251 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39255 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39256 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39257 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39258 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39259 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39260 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39261 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39262 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39263 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39264 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39265 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39266 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39267 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39268 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39269 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39271 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39272 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39278 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39279 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39280 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39281 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39282 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39283 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39284 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39285 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39286 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39287 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39288 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39289 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39291 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39292 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39298 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39299 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39300 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39302 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39303 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39304 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39306 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39307 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39312 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39314 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39315 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39316 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39317 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39323 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39324 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39326 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39327 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39329 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39331 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39332 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39333 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39334 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39337 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39341 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39342 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39344 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39347 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39349 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39350 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39351 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39352 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39357 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39358 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39363 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39364 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39370 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39374 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39385 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39388 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39389 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39391 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39392 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39393 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39394 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39395 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39396 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39397 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39398 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39399 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39400 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39401 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39402 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39403 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39404 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39405 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39406 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39407 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39409 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39410 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39411 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39412 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39413 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39414 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39415 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39416 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39426 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39427 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39429 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39430 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39431 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39432 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39433 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39434 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39435 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39436 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39437 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39439 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39440 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39441 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39444 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39445 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39446 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39449 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39455 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39460 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39461 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39463 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39469 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39472 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39473 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39474 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39475 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39476 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39477 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39478 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39479 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39480 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39481 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39482 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39483 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39484 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39496 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39497 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39498 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39500 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39501 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39503 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39504 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39505 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39506 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39510 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39511 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39513 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39514 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39515 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39516 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39517 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39518 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39519 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39520 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39521 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39523 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39526 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39527 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39528 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39529 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39530 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39531 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39532 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39533 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39543 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39544 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39545 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39547 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39551 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39552 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39553 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39554 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39555 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39556 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39562 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39563 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39564 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39614 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39616 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39617 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39618 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39625 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39626 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39627 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39628 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39629 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39634 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39635 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39636 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39637 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39646 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39647 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39648 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39649 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39650 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39651 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39652 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39653 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39654 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39655 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39656 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39657 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39660 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39662 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39664 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39666 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39667 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39670 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39671 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39675 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39677 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39680 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39681 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39682 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39683 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39684 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39685 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39686 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39688 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39695 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39697 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39698 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39699 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39701 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39702 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39703 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39705 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39706 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39707 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39708 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39709 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39710 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39711 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39712 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39715 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39716 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39717 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39719 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39720 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39722 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39723 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39725 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39726 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39731 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39732 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39733 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39734 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39735 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39737 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39738 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39739 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39741 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39742 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39744 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39745 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39748 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39749 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39751 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39754 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39755 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39756 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39758 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39759 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39761 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39762 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39763 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39764 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39765 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39766 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39768 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39769 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39770 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39772 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39773 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39775 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39776 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39777 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39778 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39779 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39780 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39781 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39782 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39783 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39784 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39785 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39786 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39787 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39788 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39789 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39790 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39791 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39792 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39793 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39796 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39798 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39804 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39805 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39806 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39807 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39808 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39809 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39810 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39811 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39813 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39814 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39815 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39822 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39825 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39826 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39827 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39828 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39829 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39830 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39831 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39834 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39841 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39842 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39845 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39846 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39852 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39853 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39854 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39855 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39873 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39874 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39875 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39876 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39877 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39878 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39881 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39888 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39890 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39891 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39893 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39894 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39895 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39896 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39897 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39898 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39899 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39900 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39901 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39902 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39903 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39904 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39906 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39914 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39916 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39918 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39919 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39920 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39921 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39922 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39923 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39929 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39930 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39931 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39932 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39933 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39934 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39938 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39942 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39946 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39947 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39948 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39953 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39954 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39955 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39956 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39957 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39958 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39959 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39960 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39961 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39962 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39963 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39964 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39973 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39974 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39976 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39977 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39978 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39979 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39980 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39981 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39982 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39983 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39984 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39985 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39986 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39987 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39988 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39989 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39990 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39991 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39992 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39993 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39994 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39995 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39996 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39997 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39998 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39999 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40001 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40003 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40004 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40005 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40006 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40012 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40019 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40020 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40021 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40023 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40024 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40025 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40026 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40027 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40028 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40029 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40030 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40083 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40093 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40094 { NULL
, NULL
, 0, NULL
}
40098 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40100 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40101 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40103 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40104 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40106 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40107 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40109 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40110 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40112 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40113 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40115 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40116 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40118 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40119 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40121 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40122 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40124 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40125 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40127 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40128 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40130 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40131 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40133 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40134 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40136 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40137 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40139 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40140 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40142 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40143 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40145 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40146 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40148 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40149 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40151 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40152 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40154 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40155 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40157 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40158 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40160 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40161 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40163 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40164 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40166 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40167 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40169 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40170 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40172 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40173 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40175 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40176 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40178 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40179 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40181 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40182 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40184 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40185 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40187 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40188 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40190 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40191 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40193 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40194 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40196 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40197 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40199 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40200 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40202 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40203 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40205 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40206 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40208 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40209 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40211 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40212 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40214 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40215 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40217 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40218 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40220 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40221 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40223 static void *_p_wxPenTo_p_wxObject(void *x
) {
40224 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40226 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40227 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40229 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40230 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40232 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40233 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40235 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40236 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40238 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40239 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40241 static void *_p_wxIconTo_p_wxObject(void *x
) {
40242 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40244 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40245 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40247 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40248 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40250 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40251 return (void *)((wxObject
*) ((wxSizer
*) x
));
40253 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40254 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40256 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40259 static void *_p_wxEventTo_p_wxObject(void *x
) {
40260 return (void *)((wxObject
*) ((wxEvent
*) x
));
40262 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40263 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40265 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40266 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40268 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40269 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40271 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40272 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40274 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40277 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40278 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40280 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40281 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40283 static void *_p_wxDCTo_p_wxObject(void *x
) {
40284 return (void *)((wxObject
*) ((wxDC
*) x
));
40286 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40287 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40289 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40290 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40292 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40295 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40296 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40298 static void *_p_wxControlTo_p_wxObject(void *x
) {
40299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40301 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40302 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40304 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40305 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40307 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40308 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40310 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40311 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40313 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40314 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40316 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40317 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40319 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40320 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40322 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40323 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40325 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40326 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40328 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40329 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40331 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40332 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40334 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40335 return (void *)((wxObject
*) ((wxEffects
*) x
));
40337 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40338 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40340 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40343 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40344 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40346 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40347 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40349 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40350 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40352 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40353 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40355 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40358 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40359 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40361 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40364 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40365 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40367 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40368 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40370 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40371 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40373 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40374 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40376 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40377 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40379 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40380 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40382 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40385 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40388 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40391 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40394 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40395 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40397 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40398 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40400 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40401 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40403 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40404 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40406 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40407 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40409 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40410 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40412 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40413 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40415 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40418 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40421 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40424 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40425 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40427 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40428 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40430 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40431 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40433 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40434 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40436 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40437 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40439 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40440 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40442 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40443 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40445 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40446 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40448 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40449 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40451 static void *_p_wxImageTo_p_wxObject(void *x
) {
40452 return (void *)((wxObject
*) ((wxImage
*) x
));
40454 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40457 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40460 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40463 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40466 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40469 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) ((wxImageList
*) x
));
40472 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40475 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40478 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40481 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40484 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40487 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40490 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40493 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40496 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40499 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40502 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40505 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40508 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40511 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40514 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) ((wxMask
*) x
));
40517 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40520 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40523 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40526 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40529 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40532 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40535 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40538 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40541 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40544 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40547 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40550 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40553 static void *_p_wxFontTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40556 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40559 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40562 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40565 static void *_p_wxColourTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) ((wxColour
*) x
));
40568 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40571 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40574 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40575 return (void *)((wxWindow
*) ((wxControl
*) x
));
40577 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40578 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40580 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40581 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40583 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40584 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40586 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40587 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40589 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40590 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40591 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40592 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};
40593 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40594 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40595 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40596 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40597 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40598 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40599 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40600 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40601 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40602 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40603 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40604 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40605 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40606 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40607 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40608 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40609 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40610 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40611 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40612 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40613 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40614 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40615 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40616 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40617 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40618 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40619 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40620 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40621 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40622 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40623 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40624 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40625 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40626 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40627 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40628 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40629 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40630 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40631 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40632 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40633 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40634 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40635 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40636 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40637 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40638 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40639 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40640 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40641 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40642 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40643 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40644 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40645 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40646 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40647 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40648 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40649 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40650 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40651 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40652 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40653 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40654 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40655 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40656 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40657 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40658 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40659 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40660 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40661 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40662 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40663 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40664 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40665 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40666 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40667 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40668 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40669 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40670 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40671 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40672 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40673 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40674 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40675 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40676 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40677 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40678 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40679 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40680 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40681 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40682 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40683 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40684 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40685 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40686 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40687 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40688 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40689 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40690 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40691 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40692 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40693 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40694 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40695 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40696 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40697 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40698 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40699 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40700 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40701 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40702 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40703 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40704 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40705 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40706 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40707 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40708 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40709 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40710 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40711 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40712 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40713 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40714 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40715 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40716 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40717 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40718 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40719 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40720 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40721 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40722 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40723 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40724 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40725 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40726 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40727 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40728 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40729 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40730 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40731 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40735 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40736 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40737 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40738 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40739 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40740 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40741 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40742 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40743 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40744 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40745 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40746 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40747 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40748 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40749 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40750 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40751 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40752 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40753 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40754 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40755 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40756 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40757 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40758 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40759 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40761 static swig_type_info
*swig_type_initial
[] = {
40765 &_swigt__p_form_ops_t
,
40767 &_swigt__p_unsigned_char
,
40768 &_swigt__p_unsigned_int
,
40769 &_swigt__p_unsigned_long
,
40771 &_swigt__p_wxANIHandler
,
40772 &_swigt__p_wxAcceleratorTable
,
40773 &_swigt__p_wxActivateEvent
,
40774 &_swigt__p_wxAlphaPixelData
,
40775 &_swigt__p_wxAlphaPixelData_Accessor
,
40776 &_swigt__p_wxAutoBufferedPaintDC
,
40777 &_swigt__p_wxBMPHandler
,
40778 &_swigt__p_wxBitmap
,
40779 &_swigt__p_wxBoxSizer
,
40780 &_swigt__p_wxBrush
,
40781 &_swigt__p_wxBrushList
,
40782 &_swigt__p_wxBufferedDC
,
40783 &_swigt__p_wxBufferedPaintDC
,
40784 &_swigt__p_wxCURHandler
,
40786 &_swigt__p_wxChildFocusEvent
,
40787 &_swigt__p_wxClientDC
,
40788 &_swigt__p_wxClipboardTextEvent
,
40789 &_swigt__p_wxCloseEvent
,
40790 &_swigt__p_wxColor
,
40791 &_swigt__p_wxColour
,
40792 &_swigt__p_wxColourDatabase
,
40793 &_swigt__p_wxCommandEvent
,
40794 &_swigt__p_wxContextMenuEvent
,
40795 &_swigt__p_wxControl
,
40796 &_swigt__p_wxControlWithItems
,
40797 &_swigt__p_wxCursor
,
40799 &_swigt__p_wxDCBrushChanger
,
40800 &_swigt__p_wxDCClipper
,
40801 &_swigt__p_wxDCOverlay
,
40802 &_swigt__p_wxDCPenChanger
,
40803 &_swigt__p_wxDCTextColourChanger
,
40805 &_swigt__p_wxDateEvent
,
40806 &_swigt__p_wxDisplayChangedEvent
,
40807 &_swigt__p_wxDropFilesEvent
,
40808 &_swigt__p_wxDuplexMode
,
40809 &_swigt__p_wxEffects
,
40810 &_swigt__p_wxEncodingConverter
,
40811 &_swigt__p_wxEraseEvent
,
40812 &_swigt__p_wxEvent
,
40813 &_swigt__p_wxEvtHandler
,
40814 &_swigt__p_wxFSFile
,
40815 &_swigt__p_wxFileSystem
,
40816 &_swigt__p_wxFlexGridSizer
,
40817 &_swigt__p_wxFocusEvent
,
40819 &_swigt__p_wxFontList
,
40820 &_swigt__p_wxFontMapper
,
40821 &_swigt__p_wxGBSizerItem
,
40823 &_swigt__p_wxGDIObjListBase
,
40824 &_swigt__p_wxGDIObject
,
40825 &_swigt__p_wxGIFHandler
,
40826 &_swigt__p_wxGraphicsBrush
,
40827 &_swigt__p_wxGraphicsContext
,
40828 &_swigt__p_wxGraphicsFont
,
40829 &_swigt__p_wxGraphicsMatrix
,
40830 &_swigt__p_wxGraphicsObject
,
40831 &_swigt__p_wxGraphicsPath
,
40832 &_swigt__p_wxGraphicsPen
,
40833 &_swigt__p_wxGraphicsRenderer
,
40834 &_swigt__p_wxGridBagSizer
,
40835 &_swigt__p_wxGridSizer
,
40836 &_swigt__p_wxHeaderButtonParams
,
40837 &_swigt__p_wxICOHandler
,
40839 &_swigt__p_wxIconBundle
,
40840 &_swigt__p_wxIconLocation
,
40841 &_swigt__p_wxIconizeEvent
,
40842 &_swigt__p_wxIdleEvent
,
40843 &_swigt__p_wxImage
,
40844 &_swigt__p_wxImageHandler
,
40845 &_swigt__p_wxImageList
,
40846 &_swigt__p_wxIndividualLayoutConstraint
,
40847 &_swigt__p_wxInitDialogEvent
,
40848 &_swigt__p_wxJPEGHandler
,
40849 &_swigt__p_wxKeyEvent
,
40850 &_swigt__p_wxLanguageInfo
,
40851 &_swigt__p_wxLayoutConstraints
,
40852 &_swigt__p_wxLocale
,
40854 &_swigt__p_wxMaximizeEvent
,
40855 &_swigt__p_wxMemoryDC
,
40857 &_swigt__p_wxMenuBar
,
40858 &_swigt__p_wxMenuEvent
,
40859 &_swigt__p_wxMenuItem
,
40860 &_swigt__p_wxMetaFile
,
40861 &_swigt__p_wxMetaFileDC
,
40862 &_swigt__p_wxMirrorDC
,
40863 &_swigt__p_wxMouseCaptureChangedEvent
,
40864 &_swigt__p_wxMouseCaptureLostEvent
,
40865 &_swigt__p_wxMouseEvent
,
40866 &_swigt__p_wxMoveEvent
,
40867 &_swigt__p_wxNativeEncodingInfo
,
40868 &_swigt__p_wxNativeFontInfo
,
40869 &_swigt__p_wxNativePixelData
,
40870 &_swigt__p_wxNativePixelData_Accessor
,
40871 &_swigt__p_wxNavigationKeyEvent
,
40872 &_swigt__p_wxNcPaintEvent
,
40873 &_swigt__p_wxNotifyEvent
,
40874 &_swigt__p_wxObject
,
40875 &_swigt__p_wxOverlay
,
40876 &_swigt__p_wxPCXHandler
,
40877 &_swigt__p_wxPNGHandler
,
40878 &_swigt__p_wxPNMHandler
,
40879 &_swigt__p_wxPaintDC
,
40880 &_swigt__p_wxPaintEvent
,
40881 &_swigt__p_wxPalette
,
40882 &_swigt__p_wxPaletteChangedEvent
,
40883 &_swigt__p_wxPaperSize
,
40885 &_swigt__p_wxPenList
,
40886 &_swigt__p_wxPixelDataBase
,
40887 &_swigt__p_wxPoint
,
40888 &_swigt__p_wxPoint2D
,
40889 &_swigt__p_wxPoint2DDouble
,
40890 &_swigt__p_wxPostScriptDC
,
40891 &_swigt__p_wxPrintData
,
40892 &_swigt__p_wxPrinterDC
,
40893 &_swigt__p_wxPseudoDC
,
40894 &_swigt__p_wxPyApp
,
40895 &_swigt__p_wxPyCommandEvent
,
40896 &_swigt__p_wxPyEvent
,
40897 &_swigt__p_wxPyFontEnumerator
,
40898 &_swigt__p_wxPyImageHandler
,
40899 &_swigt__p_wxPyLocale
,
40900 &_swigt__p_wxPySizer
,
40901 &_swigt__p_wxPyValidator
,
40902 &_swigt__p_wxQueryNewPaletteEvent
,
40904 &_swigt__p_wxRect2DDouble
,
40905 &_swigt__p_wxRegion
,
40906 &_swigt__p_wxRegionIterator
,
40907 &_swigt__p_wxRendererNative
,
40908 &_swigt__p_wxRendererVersion
,
40909 &_swigt__p_wxScreenDC
,
40910 &_swigt__p_wxScrollEvent
,
40911 &_swigt__p_wxScrollWinEvent
,
40912 &_swigt__p_wxSetCursorEvent
,
40913 &_swigt__p_wxShowEvent
,
40915 &_swigt__p_wxSizeEvent
,
40916 &_swigt__p_wxSizer
,
40917 &_swigt__p_wxSizerItem
,
40918 &_swigt__p_wxSplitterRenderParams
,
40919 &_swigt__p_wxStaticBoxSizer
,
40920 &_swigt__p_wxStdDialogButtonSizer
,
40921 &_swigt__p_wxStockGDI
,
40922 &_swigt__p_wxString
,
40923 &_swigt__p_wxSysColourChangedEvent
,
40924 &_swigt__p_wxTGAHandler
,
40925 &_swigt__p_wxTIFFHandler
,
40926 &_swigt__p_wxUpdateUIEvent
,
40927 &_swigt__p_wxValidator
,
40928 &_swigt__p_wxWindow
,
40929 &_swigt__p_wxWindowCreateEvent
,
40930 &_swigt__p_wxWindowDC
,
40931 &_swigt__p_wxWindowDestroyEvent
,
40932 &_swigt__p_wxXPMHandler
,
40935 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40936 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40937 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40938 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40939 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40940 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40941 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40942 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40943 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40944 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40945 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40946 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40947 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40948 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40949 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40950 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}};
40951 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40952 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40953 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}};
40954 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40955 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40956 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40957 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40958 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}};
40959 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40960 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40961 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40962 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40963 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40964 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40965 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40966 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40967 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40968 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40969 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40970 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40971 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40972 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}};
40973 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}};
40974 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40975 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40976 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40977 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40978 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}};
40979 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40980 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40981 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40982 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40983 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40984 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40985 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40986 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40987 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40988 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40989 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}};
40990 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40991 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}};
40992 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40993 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40994 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40995 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40996 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40997 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40998 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40999 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41000 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41001 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41002 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41003 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41004 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41005 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41006 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41007 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41008 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41009 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41010 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41011 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41012 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41013 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41014 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41015 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41016 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41018 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41019 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41020 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41021 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41022 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41023 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41024 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41025 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41026 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41027 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41028 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41029 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41030 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41031 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41032 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41033 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41034 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41035 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41036 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41037 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41038 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41039 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41046 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41047 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41048 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41049 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41050 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41051 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41052 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41053 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41054 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41065 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41069 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41070 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41076 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}};
41077 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41083 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}};
41084 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41104 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}};
41105 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}};
41107 static swig_cast_info
*swig_cast_initial
[] = {
41111 _swigc__p_form_ops_t
,
41113 _swigc__p_unsigned_char
,
41114 _swigc__p_unsigned_int
,
41115 _swigc__p_unsigned_long
,
41117 _swigc__p_wxANIHandler
,
41118 _swigc__p_wxAcceleratorTable
,
41119 _swigc__p_wxActivateEvent
,
41120 _swigc__p_wxAlphaPixelData
,
41121 _swigc__p_wxAlphaPixelData_Accessor
,
41122 _swigc__p_wxAutoBufferedPaintDC
,
41123 _swigc__p_wxBMPHandler
,
41124 _swigc__p_wxBitmap
,
41125 _swigc__p_wxBoxSizer
,
41127 _swigc__p_wxBrushList
,
41128 _swigc__p_wxBufferedDC
,
41129 _swigc__p_wxBufferedPaintDC
,
41130 _swigc__p_wxCURHandler
,
41132 _swigc__p_wxChildFocusEvent
,
41133 _swigc__p_wxClientDC
,
41134 _swigc__p_wxClipboardTextEvent
,
41135 _swigc__p_wxCloseEvent
,
41137 _swigc__p_wxColour
,
41138 _swigc__p_wxColourDatabase
,
41139 _swigc__p_wxCommandEvent
,
41140 _swigc__p_wxContextMenuEvent
,
41141 _swigc__p_wxControl
,
41142 _swigc__p_wxControlWithItems
,
41143 _swigc__p_wxCursor
,
41145 _swigc__p_wxDCBrushChanger
,
41146 _swigc__p_wxDCClipper
,
41147 _swigc__p_wxDCOverlay
,
41148 _swigc__p_wxDCPenChanger
,
41149 _swigc__p_wxDCTextColourChanger
,
41151 _swigc__p_wxDateEvent
,
41152 _swigc__p_wxDisplayChangedEvent
,
41153 _swigc__p_wxDropFilesEvent
,
41154 _swigc__p_wxDuplexMode
,
41155 _swigc__p_wxEffects
,
41156 _swigc__p_wxEncodingConverter
,
41157 _swigc__p_wxEraseEvent
,
41159 _swigc__p_wxEvtHandler
,
41160 _swigc__p_wxFSFile
,
41161 _swigc__p_wxFileSystem
,
41162 _swigc__p_wxFlexGridSizer
,
41163 _swigc__p_wxFocusEvent
,
41165 _swigc__p_wxFontList
,
41166 _swigc__p_wxFontMapper
,
41167 _swigc__p_wxGBSizerItem
,
41169 _swigc__p_wxGDIObjListBase
,
41170 _swigc__p_wxGDIObject
,
41171 _swigc__p_wxGIFHandler
,
41172 _swigc__p_wxGraphicsBrush
,
41173 _swigc__p_wxGraphicsContext
,
41174 _swigc__p_wxGraphicsFont
,
41175 _swigc__p_wxGraphicsMatrix
,
41176 _swigc__p_wxGraphicsObject
,
41177 _swigc__p_wxGraphicsPath
,
41178 _swigc__p_wxGraphicsPen
,
41179 _swigc__p_wxGraphicsRenderer
,
41180 _swigc__p_wxGridBagSizer
,
41181 _swigc__p_wxGridSizer
,
41182 _swigc__p_wxHeaderButtonParams
,
41183 _swigc__p_wxICOHandler
,
41185 _swigc__p_wxIconBundle
,
41186 _swigc__p_wxIconLocation
,
41187 _swigc__p_wxIconizeEvent
,
41188 _swigc__p_wxIdleEvent
,
41190 _swigc__p_wxImageHandler
,
41191 _swigc__p_wxImageList
,
41192 _swigc__p_wxIndividualLayoutConstraint
,
41193 _swigc__p_wxInitDialogEvent
,
41194 _swigc__p_wxJPEGHandler
,
41195 _swigc__p_wxKeyEvent
,
41196 _swigc__p_wxLanguageInfo
,
41197 _swigc__p_wxLayoutConstraints
,
41198 _swigc__p_wxLocale
,
41200 _swigc__p_wxMaximizeEvent
,
41201 _swigc__p_wxMemoryDC
,
41203 _swigc__p_wxMenuBar
,
41204 _swigc__p_wxMenuEvent
,
41205 _swigc__p_wxMenuItem
,
41206 _swigc__p_wxMetaFile
,
41207 _swigc__p_wxMetaFileDC
,
41208 _swigc__p_wxMirrorDC
,
41209 _swigc__p_wxMouseCaptureChangedEvent
,
41210 _swigc__p_wxMouseCaptureLostEvent
,
41211 _swigc__p_wxMouseEvent
,
41212 _swigc__p_wxMoveEvent
,
41213 _swigc__p_wxNativeEncodingInfo
,
41214 _swigc__p_wxNativeFontInfo
,
41215 _swigc__p_wxNativePixelData
,
41216 _swigc__p_wxNativePixelData_Accessor
,
41217 _swigc__p_wxNavigationKeyEvent
,
41218 _swigc__p_wxNcPaintEvent
,
41219 _swigc__p_wxNotifyEvent
,
41220 _swigc__p_wxObject
,
41221 _swigc__p_wxOverlay
,
41222 _swigc__p_wxPCXHandler
,
41223 _swigc__p_wxPNGHandler
,
41224 _swigc__p_wxPNMHandler
,
41225 _swigc__p_wxPaintDC
,
41226 _swigc__p_wxPaintEvent
,
41227 _swigc__p_wxPalette
,
41228 _swigc__p_wxPaletteChangedEvent
,
41229 _swigc__p_wxPaperSize
,
41231 _swigc__p_wxPenList
,
41232 _swigc__p_wxPixelDataBase
,
41234 _swigc__p_wxPoint2D
,
41235 _swigc__p_wxPoint2DDouble
,
41236 _swigc__p_wxPostScriptDC
,
41237 _swigc__p_wxPrintData
,
41238 _swigc__p_wxPrinterDC
,
41239 _swigc__p_wxPseudoDC
,
41241 _swigc__p_wxPyCommandEvent
,
41242 _swigc__p_wxPyEvent
,
41243 _swigc__p_wxPyFontEnumerator
,
41244 _swigc__p_wxPyImageHandler
,
41245 _swigc__p_wxPyLocale
,
41246 _swigc__p_wxPySizer
,
41247 _swigc__p_wxPyValidator
,
41248 _swigc__p_wxQueryNewPaletteEvent
,
41250 _swigc__p_wxRect2DDouble
,
41251 _swigc__p_wxRegion
,
41252 _swigc__p_wxRegionIterator
,
41253 _swigc__p_wxRendererNative
,
41254 _swigc__p_wxRendererVersion
,
41255 _swigc__p_wxScreenDC
,
41256 _swigc__p_wxScrollEvent
,
41257 _swigc__p_wxScrollWinEvent
,
41258 _swigc__p_wxSetCursorEvent
,
41259 _swigc__p_wxShowEvent
,
41261 _swigc__p_wxSizeEvent
,
41263 _swigc__p_wxSizerItem
,
41264 _swigc__p_wxSplitterRenderParams
,
41265 _swigc__p_wxStaticBoxSizer
,
41266 _swigc__p_wxStdDialogButtonSizer
,
41267 _swigc__p_wxStockGDI
,
41268 _swigc__p_wxString
,
41269 _swigc__p_wxSysColourChangedEvent
,
41270 _swigc__p_wxTGAHandler
,
41271 _swigc__p_wxTIFFHandler
,
41272 _swigc__p_wxUpdateUIEvent
,
41273 _swigc__p_wxValidator
,
41274 _swigc__p_wxWindow
,
41275 _swigc__p_wxWindowCreateEvent
,
41276 _swigc__p_wxWindowDC
,
41277 _swigc__p_wxWindowDestroyEvent
,
41278 _swigc__p_wxXPMHandler
,
41282 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41284 static swig_const_info swig_const_table
[] = {
41285 {0, 0, 0, 0.0, 0, 0}};
41290 /* -----------------------------------------------------------------------------
41291 * Type initialization:
41292 * This problem is tough by the requirement that no dynamic
41293 * memory is used. Also, since swig_type_info structures store pointers to
41294 * swig_cast_info structures and swig_cast_info structures store pointers back
41295 * to swig_type_info structures, we need some lookup code at initialization.
41296 * The idea is that swig generates all the structures that are needed.
41297 * The runtime then collects these partially filled structures.
41298 * The SWIG_InitializeModule function takes these initial arrays out of
41299 * swig_module, and does all the lookup, filling in the swig_module.types
41300 * array with the correct data and linking the correct swig_cast_info
41301 * structures together.
41303 * The generated swig_type_info structures are assigned staticly to an initial
41304 * array. We just loop though that array, and handle each type individually.
41305 * First we lookup if this type has been already loaded, and if so, use the
41306 * loaded structure instead of the generated one. Then we have to fill in the
41307 * cast linked list. The cast data is initially stored in something like a
41308 * two-dimensional array. Each row corresponds to a type (there are the same
41309 * number of rows as there are in the swig_type_initial array). Each entry in
41310 * a column is one of the swig_cast_info structures for that type.
41311 * The cast_initial array is actually an array of arrays, because each row has
41312 * a variable number of columns. So to actually build the cast linked list,
41313 * we find the array of casts associated with the type, and loop through it
41314 * adding the casts to the list. The one last trick we need to do is making
41315 * sure the type pointer in the swig_cast_info struct is correct.
41317 * First off, we lookup the cast->type name to see if it is already loaded.
41318 * There are three cases to handle:
41319 * 1) If the cast->type has already been loaded AND the type we are adding
41320 * casting info to has not been loaded (it is in this module), THEN we
41321 * replace the cast->type pointer with the type pointer that has already
41323 * 2) If BOTH types (the one we are adding casting info to, and the
41324 * cast->type) are loaded, THEN the cast info has already been loaded by
41325 * the previous module so we just ignore it.
41326 * 3) Finally, if cast->type has not already been loaded, then we add that
41327 * swig_cast_info to the linked list (because the cast->type) pointer will
41329 * ----------------------------------------------------------------------------- */
41339 #define SWIGRUNTIME_DEBUG
41343 SWIG_InitializeModule(void *clientdata
) {
41345 swig_module_info
*module_head
;
41346 static int init_run
= 0;
41348 clientdata
= clientdata
;
41350 if (init_run
) return;
41353 /* Initialize the swig_module */
41354 swig_module
.type_initial
= swig_type_initial
;
41355 swig_module
.cast_initial
= swig_cast_initial
;
41357 /* Try and load any already created modules */
41358 module_head
= SWIG_GetModule(clientdata
);
41360 swig_module
.next
= module_head
->next
;
41361 module_head
->next
= &swig_module
;
41363 /* This is the first module loaded */
41364 swig_module
.next
= &swig_module
;
41365 SWIG_SetModule(clientdata
, &swig_module
);
41368 /* Now work on filling in swig_module.types */
41369 #ifdef SWIGRUNTIME_DEBUG
41370 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41372 for (i
= 0; i
< swig_module
.size
; ++i
) {
41373 swig_type_info
*type
= 0;
41374 swig_type_info
*ret
;
41375 swig_cast_info
*cast
;
41377 #ifdef SWIGRUNTIME_DEBUG
41378 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41381 /* if there is another module already loaded */
41382 if (swig_module
.next
!= &swig_module
) {
41383 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41386 /* Overwrite clientdata field */
41387 #ifdef SWIGRUNTIME_DEBUG
41388 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41390 if (swig_module
.type_initial
[i
]->clientdata
) {
41391 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41392 #ifdef SWIGRUNTIME_DEBUG
41393 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41397 type
= swig_module
.type_initial
[i
];
41400 /* Insert casting types */
41401 cast
= swig_module
.cast_initial
[i
];
41402 while (cast
->type
) {
41403 /* Don't need to add information already in the list */
41405 #ifdef SWIGRUNTIME_DEBUG
41406 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41408 if (swig_module
.next
!= &swig_module
) {
41409 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41410 #ifdef SWIGRUNTIME_DEBUG
41411 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41415 if (type
== swig_module
.type_initial
[i
]) {
41416 #ifdef SWIGRUNTIME_DEBUG
41417 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41422 /* Check for casting already in the list */
41423 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41424 #ifdef SWIGRUNTIME_DEBUG
41425 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41427 if (!ocast
) ret
= 0;
41432 #ifdef SWIGRUNTIME_DEBUG
41433 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41436 type
->cast
->prev
= cast
;
41437 cast
->next
= type
->cast
;
41443 /* Set entry in modules->types array equal to the type */
41444 swig_module
.types
[i
] = type
;
41446 swig_module
.types
[i
] = 0;
41448 #ifdef SWIGRUNTIME_DEBUG
41449 printf("**** SWIG_InitializeModule: Cast List ******\n");
41450 for (i
= 0; i
< swig_module
.size
; ++i
) {
41452 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41453 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41454 while (cast
->type
) {
41455 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41459 printf("---- Total casts: %d\n",j
);
41461 printf("**** SWIG_InitializeModule: Cast List ******\n");
41465 /* This function will propagate the clientdata field of type to
41466 * any new swig_type_info structures that have been added into the list
41467 * of equivalent types. It is like calling
41468 * SWIG_TypeClientData(type, clientdata) a second time.
41471 SWIG_PropagateClientData(void) {
41473 swig_cast_info
*equiv
;
41474 static int init_run
= 0;
41476 if (init_run
) return;
41479 for (i
= 0; i
< swig_module
.size
; i
++) {
41480 if (swig_module
.types
[i
]->clientdata
) {
41481 equiv
= swig_module
.types
[i
]->cast
;
41483 if (!equiv
->converter
) {
41484 if (equiv
->type
&& !equiv
->type
->clientdata
)
41485 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41487 equiv
= equiv
->next
;
41507 /* Python-specific SWIG API */
41508 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41509 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41510 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41512 /* -----------------------------------------------------------------------------
41513 * global variable support code.
41514 * ----------------------------------------------------------------------------- */
41516 typedef struct swig_globalvar
{
41517 char *name
; /* Name of global variable */
41518 PyObject
*(*get_attr
)(void); /* Return the current value */
41519 int (*set_attr
)(PyObject
*); /* Set the value */
41520 struct swig_globalvar
*next
;
41523 typedef struct swig_varlinkobject
{
41525 swig_globalvar
*vars
;
41526 } swig_varlinkobject
;
41528 SWIGINTERN PyObject
*
41529 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41530 return PyString_FromString("<Swig global variables>");
41533 SWIGINTERN PyObject
*
41534 swig_varlink_str(swig_varlinkobject
*v
) {
41535 PyObject
*str
= PyString_FromString("(");
41536 swig_globalvar
*var
;
41537 for (var
= v
->vars
; var
; var
=var
->next
) {
41538 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41539 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41541 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41546 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41547 PyObject
*str
= swig_varlink_str(v
);
41548 fprintf(fp
,"Swig global variables ");
41549 fprintf(fp
,"%s\n", PyString_AsString(str
));
41555 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41556 swig_globalvar
*var
= v
->vars
;
41558 swig_globalvar
*n
= var
->next
;
41565 SWIGINTERN PyObject
*
41566 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41567 PyObject
*res
= NULL
;
41568 swig_globalvar
*var
= v
->vars
;
41570 if (strcmp(var
->name
,n
) == 0) {
41571 res
= (*var
->get_attr
)();
41576 if (res
== NULL
&& !PyErr_Occurred()) {
41577 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41583 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41585 swig_globalvar
*var
= v
->vars
;
41587 if (strcmp(var
->name
,n
) == 0) {
41588 res
= (*var
->set_attr
)(p
);
41593 if (res
== 1 && !PyErr_Occurred()) {
41594 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41599 SWIGINTERN PyTypeObject
*
41600 swig_varlink_type(void) {
41601 static char varlink__doc__
[] = "Swig var link object";
41602 static PyTypeObject varlink_type
;
41603 static int type_init
= 0;
41605 const PyTypeObject tmp
41607 PyObject_HEAD_INIT(NULL
)
41608 0, /* Number of items in variable part (ob_size) */
41609 (char *)"swigvarlink", /* Type name (tp_name) */
41610 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41611 0, /* Itemsize (tp_itemsize) */
41612 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41613 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41614 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41615 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41616 0, /* tp_compare */
41617 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41618 0, /* tp_as_number */
41619 0, /* tp_as_sequence */
41620 0, /* tp_as_mapping */
41623 (reprfunc
)swig_varlink_str
, /* tp_str */
41624 0, /* tp_getattro */
41625 0, /* tp_setattro */
41626 0, /* tp_as_buffer */
41628 varlink__doc__
, /* tp_doc */
41629 0, /* tp_traverse */
41631 0, /* tp_richcompare */
41632 0, /* tp_weaklistoffset */
41633 #if PY_VERSION_HEX >= 0x02020000
41634 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41636 #if PY_VERSION_HEX >= 0x02030000
41639 #ifdef COUNT_ALLOCS
41640 0,0,0,0 /* tp_alloc -> tp_next */
41643 varlink_type
= tmp
;
41644 varlink_type
.ob_type
= &PyType_Type
;
41647 return &varlink_type
;
41650 /* Create a variable linking object for use later */
41651 SWIGINTERN PyObject
*
41652 SWIG_Python_newvarlink(void) {
41653 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41657 return ((PyObject
*) result
);
41661 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41662 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41663 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41665 size_t size
= strlen(name
)+1;
41666 gv
->name
= (char *)malloc(size
);
41668 strncpy(gv
->name
,name
,size
);
41669 gv
->get_attr
= get_attr
;
41670 gv
->set_attr
= set_attr
;
41671 gv
->next
= v
->vars
;
41677 SWIGINTERN PyObject
*
41679 static PyObject
*_SWIG_globals
= 0;
41680 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41681 return _SWIG_globals
;
41684 /* -----------------------------------------------------------------------------
41685 * constants/methods manipulation
41686 * ----------------------------------------------------------------------------- */
41688 /* Install Constants */
41690 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41693 for (i
= 0; constants
[i
].type
; ++i
) {
41694 switch(constants
[i
].type
) {
41695 case SWIG_PY_POINTER
:
41696 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41698 case SWIG_PY_BINARY
:
41699 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41706 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41712 /* -----------------------------------------------------------------------------*/
41713 /* Fix SwigMethods to carry the callback ptrs when needed */
41714 /* -----------------------------------------------------------------------------*/
41717 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41718 swig_const_info
*const_table
,
41719 swig_type_info
**types
,
41720 swig_type_info
**types_initial
) {
41722 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41723 const char *c
= methods
[i
].ml_doc
;
41724 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41726 swig_const_info
*ci
= 0;
41727 const char *name
= c
+ 10;
41728 for (j
= 0; const_table
[j
].type
; ++j
) {
41729 if (strncmp(const_table
[j
].name
, name
,
41730 strlen(const_table
[j
].name
)) == 0) {
41731 ci
= &(const_table
[j
]);
41736 size_t shift
= (ci
->ptype
) - types
;
41737 swig_type_info
*ty
= types_initial
[shift
];
41738 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41739 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41740 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41743 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41745 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41747 strncpy(buff
, "swig_ptr: ", 10);
41749 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41750 methods
[i
].ml_doc
= ndoc
;
41762 /* -----------------------------------------------------------------------------*
41763 * Partial Init method
41764 * -----------------------------------------------------------------------------*/
41769 SWIGEXPORT
void SWIG_init(void) {
41772 /* Fix SwigMethods to carry the callback ptrs when needed */
41773 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41775 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41776 d
= PyModule_GetDict(m
);
41778 SWIG_InitializeModule(0);
41779 SWIG_InstallConstants(d
,swig_const_table
);
41782 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41783 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41784 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41785 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41786 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41787 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41788 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41789 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41790 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41791 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41792 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41793 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41794 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41795 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41796 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41797 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41798 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41799 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41800 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41801 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41802 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41803 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41804 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41805 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41806 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41807 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41808 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41809 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41810 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41811 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41812 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41813 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41814 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41815 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41816 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41817 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41818 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41819 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41820 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41821 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41822 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41823 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41824 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41825 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41826 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41827 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41828 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41829 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41830 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41831 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41832 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41833 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41834 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41835 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41836 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41837 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41838 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41839 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41840 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41841 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41842 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41843 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41844 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41845 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41846 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41847 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41848 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41849 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41850 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41851 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41852 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41853 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41854 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41855 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41856 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41857 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41858 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41859 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41860 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41861 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41862 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41863 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41864 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41877 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41878 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41879 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41880 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41881 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41882 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41883 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41884 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41885 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41886 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41887 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41888 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41889 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41892 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41893 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41894 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41895 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41896 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41897 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41900 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41907 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41908 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41909 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41910 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41911 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41912 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41913 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41915 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41917 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41918 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41919 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41920 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41921 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41922 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41923 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41924 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41925 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41926 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41927 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41928 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41929 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41930 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41931 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41932 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41933 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41934 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41935 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41936 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41937 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41938 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41939 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41940 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41941 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41942 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41943 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41944 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41945 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41946 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41947 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41948 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41949 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41950 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41951 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41952 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41953 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41954 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41955 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41956 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41957 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41958 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41959 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41960 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41961 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41962 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41963 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41964 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41965 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41966 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41967 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41968 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41969 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41970 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41971 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41972 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41973 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41974 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41975 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41976 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41977 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41978 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41979 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41980 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41981 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41982 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41983 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41984 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41985 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41986 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41987 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41988 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41989 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41990 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41991 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41992 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41993 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41994 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42027 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42028 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42029 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42030 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42031 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42032 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42033 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42034 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42035 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42036 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42037 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42038 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42039 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42040 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42041 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42042 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42043 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42044 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42045 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42046 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42047 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42048 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42049 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42050 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42051 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42052 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42053 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42054 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42055 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42056 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42057 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42058 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42059 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42060 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42061 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42062 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42063 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42064 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42065 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42066 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42067 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42068 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42069 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42070 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42071 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42072 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42073 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42074 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42075 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42076 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42077 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42078 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42079 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42080 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42081 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42082 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42083 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42084 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42085 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42086 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42087 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42088 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42089 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42090 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42091 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42092 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42093 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42094 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42095 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42096 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42097 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42098 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42099 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42100 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42101 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42102 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42103 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42104 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42105 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42106 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42107 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42108 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42109 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42110 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42111 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42112 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42113 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42114 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42115 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42116 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42117 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42118 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42119 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42120 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42121 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42122 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42123 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42124 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42125 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42126 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42127 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42128 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42129 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42130 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42131 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42132 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42133 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42134 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42135 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42136 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42137 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42138 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42139 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42140 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42141 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42142 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42143 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42144 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42145 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42146 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42147 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42148 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42149 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42150 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42151 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42152 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42153 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42154 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42155 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42156 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42157 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42158 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42159 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42160 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42161 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42162 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42163 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42164 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42165 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42166 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42167 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42168 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42169 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42170 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42171 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42172 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42173 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42174 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42175 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42176 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42177 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42178 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42179 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42180 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42181 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42182 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42183 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42184 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42185 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42186 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42187 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42188 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42189 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42190 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42191 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42192 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42193 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42194 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42195 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42196 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42197 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42198 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42199 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42200 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42201 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42202 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42203 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42204 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42205 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42206 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42207 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42208 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42209 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42210 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42211 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42212 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42213 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42214 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42215 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42216 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42217 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42218 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42219 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42220 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42221 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42222 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42223 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42224 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42225 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42226 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42227 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42228 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42229 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42230 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42231 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42232 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42233 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42234 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42235 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42236 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42237 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42238 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42239 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42240 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42242 // Work around a chicken/egg problem in drawlist.cpp
42243 wxPyDrawList_SetAPIPtr();