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_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxColourDatabase swig_types[27]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[28]
2495 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2496 #define SWIGTYPE_p_wxControl swig_types[30]
2497 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2498 #define SWIGTYPE_p_wxCursor swig_types[32]
2499 #define SWIGTYPE_p_wxDC swig_types[33]
2500 #define SWIGTYPE_p_wxDash swig_types[34]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[35]
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505 #define SWIGTYPE_p_wxEffects swig_types[39]
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508 #define SWIGTYPE_p_wxEvent swig_types[42]
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFSFile swig_types[44]
2511 #define SWIGTYPE_p_wxFileSystem swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontList swig_types[49]
2516 #define SWIGTYPE_p_wxFontMapper swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGDIObjListBase swig_types[52]
2519 #define SWIGTYPE_p_wxGDIObject swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxICOHandler swig_types[57]
2524 #define SWIGTYPE_p_wxIcon swig_types[58]
2525 #define SWIGTYPE_p_wxIconBundle swig_types[59]
2526 #define SWIGTYPE_p_wxIconLocation swig_types[60]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[61]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[62]
2529 #define SWIGTYPE_p_wxImage swig_types[63]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[64]
2531 #define SWIGTYPE_p_wxImageList swig_types[65]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[66]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[67]
2534 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
2536 #define SWIGTYPE_p_wxLanguageInfo swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxLocale swig_types[72]
2539 #define SWIGTYPE_p_wxMask swig_types[73]
2540 #define SWIGTYPE_p_wxMaximizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMemoryDC swig_types[75]
2542 #define SWIGTYPE_p_wxMenu swig_types[76]
2543 #define SWIGTYPE_p_wxMenuBar swig_types[77]
2544 #define SWIGTYPE_p_wxMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMenuItem swig_types[79]
2546 #define SWIGTYPE_p_wxMetaFile swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFileDC swig_types[81]
2548 #define SWIGTYPE_p_wxMirrorDC swig_types[82]
2549 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMoveEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[87]
2554 #define SWIGTYPE_p_wxNativeFontInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativePixelData swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[90]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[93]
2560 #define SWIGTYPE_p_wxObject swig_types[94]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[95]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPaintDC swig_types[98]
2565 #define SWIGTYPE_p_wxPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPalette swig_types[100]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[102]
2569 #define SWIGTYPE_p_wxPen swig_types[103]
2570 #define SWIGTYPE_p_wxPenList swig_types[104]
2571 #define SWIGTYPE_p_wxPixelDataBase swig_types[105]
2572 #define SWIGTYPE_p_wxPoint swig_types[106]
2573 #define SWIGTYPE_p_wxPostScriptDC swig_types[107]
2574 #define SWIGTYPE_p_wxPrintData swig_types[108]
2575 #define SWIGTYPE_p_wxPrinterDC swig_types[109]
2576 #define SWIGTYPE_p_wxPseudoDC swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[114]
2581 #define SWIGTYPE_p_wxPyImageHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPyLocale swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119]
2586 #define SWIGTYPE_p_wxRect swig_types[120]
2587 #define SWIGTYPE_p_wxRegion swig_types[121]
2588 #define SWIGTYPE_p_wxRegionIterator swig_types[122]
2589 #define SWIGTYPE_p_wxRendererNative swig_types[123]
2590 #define SWIGTYPE_p_wxRendererVersion swig_types[124]
2591 #define SWIGTYPE_p_wxScreenDC swig_types[125]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[126]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSize swig_types[130]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSizer swig_types[132]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[133]
2600 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[134]
2601 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2602 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStockGDI swig_types[137]
2604 #define SWIGTYPE_p_wxString swig_types[138]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[139]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[140]
2607 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[141]
2608 #define SWIGTYPE_p_wxValidator swig_types[142]
2609 #define SWIGTYPE_p_wxWindow swig_types[143]
2610 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[144]
2611 #define SWIGTYPE_p_wxWindowDC swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[146]
2613 #define SWIGTYPE_p_wxXPMHandler swig_types[147]
2614 static swig_type_info
*swig_types
[149];
2615 static swig_module_info swig_module
= {swig_types
, 148, 0, 0, 0, 0};
2616 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2617 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2619 /* -------- TYPES TABLE (END) -------- */
2621 #if (PY_VERSION_HEX <= 0x02000000)
2622 # if !defined(SWIG_PYTHON_CLASSIC)
2623 # error "This python version requires to use swig with the '-classic' option"
2626 #if (PY_VERSION_HEX <= 0x02020000)
2627 # error "This python version requires to use swig with the '-nomodern' option"
2629 #if (PY_VERSION_HEX <= 0x02020000)
2630 # error "This python version requires to use swig with the '-nomodernargs' option"
2633 # error "This python version requires to use swig with the '-nofastunpack' option"
2636 /*-----------------------------------------------
2637 @(target):= _gdi_.so
2638 ------------------------------------------------*/
2639 #define SWIG_init init_gdi_
2641 #define SWIG_name "_gdi_"
2643 #define SWIGVERSION 0x010329
2646 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2647 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2650 #include <stdexcept>
2654 class PyObject_ptr
{
2659 PyObject_ptr() :_obj(0)
2663 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2668 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2670 if (initial_ref
) Py_XINCREF(_obj
);
2673 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2675 Py_XINCREF(item
._obj
);
2686 operator PyObject
*() const
2691 PyObject
*operator->() const
2700 struct PyObject_var
: PyObject_ptr
{
2701 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2703 PyObject_var
& operator = (PyObject
* obj
)
2713 #include "wx/wxPython/wxPython.h"
2714 #include "wx/wxPython/pyclasses.h"
2717 static const wxString
wxPyEmptyString(wxEmptyString
);
2719 #define SWIG_From_long PyInt_FromLong
2722 SWIGINTERNINLINE PyObject
*
2723 SWIG_From_int (int value
)
2725 return SWIG_From_long (value
);
2731 # define LLONG_MIN LONG_LONG_MIN
2734 # define LLONG_MAX LONG_LONG_MAX
2737 # define ULLONG_MAX ULONG_LONG_MAX
2742 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2744 if (PyNumber_Check(obj
)) {
2745 if (val
) *val
= PyInt_AsLong(obj
);
2748 return SWIG_TypeError
;
2753 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2756 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2757 return SWIG_TypeError
;
2760 *val
= (unsigned long)v
;
2766 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2769 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2770 if (SWIG_IsOK(res
)) {
2771 if ((v
> UCHAR_MAX
)) {
2772 return SWIG_OverflowError
;
2774 if (val
) *val
= static_cast< unsigned char >(v
);
2781 SWIGINTERNINLINE PyObject
*
2782 SWIG_From_unsigned_SS_long (unsigned long value
)
2784 return (value
> LONG_MAX
) ?
2785 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_char (unsigned char value
)
2792 return SWIG_From_unsigned_SS_long (value
);
2795 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return false;
2798 if ( ! wxColour_helper(other
, &obj
) ) {
2802 return self
->operator==(*obj
);
2804 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return true;
2807 if ( ! wxColour_helper(other
, &obj
)) {
2811 return self
->operator!=(*obj
);
2815 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2817 if (obj
== Py_True
) {
2818 if (val
) *val
= true;
2820 } else if (obj
== Py_False
) {
2821 if (val
) *val
= false;
2825 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2826 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2831 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2832 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2836 int alpha
= wxALPHA_OPAQUE
;
2839 green
= self
->Green();
2840 blue
= self
->Blue();
2841 alpha
= self
->Alpha();
2843 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2844 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2845 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2847 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2850 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2851 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2855 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2858 int res
= SWIG_AsVal_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< int >(v
);
2869 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2871 int count
= self
->GetDashes(&dashes
);
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2873 PyObject
* retval
= PyList_New(0);
2874 for (int x
=0; x
<count
; x
++) {
2875 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2876 PyList_Append(retval
, pyint
);
2879 wxPyEndBlockThreads(blocked
);
2882 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 int size
= PyList_Size(pyDashes
);
2885 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2887 // black magic warning! The array of wxDashes needs to exist as
2888 // long as the pen does because wxPen does not copy the array. So
2889 // stick a copy in a Python string object and attach it to _self,
2890 // and then call SetDashes with a pointer to that array. Then
2891 // when the Python pen object is destroyed the array will be
2893 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2894 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2896 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2898 Py_DECREF(strDashes
);
2899 wxPyEndBlockThreads(blocked
);
2901 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2902 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_short (short value
)
2907 return SWIG_From_long (value
);
2912 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2915 int res
= SWIG_AsVal_long (obj
, &v
);
2916 if (SWIG_IsOK(res
)) {
2917 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2918 return SWIG_OverflowError
;
2920 if (val
) *val
= static_cast< short >(v
);
2927 #include <wx/rawbmp.h>
2930 #include <wx/image.h>
2932 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2933 char** cArray
= NULL
;
2936 if (!PyList_Check(listOfStrings
)) {
2937 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2940 count
= PyList_Size(listOfStrings
);
2941 cArray
= new char*[count
];
2943 for(int x
=0; x
<count
; x
++) {
2944 // TODO: Need some validation and error checking here
2945 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2951 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2952 char** cArray
= NULL
;
2955 cArray
= ConvertListOfStrings(listOfStrings
);
2958 bmp
= new wxBitmap(cArray
);
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2965 PyString_AsStringAndSize(bits
, &buf
, &length
);
2966 return new wxBitmap(buf
, width
, height
, depth
);
2968 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2969 wxSize
size(self
->GetWidth(), self
->GetHeight());
2972 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2973 wxMask
*mask
= new wxMask(*self
, colour
);
2974 self
->SetMask(mask
);
2976 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2977 self
->SetWidth(size
.x
);
2978 self
->SetHeight(size
.y
);
2980 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2981 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2983 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2984 // appears to me that the other platforms are already doing it, so I'll just
2985 // automatically do it for wxMSW here.
2987 #define wxPy_premultiply(p, a) ((p) * (a) / 256)
2988 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 256 / (a)) : (p))
2990 #define wxPy_premultiply(p, a) (p)
2991 #define wxPy_unpremultiply(p, a) (p)
2995 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2996 buffer data
, int DATASIZE
,
2997 buffer alpha
, int ALPHASIZE
)
2999 if (DATASIZE
!= width
*height
*3) {
3000 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3004 if (ALPHASIZE
!= width
*height
) {
3005 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3009 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3010 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3012 // raise an exception...
3013 wxPyErr_SetString(PyExc_RuntimeError
,
3014 "Failed to gain raw access to bitmap data.");
3019 wxAlphaPixelData::Iterator
p(pixData
);
3020 for (int y
=0; y
<height
; y
++) {
3021 wxAlphaPixelData::Iterator rowStart
= p
;
3022 for (int x
=0; x
<width
; x
++) {
3023 byte a
= *(alpha
++);
3024 p
.Red() = wxPy_premultiply(*(data
++), a
);
3025 p
.Green() = wxPy_premultiply(*(data
++), a
);
3026 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3031 p
.OffsetY(pixData
, 1);
3036 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3038 if (DATASIZE
!= width
*height
*3) {
3039 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3043 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3044 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3046 // raise an exception...
3047 wxPyErr_SetString(PyExc_RuntimeError
,
3048 "Failed to gain raw access to bitmap data.");
3052 wxNativePixelData::Iterator
p(pixData
);
3053 for (int y
=0; y
<height
; y
++) {
3054 wxNativePixelData::Iterator rowStart
= p
;
3055 for (int x
=0; x
<width
; x
++) {
3056 p
.Red() = *(data
++);
3057 p
.Green() = *(data
++);
3058 p
.Blue() = *(data
++);
3062 p
.OffsetY(pixData
, 1);
3068 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3070 if (DATASIZE
!= width
*height
*4) {
3071 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3075 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3076 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3078 // raise an exception...
3079 wxPyErr_SetString(PyExc_RuntimeError
,
3080 "Failed to gain raw access to bitmap data.");
3085 wxAlphaPixelData::Iterator
p(pixData
);
3086 for (int y
=0; y
<height
; y
++) {
3087 wxAlphaPixelData::Iterator rowStart
= p
;
3088 for (int x
=0; x
<width
; x
++) {
3090 p
.Red() = wxPy_premultiply(*(data
++), a
);
3091 p
.Green() = wxPy_premultiply(*(data
++), a
);
3092 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3093 p
.Alpha() = a
; data
++;
3097 p
.OffsetY(pixData
, 1);
3103 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3105 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3106 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3107 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3109 self
->Green() = green
;
3110 self
->Blue() = blue
;
3112 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3113 PyObject
* rv
= PyTuple_New(3);
3114 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3115 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3116 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3120 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3122 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3123 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3124 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3125 self
->Red() = wxPy_premultiply(red
, alpha
);
3126 self
->Green() = wxPy_premultiply(green
, alpha
);
3127 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3128 self
->Alpha() = alpha
;
3130 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3131 PyObject
* rv
= PyTuple_New(4);
3132 int red
= self
->Red();
3133 int green
= self
->Green();
3134 int blue
= self
->Blue();
3135 int alpha
= self
->Alpha();
3137 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3138 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3139 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3140 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3143 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3145 return new wxMask(bitmap
, *wxBLACK
);
3147 return new wxMask(bitmap
, colour
);
3150 #include <wx/iconbndl.h>
3152 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3153 wxIcon
* icon
= new wxIcon();
3154 icon
->CopyFromBitmap(bmp
);
3157 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3158 char** cArray
= NULL
;
3161 cArray
= ConvertListOfStrings(listOfStrings
);
3164 icon
= new wxIcon(cArray
);
3168 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3172 return new wxIconLocation(*filename
);
3175 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3182 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3189 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3191 wxImage
img(cursorName
, type
);
3192 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3193 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3194 return new wxCursor(img
);
3196 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3201 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3204 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3205 return self
->operator bool();
3208 #include <wx/fontutil.h>
3209 #include <wx/fontmap.h>
3210 #include <wx/fontenum.h>
3212 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3213 return self
->ToString();
3216 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3217 static wxNativeEncodingInfo info
;
3218 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3225 SWIGINTERNINLINE PyObject
*
3226 SWIG_From_size_t (size_t value
)
3228 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3232 SWIGINTERNINLINE
int
3233 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3236 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3237 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3241 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3242 wxFontEncoding alt_enc
;
3243 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3244 return PyInt_FromLong(alt_enc
);
3250 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3251 wxNativeFontInfo nfi
;
3252 nfi
.FromString(info
);
3253 return new wxFont(nfi
);
3255 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3256 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3258 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3259 return wxFontBase::New(pixelSize
, family
,
3260 style
, weight
, underlined
,
3263 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3264 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3266 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3267 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3269 class wxPyFontEnumerator
: public wxFontEnumerator
{
3271 wxPyFontEnumerator() {}
3272 ~wxPyFontEnumerator() {}
3274 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3275 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3280 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3281 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3284 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3286 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 ret
= wxArrayString2PyList_helper(arr
);
3289 wxPyEndBlockThreads(blocked
);
3292 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3294 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 ret
= wxArrayString2PyList_helper(arr
);
3297 wxPyEndBlockThreads(blocked
);
3303 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3306 loc
= new wxLocale();
3308 loc
= new wxLocale(language
, flags
);
3309 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3310 // for the floating point conversions and such to work right.
3311 #if PY_VERSION_HEX < 0x02040000
3312 setlocale(LC_NUMERIC
, "C");
3316 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3317 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3318 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3319 // for the floating point conversions and such to work right.
3320 #if PY_VERSION_HEX < 0x02040000
3321 setlocale(LC_NUMERIC
, "C");
3325 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3326 bool rc
= self
->Init(language
, flags
);
3327 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3328 // for the floating point conversions and such to work right.
3329 #if PY_VERSION_HEX < 0x02040000
3330 setlocale(LC_NUMERIC
, "C");
3335 class wxPyLocale
: public wxLocale
3340 wxPyLocale(const wxChar
*szName
, // name (for messages)
3341 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3342 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3343 bool bLoadDefault
= true, // preload wxstd.mo?
3344 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3346 wxPyLocale(int language
, // wxLanguage id or custom language
3347 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3351 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3352 const wxChar
*szDomain
= NULL
) const;
3353 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3354 const wxChar
*szOrigString2
, size_t n
,
3355 const wxChar
*szDomain
= NULL
) const;
3357 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3358 const wxChar
*szDomain
= NULL
) const;
3359 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3360 const wxChar
*szOrigString2
, size_t n
,
3361 const wxChar
*szDomain
= NULL
) const;
3365 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3368 wxPyLocale::wxPyLocale() : wxLocale()
3372 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3373 const wxChar
*szShort
, // dir prefix (for msg files)
3374 const wxChar
*szLocale
, // locale (for setlocale)
3375 bool bLoadDefault
, // preload wxstd.mo?
3376 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3377 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3381 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3382 int flags
) : wxLocale(language
, flags
)
3386 wxPyLocale::~wxPyLocale()
3390 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3391 const wxChar
*szDomain
) const
3393 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3394 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3397 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3398 const wxChar
*szOrigString2
, size_t n
,
3399 const wxChar
*szDomain
) const
3401 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3402 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3405 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3406 const wxChar
*szDomain
) const
3409 static wxString str
;
3410 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.
3411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3412 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3413 PyObject
* param1
= wx2PyString(szOrigString
);
3414 PyObject
* param2
= wx2PyString(szDomain
);
3415 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3419 str
= Py2wxString(ret
);
3423 wxPyEndBlockThreads(blocked
);
3424 return (found
? (wxChar
*)str
.c_str() : NULL
);
3427 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3428 const wxChar
*szOrigString2
, size_t n
,
3429 const wxChar
*szDomain
) const
3432 static wxString str
;
3433 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.
3434 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3435 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3436 PyObject
* param1
= wx2PyString(szOrigString
);
3437 PyObject
* param2
= wx2PyString(szOrigString2
);
3438 PyObject
* param4
= wx2PyString(szDomain
);
3439 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3444 str
= Py2wxString(ret
);
3448 wxPyEndBlockThreads(blocked
);
3449 return (found
? (wxChar
*)str
.c_str() : NULL
);
3452 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3455 loc
= new wxPyLocale();
3457 loc
= new wxPyLocale(language
, flags
);
3458 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3459 // for the floating point conversions and such to work right.
3460 #if PY_VERSION_HEX < 0x02040000
3461 setlocale(LC_NUMERIC
, "C");
3466 #include "wx/wxPython/pydrawxxx.h"
3468 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3470 self
->GetPixel(x
, y
, &col
);
3473 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3475 self
->GetPixel(pt
, &col
);
3480 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3482 if (PyNumber_Check(obj
)) {
3483 if (val
) *val
= PyFloat_AsDouble(obj
);
3486 return SWIG_TypeError
;
3489 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3491 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3494 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3496 self
->GetClippingBox(rect
);
3499 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3501 self
->GetPartialTextExtents(text
, widths
);
3505 #define SWIG_From_double PyFloat_FromDouble
3507 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3508 self
->SetLogicalOrigin(point
.x
, point
.y
);
3510 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3511 self
->SetDeviceOrigin(point
.x
, point
.y
);
3513 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3514 self
->CalcBoundingBox(point
.x
, point
.y
);
3516 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3517 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3519 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3520 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3522 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3523 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3525 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3526 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3528 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3529 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3531 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3532 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3535 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3543 #include <wx/dcbuffer.h>
3546 #include <wx/dcps.h>
3549 #include <wx/metafile.h>
3553 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3554 self
->AddColour(name
, wxColour(red
, green
, blue
));
3557 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3558 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3559 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3560 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3563 #include <wx/effects.h>
3566 #include "wx/renderer.h"
3569 SWIGINTERNINLINE PyObject
*
3570 SWIG_From_bool (bool value
)
3572 return PyBool_FromLong(value
? 1 : 0);
3576 #include "wx/wxPython/pseudodc.h"
3578 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3580 self
->GetIdBounds(id
, rect
);
3586 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3587 PyObject
*resultobj
= 0;
3588 wxGDIObject
*result
= 0 ;
3590 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3592 if (!wxPyCheckForApp()) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (wxGDIObject
*)new wxGDIObject();
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3605 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3606 PyObject
*resultobj
= 0;
3607 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3610 PyObject
*swig_obj
[1] ;
3612 if (!args
) SWIG_fail
;
3614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3615 if (!SWIG_IsOK(res1
)) {
3616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3618 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= SWIG_Py_Void();
3633 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3634 PyObject
*resultobj
= 0;
3635 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3639 PyObject
*swig_obj
[1] ;
3641 if (!args
) SWIG_fail
;
3643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3644 if (!SWIG_IsOK(res1
)) {
3645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3647 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->IsNull();
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3663 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3666 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3667 return SWIG_Py_Void();
3670 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3671 return SWIG_Python_InitShadowInstance(args
);
3674 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
= 0;
3676 byte arg1
= (byte
) 0 ;
3677 byte arg2
= (byte
) 0 ;
3678 byte arg3
= (byte
) 0 ;
3679 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3680 wxColour
*result
= 0 ;
3681 unsigned char val1
;
3683 unsigned char val2
;
3685 unsigned char val3
;
3687 unsigned char val4
;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3691 PyObject
* obj2
= 0 ;
3692 PyObject
* obj3
= 0 ;
3693 char * kwnames
[] = {
3694 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3699 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3700 if (!SWIG_IsOK(ecode1
)) {
3701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3703 arg1
= static_cast< byte
>(val1
);
3706 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3707 if (!SWIG_IsOK(ecode2
)) {
3708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3710 arg2
= static_cast< byte
>(val2
);
3713 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3714 if (!SWIG_IsOK(ecode3
)) {
3715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3717 arg3
= static_cast< byte
>(val3
);
3720 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3721 if (!SWIG_IsOK(ecode4
)) {
3722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3724 arg4
= static_cast< byte
>(val4
);
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3739 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
= 0;
3741 wxString
*arg1
= 0 ;
3742 wxColour
*result
= 0 ;
3743 bool temp1
= false ;
3744 PyObject
* obj0
= 0 ;
3745 char * kwnames
[] = {
3746 (char *) "colorName", NULL
3749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3751 arg1
= wxString_in_helper(obj0
);
3752 if (arg1
== NULL
) SWIG_fail
;
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3777 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
= 0;
3779 unsigned long arg1
;
3780 wxColour
*result
= 0 ;
3781 unsigned long val1
;
3783 PyObject
* obj0
= 0 ;
3784 char * kwnames
[] = {
3785 (char *) "colRGB", NULL
3788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3789 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3790 if (!SWIG_IsOK(ecode1
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3793 arg1
= static_cast< unsigned long >(val1
);
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= (wxColour
*)new wxColour(arg1
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3807 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3808 PyObject
*resultobj
= 0;
3809 wxColour
*arg1
= (wxColour
*) 0 ;
3812 PyObject
*swig_obj
[1] ;
3814 if (!args
) SWIG_fail
;
3816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3817 if (!SWIG_IsOK(res1
)) {
3818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3820 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_Py_Void();
3835 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3836 PyObject
*resultobj
= 0;
3837 wxColour
*arg1
= (wxColour
*) 0 ;
3841 PyObject
*swig_obj
[1] ;
3843 if (!args
) SWIG_fail
;
3845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3846 if (!SWIG_IsOK(res1
)) {
3847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3849 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (byte
)(arg1
)->Red();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3863 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxColour
*arg1
= (wxColour
*) 0 ;
3869 PyObject
*swig_obj
[1] ;
3871 if (!args
) SWIG_fail
;
3873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3874 if (!SWIG_IsOK(res1
)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3877 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (byte
)(arg1
)->Green();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3891 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3892 PyObject
*resultobj
= 0;
3893 wxColour
*arg1
= (wxColour
*) 0 ;
3897 PyObject
*swig_obj
[1] ;
3899 if (!args
) SWIG_fail
;
3901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3902 if (!SWIG_IsOK(res1
)) {
3903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3905 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (byte
)(arg1
)->Blue();
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3919 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3920 PyObject
*resultobj
= 0;
3921 wxColour
*arg1
= (wxColour
*) 0 ;
3925 PyObject
*swig_obj
[1] ;
3927 if (!args
) SWIG_fail
;
3929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3930 if (!SWIG_IsOK(res1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3933 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (byte
)(arg1
)->Alpha();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3947 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3948 PyObject
*resultobj
= 0;
3949 wxColour
*arg1
= (wxColour
*) 0 ;
3953 PyObject
*swig_obj
[1] ;
3955 if (!args
) SWIG_fail
;
3957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3958 if (!SWIG_IsOK(res1
)) {
3959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3961 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (bool)(arg1
)->Ok();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3977 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
= 0;
3979 wxColour
*arg1
= (wxColour
*) 0 ;
3983 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3986 unsigned char val2
;
3988 unsigned char val3
;
3990 unsigned char val4
;
3992 unsigned char val5
;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3996 PyObject
* obj2
= 0 ;
3997 PyObject
* obj3
= 0 ;
3998 PyObject
* obj4
= 0 ;
3999 char * kwnames
[] = {
4000 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4005 if (!SWIG_IsOK(res1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4008 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4009 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4010 if (!SWIG_IsOK(ecode2
)) {
4011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4013 arg2
= static_cast< byte
>(val2
);
4014 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4015 if (!SWIG_IsOK(ecode3
)) {
4016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4018 arg3
= static_cast< byte
>(val3
);
4019 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4020 if (!SWIG_IsOK(ecode4
)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4023 arg4
= static_cast< byte
>(val4
);
4025 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4026 if (!SWIG_IsOK(ecode5
)) {
4027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4029 arg5
= static_cast< byte
>(val5
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_Py_Void();
4044 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= 0;
4046 wxColour
*arg1
= (wxColour
*) 0 ;
4047 unsigned long arg2
;
4050 unsigned long val2
;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4054 char * kwnames
[] = {
4055 (char *) "self",(char *) "colRGB", NULL
4058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4063 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4064 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4065 if (!SWIG_IsOK(ecode2
)) {
4066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4068 arg2
= static_cast< unsigned long >(val2
);
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_Py_Void();
4082 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
= 0;
4084 wxColour
*arg1
= (wxColour
*) 0 ;
4085 wxString
*arg2
= 0 ;
4088 bool temp2
= false ;
4089 PyObject
* obj0
= 0 ;
4090 PyObject
* obj1
= 0 ;
4091 char * kwnames
[] = {
4092 (char *) "self",(char *) "colourName", NULL
4095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4097 if (!SWIG_IsOK(res1
)) {
4098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4100 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4102 arg2
= wxString_in_helper(obj1
);
4103 if (arg2
== NULL
) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 (arg1
)->InitFromName((wxString
const &)*arg2
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_Py_Void();
4127 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= 0;
4129 wxColour
*arg1
= (wxColour
*) 0 ;
4130 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 char * kwnames
[] = {
4139 (char *) "self",(char *) "flags", NULL
4142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4144 if (!SWIG_IsOK(res1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4147 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4150 if (!SWIG_IsOK(ecode2
)) {
4151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4153 arg2
= static_cast< long >(val2
);
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4174 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4175 PyObject
*resultobj
= 0;
4176 wxColour
*arg1
= (wxColour
*) 0 ;
4180 PyObject
*swig_obj
[1] ;
4182 if (!args
) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4188 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_From_long(static_cast< long >(result
));
4202 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxColour
*arg1
= (wxColour
*) 0 ;
4205 PyObject
*arg2
= (PyObject
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "self",(char *) "other", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4220 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4223 result
= (bool)wxColour___eq__(arg1
,arg2
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4235 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxColour
*arg1
= (wxColour
*) 0 ;
4238 PyObject
*arg2
= (PyObject
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "self",(char *) "other", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4250 if (!SWIG_IsOK(res1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4253 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4256 result
= (bool)wxColour___ne__(arg1
,arg2
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4268 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
= 0;
4270 wxColour
*arg1
= (wxColour
*) 0 ;
4271 bool arg2
= (bool) false ;
4272 PyObject
*result
= 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "includeAlpha", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4288 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4291 if (!SWIG_IsOK(ecode2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4294 arg2
= static_cast< bool >(val2
);
4297 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4307 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 PyObject
*resultobj
= 0;
4309 wxColour
*arg1
= (wxColour
*) 0 ;
4310 unsigned long result
;
4313 PyObject
*swig_obj
[1] ;
4315 if (!args
) SWIG_fail
;
4317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4318 if (!SWIG_IsOK(res1
)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4321 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4323 result
= (unsigned long)wxColour_GetRGB(arg1
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4333 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4336 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4337 return SWIG_Py_Void();
4340 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4341 return SWIG_Python_InitShadowInstance(args
);
4344 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4347 unsigned char *arg2
= (unsigned char *) 0 ;
4348 unsigned char *arg3
= (unsigned char *) 0 ;
4349 unsigned char *arg4
= (unsigned char *) 0 ;
4350 wxPalette
*result
= 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 PyObject
* obj2
= 0 ;
4362 PyObject
* obj3
= 0 ;
4363 char * kwnames
[] = {
4364 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4369 if (!SWIG_IsOK(ecode1
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4372 arg1
= static_cast< int >(val1
);
4373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4374 if (!SWIG_IsOK(res2
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4377 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4378 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4379 if (!SWIG_IsOK(res3
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4382 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4383 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4384 if (!SWIG_IsOK(res4
)) {
4385 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4387 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4389 if (!wxPyCheckForApp()) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4402 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4403 PyObject
*resultobj
= 0;
4404 wxPalette
*arg1
= (wxPalette
*) 0 ;
4407 PyObject
*swig_obj
[1] ;
4409 if (!args
) SWIG_fail
;
4411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4412 if (!SWIG_IsOK(res1
)) {
4413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4415 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_Py_Void();
4430 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= 0;
4432 wxPalette
*arg1
= (wxPalette
*) 0 ;
4439 unsigned char val2
;
4441 unsigned char val3
;
4443 unsigned char val4
;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4447 PyObject
* obj2
= 0 ;
4448 PyObject
* obj3
= 0 ;
4449 char * kwnames
[] = {
4450 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4458 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4459 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4460 if (!SWIG_IsOK(ecode2
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4463 arg2
= static_cast< byte
>(val2
);
4464 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4465 if (!SWIG_IsOK(ecode3
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4468 arg3
= static_cast< byte
>(val3
);
4469 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4470 if (!SWIG_IsOK(ecode4
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4473 arg4
= static_cast< byte
>(val4
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_From_int(static_cast< int >(result
));
4487 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4489 wxPalette
*arg1
= (wxPalette
*) 0 ;
4491 byte
*arg3
= (byte
*) 0 ;
4492 byte
*arg4
= (byte
*) 0 ;
4493 byte
*arg5
= (byte
*) 0 ;
4500 int res3
= SWIG_TMPOBJ
;
4502 int res4
= SWIG_TMPOBJ
;
4504 int res5
= SWIG_TMPOBJ
;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "self",(char *) "pixel", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4519 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4521 if (!SWIG_IsOK(ecode2
)) {
4522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4524 arg2
= static_cast< int >(val2
);
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4534 if (SWIG_IsTmpObj(res3
)) {
4535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4537 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4540 if (SWIG_IsTmpObj(res4
)) {
4541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4543 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4546 if (SWIG_IsTmpObj(res5
)) {
4547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4549 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4558 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4559 PyObject
*resultobj
= 0;
4560 wxPalette
*arg1
= (wxPalette
*) 0 ;
4564 PyObject
*swig_obj
[1] ;
4566 if (!args
) SWIG_fail
;
4568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4569 if (!SWIG_IsOK(res1
)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4572 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= SWIG_From_int(static_cast< int >(result
));
4586 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 PyObject
*resultobj
= 0;
4588 wxPalette
*arg1
= (wxPalette
*) 0 ;
4592 PyObject
*swig_obj
[1] ;
4594 if (!args
) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4600 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (bool)(arg1
)->Ok();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4616 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4619 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4620 return SWIG_Py_Void();
4623 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4624 return SWIG_Python_InitShadowInstance(args
);
4627 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
= 0;
4629 wxColour
*arg1
= 0 ;
4630 int arg2
= (int) 1 ;
4631 int arg3
= (int) wxSOLID
;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4640 PyObject
* obj2
= 0 ;
4641 char * kwnames
[] = {
4642 (char *) "colour",(char *) "width",(char *) "style", NULL
4645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4648 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4652 if (!SWIG_IsOK(ecode2
)) {
4653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4655 arg2
= static_cast< int >(val2
);
4658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4659 if (!SWIG_IsOK(ecode3
)) {
4660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4662 arg3
= static_cast< int >(val3
);
4665 if (!wxPyCheckForApp()) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4678 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4679 PyObject
*resultobj
= 0;
4680 wxPen
*arg1
= (wxPen
*) 0 ;
4683 PyObject
*swig_obj
[1] ;
4685 if (!args
) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4691 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= SWIG_Py_Void();
4706 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 PyObject
*resultobj
= 0;
4708 wxPen
*arg1
= (wxPen
*) 0 ;
4712 PyObject
*swig_obj
[1] ;
4714 if (!args
) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4720 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (int)(arg1
)->GetCap();
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_From_int(static_cast< int >(result
));
4734 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 PyObject
*resultobj
= 0;
4736 wxPen
*arg1
= (wxPen
*) 0 ;
4740 PyObject
*swig_obj
[1] ;
4742 if (!args
) SWIG_fail
;
4744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4745 if (!SWIG_IsOK(res1
)) {
4746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4748 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (arg1
)->GetColour();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4762 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4763 PyObject
*resultobj
= 0;
4764 wxPen
*arg1
= (wxPen
*) 0 ;
4768 PyObject
*swig_obj
[1] ;
4770 if (!args
) SWIG_fail
;
4772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4773 if (!SWIG_IsOK(res1
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4776 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (int)(arg1
)->GetJoin();
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_From_int(static_cast< int >(result
));
4790 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4791 PyObject
*resultobj
= 0;
4792 wxPen
*arg1
= (wxPen
*) 0 ;
4796 PyObject
*swig_obj
[1] ;
4798 if (!args
) SWIG_fail
;
4800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4801 if (!SWIG_IsOK(res1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4804 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (int)(arg1
)->GetStyle();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_From_int(static_cast< int >(result
));
4818 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4819 PyObject
*resultobj
= 0;
4820 wxPen
*arg1
= (wxPen
*) 0 ;
4824 PyObject
*swig_obj
[1] ;
4826 if (!args
) SWIG_fail
;
4828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4829 if (!SWIG_IsOK(res1
)) {
4830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4832 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (int)(arg1
)->GetWidth();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_From_int(static_cast< int >(result
));
4846 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4847 PyObject
*resultobj
= 0;
4848 wxPen
*arg1
= (wxPen
*) 0 ;
4852 PyObject
*swig_obj
[1] ;
4854 if (!args
) SWIG_fail
;
4856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4857 if (!SWIG_IsOK(res1
)) {
4858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4860 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (bool)(arg1
)->Ok();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4876 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
= 0;
4878 wxPen
*arg1
= (wxPen
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4886 char * kwnames
[] = {
4887 (char *) "self",(char *) "cap_style", NULL
4890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4895 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4897 if (!SWIG_IsOK(ecode2
)) {
4898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4900 arg2
= static_cast< int >(val2
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 (arg1
)->SetCap(arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_Py_Void();
4914 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
= 0;
4916 wxPen
*arg1
= (wxPen
*) 0 ;
4917 wxColour
*arg2
= 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 char * kwnames
[] = {
4924 (char *) "self",(char *) "colour", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4932 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4935 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->SetColour(*arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_Py_Void();
4950 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
= 0;
4952 wxPen
*arg1
= (wxPen
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4960 char * kwnames
[] = {
4961 (char *) "self",(char *) "join_style", NULL
4964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4969 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4971 if (!SWIG_IsOK(ecode2
)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4974 arg2
= static_cast< int >(val2
);
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 (arg1
)->SetJoin(arg2
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_Py_Void();
4988 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
= 0;
4990 wxPen
*arg1
= (wxPen
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 char * kwnames
[] = {
4999 (char *) "self",(char *) "style", NULL
5002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5007 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5009 if (!SWIG_IsOK(ecode2
)) {
5010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5012 arg2
= static_cast< int >(val2
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 (arg1
)->SetStyle(arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= SWIG_Py_Void();
5026 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
= 0;
5028 wxPen
*arg1
= (wxPen
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5036 char * kwnames
[] = {
5037 (char *) "self",(char *) "width", NULL
5040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5042 if (!SWIG_IsOK(res1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5045 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5047 if (!SWIG_IsOK(ecode2
)) {
5048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5050 arg2
= static_cast< int >(val2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 (arg1
)->SetWidth(arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_Py_Void();
5064 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxPen
*arg1
= (wxPen
*) 0 ;
5068 wxDash
*arg3
= (wxDash
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "dashes", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5082 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5084 arg2
= PyList_Size(obj1
);
5085 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5086 if (arg3
== NULL
) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetDashes(arg2
,arg3
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5096 if (arg3
) delete [] arg3
;
5101 if (arg3
) delete [] arg3
;
5107 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5108 PyObject
*resultobj
= 0;
5109 wxPen
*arg1
= (wxPen
*) 0 ;
5110 PyObject
*result
= 0 ;
5113 PyObject
*swig_obj
[1] ;
5115 if (!args
) SWIG_fail
;
5117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5118 if (!SWIG_IsOK(res1
)) {
5119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5121 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5135 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
= 0;
5137 wxPen
*arg1
= (wxPen
*) 0 ;
5138 PyObject
*arg2
= (PyObject
*) 0 ;
5139 PyObject
*arg3
= (PyObject
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5144 PyObject
* obj2
= 0 ;
5145 char * kwnames
[] = {
5146 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5154 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxPen__SetDashes(arg1
,arg2
,arg3
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_Py_Void();
5170 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
= 0;
5172 wxPen
*arg1
= (wxPen
*) 0 ;
5173 wxPen
*arg2
= (wxPen
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5181 char * kwnames
[] = {
5182 (char *) "self",(char *) "other", NULL
5185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5190 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5192 if (!SWIG_IsOK(res2
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5195 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5211 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 wxPen
*arg1
= (wxPen
*) 0 ;
5214 wxPen
*arg2
= (wxPen
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 char * kwnames
[] = {
5223 (char *) "self",(char *) "other", NULL
5226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5231 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5233 if (!SWIG_IsOK(res2
)) {
5234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5236 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5252 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5256 return SWIG_Py_Void();
5259 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 return SWIG_Python_InitShadowInstance(args
);
5263 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5265 wxColour
*arg1
= 0 ;
5266 int arg2
= (int) wxSOLID
;
5267 wxBrush
*result
= 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 char * kwnames
[] = {
5274 (char *) "colour",(char *) "style", NULL
5277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5280 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5284 if (!SWIG_IsOK(ecode2
)) {
5285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5287 arg2
= static_cast< int >(val2
);
5290 if (!wxPyCheckForApp()) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5303 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxBitmap
*arg1
= 0 ;
5306 wxBrush
*result
= 0 ;
5309 PyObject
* obj0
= 0 ;
5310 char * kwnames
[] = {
5311 (char *) "stippleBitmap", NULL
5314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5315 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5316 if (!SWIG_IsOK(res1
)) {
5317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5322 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5324 if (!wxPyCheckForApp()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5337 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5338 PyObject
*resultobj
= 0;
5339 wxBrush
*arg1
= (wxBrush
*) 0 ;
5342 PyObject
*swig_obj
[1] ;
5344 if (!args
) SWIG_fail
;
5346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5347 if (!SWIG_IsOK(res1
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5350 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_Py_Void();
5365 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
= 0;
5367 wxBrush
*arg1
= (wxBrush
*) 0 ;
5368 wxColour
*arg2
= 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5374 char * kwnames
[] = {
5375 (char *) "self",(char *) "col", NULL
5378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5380 if (!SWIG_IsOK(res1
)) {
5381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5383 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->SetColour((wxColour
const &)*arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= 0;
5403 wxBrush
*arg1
= (wxBrush
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5411 char * kwnames
[] = {
5412 (char *) "self",(char *) "style", NULL
5415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5420 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5422 if (!SWIG_IsOK(ecode2
)) {
5423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5425 arg2
= static_cast< int >(val2
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->SetStyle(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_Py_Void();
5439 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxBrush
*arg1
= (wxBrush
*) 0 ;
5442 wxBitmap
*arg2
= 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "stipple", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5458 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5460 if (!SWIG_IsOK(res2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5466 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_Py_Void();
5480 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5481 PyObject
*resultobj
= 0;
5482 wxBrush
*arg1
= (wxBrush
*) 0 ;
5486 PyObject
*swig_obj
[1] ;
5488 if (!args
) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5494 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= ((wxBrush
const *)arg1
)->GetColour();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5508 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 PyObject
*resultobj
= 0;
5510 wxBrush
*arg1
= (wxBrush
*) 0 ;
5514 PyObject
*swig_obj
[1] ;
5516 if (!args
) SWIG_fail
;
5518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5519 if (!SWIG_IsOK(res1
)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5522 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_From_int(static_cast< int >(result
));
5536 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 PyObject
*resultobj
= 0;
5538 wxBrush
*arg1
= (wxBrush
*) 0 ;
5539 wxBitmap
*result
= 0 ;
5542 PyObject
*swig_obj
[1] ;
5544 if (!args
) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5550 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5564 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5565 PyObject
*resultobj
= 0;
5566 wxBrush
*arg1
= (wxBrush
*) 0 ;
5570 PyObject
*swig_obj
[1] ;
5572 if (!args
) SWIG_fail
;
5574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5575 if (!SWIG_IsOK(res1
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5578 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5594 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5595 PyObject
*resultobj
= 0;
5596 wxBrush
*arg1
= (wxBrush
*) 0 ;
5600 PyObject
*swig_obj
[1] ;
5602 if (!args
) SWIG_fail
;
5604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5605 if (!SWIG_IsOK(res1
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5608 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (bool)(arg1
)->Ok();
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5624 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5625 PyObject
*resultobj
= 0;
5626 wxBrush
*arg1
= (wxBrush
*) 0 ;
5630 PyObject
*swig_obj
[1] ;
5632 if (!args
) SWIG_fail
;
5634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5635 if (!SWIG_IsOK(res1
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5638 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (short)(arg1
)->MacGetTheme();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_From_short(static_cast< short >(result
));
5652 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 wxBrush
*arg1
= (wxBrush
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5662 char * kwnames
[] = {
5663 (char *) "self",(char *) "macThemeBrush", NULL
5666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5668 if (!SWIG_IsOK(res1
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5671 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5672 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5673 if (!SWIG_IsOK(ecode2
)) {
5674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5676 arg2
= static_cast< short >(val2
);
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 (arg1
)->MacSetTheme(arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 resultobj
= SWIG_Py_Void();
5690 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5693 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5694 return SWIG_Py_Void();
5697 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5698 return SWIG_Python_InitShadowInstance(args
);
5701 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
= 0;
5703 wxString
*arg1
= 0 ;
5704 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5705 wxBitmap
*result
= 0 ;
5706 bool temp1
= false ;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5711 char * kwnames
[] = {
5712 (char *) "name",(char *) "type", NULL
5715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5717 arg1
= wxString_in_helper(obj0
);
5718 if (arg1
== NULL
) SWIG_fail
;
5722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5723 if (!SWIG_IsOK(ecode2
)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5726 arg2
= static_cast< wxBitmapType
>(val2
);
5729 if (!wxPyCheckForApp()) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5750 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5751 PyObject
*resultobj
= 0;
5752 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5755 PyObject
*swig_obj
[1] ;
5757 if (!args
) SWIG_fail
;
5759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5760 if (!SWIG_IsOK(res1
)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5763 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_Py_Void();
5776 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
= 0;
5780 int arg3
= (int) -1 ;
5781 wxBitmap
*result
= 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 PyObject
* obj2
= 0 ;
5791 char * kwnames
[] = {
5792 (char *) "width",(char *) "height",(char *) "depth", NULL
5795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5797 if (!SWIG_IsOK(ecode1
)) {
5798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5800 arg1
= static_cast< int >(val1
);
5801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5802 if (!SWIG_IsOK(ecode2
)) {
5803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5805 arg2
= static_cast< int >(val2
);
5807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5808 if (!SWIG_IsOK(ecode3
)) {
5809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5811 arg3
= static_cast< int >(val3
);
5814 if (!wxPyCheckForApp()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5827 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5830 wxBitmap
*result
= 0 ;
5833 PyObject
* obj0
= 0 ;
5834 char * kwnames
[] = {
5835 (char *) "icon", NULL
5838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5839 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5840 if (!SWIG_IsOK(res1
)) {
5841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5846 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5848 if (!wxPyCheckForApp()) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5861 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
= 0;
5864 int arg2
= (int) -1 ;
5865 wxBitmap
*result
= 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5872 char * kwnames
[] = {
5873 (char *) "image",(char *) "depth", NULL
5876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5877 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5878 if (!SWIG_IsOK(res1
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5884 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5887 if (!SWIG_IsOK(ecode2
)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5890 arg2
= static_cast< int >(val2
);
5893 if (!wxPyCheckForApp()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5906 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
= 0;
5908 PyObject
*arg1
= (PyObject
*) 0 ;
5909 wxBitmap
*result
= 0 ;
5910 PyObject
* obj0
= 0 ;
5911 char * kwnames
[] = {
5912 (char *) "listOfStrings", NULL
5915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5918 if (!wxPyCheckForApp()) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5931 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
= 0;
5933 PyObject
*arg1
= (PyObject
*) 0 ;
5936 int arg4
= (int) 1 ;
5937 wxBitmap
*result
= 0 ;
5944 PyObject
* obj0
= 0 ;
5945 PyObject
* obj1
= 0 ;
5946 PyObject
* obj2
= 0 ;
5947 PyObject
* obj3
= 0 ;
5948 char * kwnames
[] = {
5949 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5955 if (!SWIG_IsOK(ecode2
)) {
5956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5958 arg2
= static_cast< int >(val2
);
5959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5960 if (!SWIG_IsOK(ecode3
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5963 arg3
= static_cast< int >(val3
);
5965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5966 if (!SWIG_IsOK(ecode4
)) {
5967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5969 arg4
= static_cast< int >(val4
);
5972 if (!wxPyCheckForApp()) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5985 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5986 PyObject
*resultobj
= 0;
5987 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5991 PyObject
*swig_obj
[1] ;
5993 if (!args
) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5999 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6001 result
= (bool)(arg1
)->Ok();
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6013 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6014 PyObject
*resultobj
= 0;
6015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6019 PyObject
*swig_obj
[1] ;
6021 if (!args
) SWIG_fail
;
6023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6024 if (!SWIG_IsOK(res1
)) {
6025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6027 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6029 result
= (int)(arg1
)->GetWidth();
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_From_int(static_cast< int >(result
));
6039 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6040 PyObject
*resultobj
= 0;
6041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6045 PyObject
*swig_obj
[1] ;
6047 if (!args
) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6053 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6055 result
= (int)(arg1
)->GetHeight();
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_From_int(static_cast< int >(result
));
6065 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6066 PyObject
*resultobj
= 0;
6067 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6071 PyObject
*swig_obj
[1] ;
6073 if (!args
) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6079 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6081 result
= (int)(arg1
)->GetDepth();
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_From_int(static_cast< int >(result
));
6091 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6092 PyObject
*resultobj
= 0;
6093 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6097 PyObject
*swig_obj
[1] ;
6099 if (!args
) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6105 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6107 result
= wxBitmap_GetSize(arg1
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6117 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6118 PyObject
*resultobj
= 0;
6119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6120 SwigValueWrapper
<wxImage
> result
;
6123 PyObject
*swig_obj
[1] ;
6125 if (!args
) SWIG_fail
;
6127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6128 if (!SWIG_IsOK(res1
)) {
6129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6133 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6143 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6146 wxMask
*result
= 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6157 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6159 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6169 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6171 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6172 wxMask
*arg2
= (wxMask
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 char * kwnames
[] = {
6179 (char *) "self",(char *) "mask", NULL
6182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6184 if (!SWIG_IsOK(res1
)) {
6185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6187 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6188 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6189 if (!SWIG_IsOK(res2
)) {
6190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6193 (arg1
)->SetMask(arg2
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_Py_Void();
6203 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
= 0;
6205 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6206 wxColour
*arg2
= 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "self",(char *) "colour", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6227 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_Py_Void();
6237 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
= 0;
6239 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6241 SwigValueWrapper
<wxBitmap
> result
;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 char * kwnames
[] = {
6248 (char *) "self",(char *) "rect", NULL
6251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6256 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6262 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6272 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
= 0;
6274 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6275 wxString
*arg2
= 0 ;
6277 wxPalette
*arg4
= (wxPalette
*) NULL
;
6281 bool temp2
= false ;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6288 PyObject
* obj2
= 0 ;
6289 PyObject
* obj3
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6301 arg2
= wxString_in_helper(obj1
);
6302 if (arg2
== NULL
) SWIG_fail
;
6305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6306 if (!SWIG_IsOK(ecode3
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6309 arg3
= static_cast< wxBitmapType
>(val3
);
6311 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6312 if (!SWIG_IsOK(res4
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6315 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6318 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6338 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
= 0;
6340 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6341 wxString
*arg2
= 0 ;
6346 bool temp2
= false ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6351 PyObject
* obj2
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "name",(char *) "type", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6363 arg2
= wxString_in_helper(obj1
);
6364 if (arg2
== NULL
) SWIG_fail
;
6367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6368 if (!SWIG_IsOK(ecode3
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6371 arg3
= static_cast< wxBitmapType
>(val3
);
6373 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6393 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6394 PyObject
*resultobj
= 0;
6395 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6396 wxPalette
*result
= 0 ;
6399 PyObject
*swig_obj
[1] ;
6401 if (!args
) SWIG_fail
;
6403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6404 if (!SWIG_IsOK(res1
)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6407 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6409 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6419 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 char * kwnames
[] = {
6431 (char *) "self",(char *) "icon", NULL
6434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6441 if (!SWIG_IsOK(res2
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6447 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6449 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6461 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
= 0;
6463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 char * kwnames
[] = {
6472 (char *) "self",(char *) "height", NULL
6475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6477 if (!SWIG_IsOK(res1
)) {
6478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6480 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6482 if (!SWIG_IsOK(ecode2
)) {
6483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6485 arg2
= static_cast< int >(val2
);
6487 (arg1
)->SetHeight(arg2
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_Py_Void();
6497 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
= 0;
6499 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 char * kwnames
[] = {
6508 (char *) "self",(char *) "width", NULL
6511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6513 if (!SWIG_IsOK(res1
)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6518 if (!SWIG_IsOK(ecode2
)) {
6519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6521 arg2
= static_cast< int >(val2
);
6523 (arg1
)->SetWidth(arg2
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_Py_Void();
6533 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "self",(char *) "depth", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6552 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6554 if (!SWIG_IsOK(ecode2
)) {
6555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6557 arg2
= static_cast< int >(val2
);
6559 (arg1
)->SetDepth(arg2
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_Py_Void();
6569 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
= 0;
6571 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 char * kwnames
[] = {
6579 (char *) "self",(char *) "size", NULL
6582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6584 if (!SWIG_IsOK(res1
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6587 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6590 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6593 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_Py_Void();
6603 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6606 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 char * kwnames
[] = {
6615 (char *) "self",(char *) "other", NULL
6618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6620 if (!SWIG_IsOK(res1
)) {
6621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6623 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6625 if (!SWIG_IsOK(res2
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6628 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6630 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6642 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6645 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 char * kwnames
[] = {
6654 (char *) "self",(char *) "other", NULL
6657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6664 if (!SWIG_IsOK(res2
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6667 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6669 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6681 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6684 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6685 return SWIG_Py_Void();
6688 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6689 return SWIG_Python_InitShadowInstance(args
);
6692 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
= 0;
6700 wxBitmap
*result
= 0 ;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6707 PyObject
* obj2
= 0 ;
6708 PyObject
* obj3
= 0 ;
6709 char * kwnames
[] = {
6710 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6715 if (!SWIG_IsOK(ecode1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6718 arg1
= static_cast< int >(val1
);
6719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6720 if (!SWIG_IsOK(ecode2
)) {
6721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6723 arg2
= static_cast< int >(val2
);
6725 if (obj2
!= Py_None
) {
6726 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
6730 if (obj3
!= Py_None
) {
6731 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
6735 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6745 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= 0;
6751 wxBitmap
*result
= 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 PyObject
* obj2
= 0 ;
6759 char * kwnames
[] = {
6760 (char *) "width",(char *) "height",(char *) "data", NULL
6763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6765 if (!SWIG_IsOK(ecode1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6768 arg1
= static_cast< int >(val1
);
6769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6770 if (!SWIG_IsOK(ecode2
)) {
6771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6773 arg2
= static_cast< int >(val2
);
6775 if (obj2
!= Py_None
) {
6776 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
6780 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6790 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
= 0;
6796 wxBitmap
*result
= 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6804 char * kwnames
[] = {
6805 (char *) "width",(char *) "height",(char *) "data", NULL
6808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6809 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6810 if (!SWIG_IsOK(ecode1
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6813 arg1
= static_cast< int >(val1
);
6814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6815 if (!SWIG_IsOK(ecode2
)) {
6816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6818 arg2
= static_cast< int >(val2
);
6820 if (obj2
!= Py_None
) {
6821 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
6825 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6835 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6836 PyObject
*resultobj
= 0;
6837 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6841 PyObject
*swig_obj
[1] ;
6843 if (!args
) SWIG_fail
;
6845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6846 if (!SWIG_IsOK(res1
)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6849 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6851 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6861 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6862 PyObject
*resultobj
= 0;
6863 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6867 PyObject
*swig_obj
[1] ;
6869 if (!args
) SWIG_fail
;
6871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6872 if (!SWIG_IsOK(res1
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6875 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6877 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_From_int(static_cast< int >(result
));
6887 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6888 PyObject
*resultobj
= 0;
6889 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6893 PyObject
*swig_obj
[1] ;
6895 if (!args
) SWIG_fail
;
6897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6898 if (!SWIG_IsOK(res1
)) {
6899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6901 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6903 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_From_int(static_cast< int >(result
));
6913 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6914 PyObject
*resultobj
= 0;
6915 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6919 PyObject
*swig_obj
[1] ;
6921 if (!args
) SWIG_fail
;
6923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6924 if (!SWIG_IsOK(res1
)) {
6925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6927 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6929 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6940 PyObject
*resultobj
= 0;
6941 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6945 PyObject
*swig_obj
[1] ;
6947 if (!args
) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6953 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6955 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_From_int(static_cast< int >(result
));
6965 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6969 return SWIG_Py_Void();
6972 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6973 PyObject
*resultobj
= 0;
6974 wxBitmap
*arg1
= 0 ;
6975 wxNativePixelData
*result
= 0 ;
6979 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6989 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6999 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7000 PyObject
*resultobj
= 0;
7001 wxBitmap
*arg1
= 0 ;
7003 wxNativePixelData
*result
= 0 ;
7008 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7010 if (!SWIG_IsOK(res1
)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7019 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7022 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7032 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7033 PyObject
*resultobj
= 0;
7034 wxBitmap
*arg1
= 0 ;
7037 wxNativePixelData
*result
= 0 ;
7043 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7045 if (!SWIG_IsOK(res1
)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7051 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7054 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7058 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7061 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7071 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7075 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7078 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7081 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7084 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7088 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7093 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7094 PyObject
*resultobj
= 0;
7095 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7098 PyObject
*swig_obj
[1] ;
7100 if (!args
) SWIG_fail
;
7102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7103 if (!SWIG_IsOK(res1
)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7106 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_Py_Void();
7119 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7122 wxNativePixelData_Accessor result
;
7125 PyObject
*swig_obj
[1] ;
7127 if (!args
) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7133 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7135 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7145 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7150 PyObject
*swig_obj
[1] ;
7152 if (!args
) SWIG_fail
;
7154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7155 if (!SWIG_IsOK(res1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7158 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_Py_Void();
7170 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7171 PyObject
*resultobj
= 0;
7172 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7176 PyObject
*swig_obj
[1] ;
7178 if (!args
) SWIG_fail
;
7180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7181 if (!SWIG_IsOK(res1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7184 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7186 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7198 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7201 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7202 return SWIG_Py_Void();
7205 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7206 return SWIG_Python_InitShadowInstance(args
);
7209 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7210 PyObject
*resultobj
= 0;
7211 wxNativePixelData
*arg1
= 0 ;
7212 wxNativePixelData_Accessor
*result
= 0 ;
7216 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7224 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7226 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7236 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7237 PyObject
*resultobj
= 0;
7238 wxBitmap
*arg1
= 0 ;
7239 wxNativePixelData
*arg2
= 0 ;
7240 wxNativePixelData_Accessor
*result
= 0 ;
7246 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7254 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7255 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7256 if (!SWIG_IsOK(res2
)) {
7257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7262 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7264 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7274 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7275 PyObject
*resultobj
= 0;
7276 wxNativePixelData_Accessor
*result
= 0 ;
7278 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7280 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7290 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7294 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7297 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7300 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7303 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7307 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7312 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 PyObject
*resultobj
= 0;
7314 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7317 PyObject
*swig_obj
[1] ;
7319 if (!args
) SWIG_fail
;
7321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7322 if (!SWIG_IsOK(res1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7325 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_Py_Void();
7338 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7341 wxNativePixelData
*arg2
= 0 ;
7346 PyObject
* obj0
= 0 ;
7347 PyObject
* obj1
= 0 ;
7348 char * kwnames
[] = {
7349 (char *) "self",(char *) "data", NULL
7352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7357 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7359 if (!SWIG_IsOK(res2
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7365 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7367 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_Py_Void();
7377 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7378 PyObject
*resultobj
= 0;
7379 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7383 PyObject
*swig_obj
[1] ;
7385 if (!args
) SWIG_fail
;
7387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7388 if (!SWIG_IsOK(res1
)) {
7389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7391 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7393 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7394 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7405 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7406 PyObject
*resultobj
= 0;
7407 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7410 PyObject
*swig_obj
[1] ;
7412 if (!args
) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7418 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7420 wxNativePixelData_Accessor_nextPixel(arg1
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_Py_Void();
7430 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
= 0;
7432 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7433 wxNativePixelData
*arg2
= 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7446 PyObject
* obj2
= 0 ;
7447 PyObject
* obj3
= 0 ;
7448 char * kwnames
[] = {
7449 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7454 if (!SWIG_IsOK(res1
)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7457 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7459 if (!SWIG_IsOK(res2
)) {
7460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7465 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7467 if (!SWIG_IsOK(ecode3
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7470 arg3
= static_cast< int >(val3
);
7471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7472 if (!SWIG_IsOK(ecode4
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7475 arg4
= static_cast< int >(val4
);
7477 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_Py_Void();
7487 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
= 0;
7489 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7490 wxNativePixelData
*arg2
= 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 PyObject
* obj2
= 0 ;
7501 char * kwnames
[] = {
7502 (char *) "self",(char *) "data",(char *) "x", NULL
7505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7510 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7512 if (!SWIG_IsOK(res2
)) {
7513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7518 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7520 if (!SWIG_IsOK(ecode3
)) {
7521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7523 arg3
= static_cast< int >(val3
);
7525 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_Py_Void();
7535 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
= 0;
7537 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7538 wxNativePixelData
*arg2
= 0 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7548 PyObject
* obj2
= 0 ;
7549 char * kwnames
[] = {
7550 (char *) "self",(char *) "data",(char *) "y", NULL
7553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7555 if (!SWIG_IsOK(res1
)) {
7556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7558 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7560 if (!SWIG_IsOK(res2
)) {
7561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7566 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7568 if (!SWIG_IsOK(ecode3
)) {
7569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7571 arg3
= static_cast< int >(val3
);
7573 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_Py_Void();
7583 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7585 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7586 wxNativePixelData
*arg2
= 0 ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7599 PyObject
* obj2
= 0 ;
7600 PyObject
* obj3
= 0 ;
7601 char * kwnames
[] = {
7602 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7610 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7612 if (!SWIG_IsOK(res2
)) {
7613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7618 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7620 if (!SWIG_IsOK(ecode3
)) {
7621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7623 arg3
= static_cast< int >(val3
);
7624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7625 if (!SWIG_IsOK(ecode4
)) {
7626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7628 arg4
= static_cast< int >(val4
);
7630 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_Py_Void();
7640 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
= 0;
7642 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7648 unsigned char val2
;
7650 unsigned char val3
;
7652 unsigned char val4
;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7656 PyObject
* obj2
= 0 ;
7657 PyObject
* obj3
= 0 ;
7658 char * kwnames
[] = {
7659 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7664 if (!SWIG_IsOK(res1
)) {
7665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7667 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7668 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7669 if (!SWIG_IsOK(ecode2
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7672 arg2
= static_cast< byte
>(val2
);
7673 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7674 if (!SWIG_IsOK(ecode3
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7677 arg3
= static_cast< byte
>(val3
);
7678 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7679 if (!SWIG_IsOK(ecode4
)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7682 arg4
= static_cast< byte
>(val4
);
7684 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= SWIG_Py_Void();
7694 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7695 PyObject
*resultobj
= 0;
7696 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7697 PyObject
*result
= 0 ;
7700 PyObject
*swig_obj
[1] ;
7702 if (!args
) SWIG_fail
;
7704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7705 if (!SWIG_IsOK(res1
)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7708 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7710 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7720 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7723 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7724 return SWIG_Py_Void();
7727 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 return SWIG_Python_InitShadowInstance(args
);
7731 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7732 PyObject
*resultobj
= 0;
7733 wxBitmap
*arg1
= 0 ;
7734 wxAlphaPixelData
*result
= 0 ;
7738 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7740 if (!SWIG_IsOK(res1
)) {
7741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7746 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7748 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7758 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7759 PyObject
*resultobj
= 0;
7760 wxBitmap
*arg1
= 0 ;
7762 wxAlphaPixelData
*result
= 0 ;
7767 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7769 if (!SWIG_IsOK(res1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7775 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7778 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7781 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7791 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7792 PyObject
*resultobj
= 0;
7793 wxBitmap
*arg1
= 0 ;
7796 wxAlphaPixelData
*result
= 0 ;
7802 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7804 if (!SWIG_IsOK(res1
)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7810 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7813 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7817 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7820 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7830 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7834 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7837 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7840 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7843 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7847 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7852 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7853 PyObject
*resultobj
= 0;
7854 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7857 PyObject
*swig_obj
[1] ;
7859 if (!args
) SWIG_fail
;
7861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7862 if (!SWIG_IsOK(res1
)) {
7863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7865 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= SWIG_Py_Void();
7878 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7879 PyObject
*resultobj
= 0;
7880 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7881 wxAlphaPixelData_Accessor result
;
7884 PyObject
*swig_obj
[1] ;
7886 if (!args
) SWIG_fail
;
7888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7889 if (!SWIG_IsOK(res1
)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7892 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7894 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7904 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7905 PyObject
*resultobj
= 0;
7906 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7909 PyObject
*swig_obj
[1] ;
7911 if (!args
) SWIG_fail
;
7913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7914 if (!SWIG_IsOK(res1
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7917 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_Py_Void();
7929 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7930 PyObject
*resultobj
= 0;
7931 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7935 PyObject
*swig_obj
[1] ;
7937 if (!args
) SWIG_fail
;
7939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7940 if (!SWIG_IsOK(res1
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7943 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7945 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7957 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7960 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7961 return SWIG_Py_Void();
7964 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7965 return SWIG_Python_InitShadowInstance(args
);
7968 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7969 PyObject
*resultobj
= 0;
7970 wxAlphaPixelData
*arg1
= 0 ;
7971 wxAlphaPixelData_Accessor
*result
= 0 ;
7975 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7983 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7985 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7995 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7996 PyObject
*resultobj
= 0;
7997 wxBitmap
*arg1
= 0 ;
7998 wxAlphaPixelData
*arg2
= 0 ;
7999 wxAlphaPixelData_Accessor
*result
= 0 ;
8005 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8013 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8014 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8015 if (!SWIG_IsOK(res2
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8021 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8023 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8033 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8034 PyObject
*resultobj
= 0;
8035 wxAlphaPixelData_Accessor
*result
= 0 ;
8037 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8039 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8049 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8053 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8056 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8059 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8062 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8066 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8071 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 PyObject
*resultobj
= 0;
8073 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8076 PyObject
*swig_obj
[1] ;
8078 if (!args
) SWIG_fail
;
8080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8081 if (!SWIG_IsOK(res1
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8084 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_Py_Void();
8097 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
= 0;
8099 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8100 wxAlphaPixelData
*arg2
= 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "self",(char *) "data", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8113 if (!SWIG_IsOK(res1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8116 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8124 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8126 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= SWIG_Py_Void();
8136 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8137 PyObject
*resultobj
= 0;
8138 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8142 PyObject
*swig_obj
[1] ;
8144 if (!args
) SWIG_fail
;
8146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8147 if (!SWIG_IsOK(res1
)) {
8148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8150 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8152 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8153 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8164 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8165 PyObject
*resultobj
= 0;
8166 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8169 PyObject
*swig_obj
[1] ;
8171 if (!args
) SWIG_fail
;
8173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8174 if (!SWIG_IsOK(res1
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8177 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8179 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= SWIG_Py_Void();
8189 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
= 0;
8191 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8192 wxAlphaPixelData
*arg2
= 0 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8205 PyObject
* obj2
= 0 ;
8206 PyObject
* obj3
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8216 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8224 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8226 if (!SWIG_IsOK(ecode3
)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8229 arg3
= static_cast< int >(val3
);
8230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8231 if (!SWIG_IsOK(ecode4
)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8234 arg4
= static_cast< int >(val4
);
8236 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8249 wxAlphaPixelData
*arg2
= 0 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8259 PyObject
* obj2
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "data",(char *) "x", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8269 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8277 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8279 if (!SWIG_IsOK(ecode3
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8282 arg3
= static_cast< int >(val3
);
8284 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_Py_Void();
8294 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
= 0;
8296 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8297 wxAlphaPixelData
*arg2
= 0 ;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8307 PyObject
* obj2
= 0 ;
8308 char * kwnames
[] = {
8309 (char *) "self",(char *) "data",(char *) "y", NULL
8312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8314 if (!SWIG_IsOK(res1
)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8317 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8319 if (!SWIG_IsOK(res2
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8325 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8327 if (!SWIG_IsOK(ecode3
)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8330 arg3
= static_cast< int >(val3
);
8332 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_Py_Void();
8342 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
= 0;
8344 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8345 wxAlphaPixelData
*arg2
= 0 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8359 PyObject
* obj3
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8369 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8371 if (!SWIG_IsOK(res2
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8377 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8379 if (!SWIG_IsOK(ecode3
)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8382 arg3
= static_cast< int >(val3
);
8383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8384 if (!SWIG_IsOK(ecode4
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8387 arg4
= static_cast< int >(val4
);
8389 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_Py_Void();
8399 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
= 0;
8401 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8408 unsigned char val2
;
8410 unsigned char val3
;
8412 unsigned char val4
;
8414 unsigned char val5
;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8419 PyObject
* obj3
= 0 ;
8420 PyObject
* obj4
= 0 ;
8421 char * kwnames
[] = {
8422 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8430 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8431 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8432 if (!SWIG_IsOK(ecode2
)) {
8433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8435 arg2
= static_cast< byte
>(val2
);
8436 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8437 if (!SWIG_IsOK(ecode3
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8440 arg3
= static_cast< byte
>(val3
);
8441 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8442 if (!SWIG_IsOK(ecode4
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8445 arg4
= static_cast< byte
>(val4
);
8446 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8447 if (!SWIG_IsOK(ecode5
)) {
8448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8450 arg5
= static_cast< byte
>(val5
);
8452 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_Py_Void();
8462 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8463 PyObject
*resultobj
= 0;
8464 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8465 PyObject
*result
= 0 ;
8468 PyObject
*swig_obj
[1] ;
8470 if (!args
) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8476 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8478 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8488 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8491 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8492 return SWIG_Py_Void();
8495 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 return SWIG_Python_InitShadowInstance(args
);
8499 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
= 0;
8501 wxBitmap
*arg1
= 0 ;
8502 wxColour
const &arg2_defvalue
= wxNullColour
;
8503 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8504 wxMask
*result
= 0 ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8510 char * kwnames
[] = {
8511 (char *) "bitmap",(char *) "colour", NULL
8514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8515 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8516 if (!SWIG_IsOK(res1
)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8522 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8530 if (!wxPyCheckForApp()) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8543 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8544 PyObject
*resultobj
= 0;
8545 wxMask
*arg1
= (wxMask
*) 0 ;
8548 PyObject
*swig_obj
[1] ;
8550 if (!args
) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8556 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_Py_Void();
8569 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8572 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8573 return SWIG_Py_Void();
8576 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8577 return SWIG_Python_InitShadowInstance(args
);
8580 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
= 0;
8582 wxString
*arg1
= 0 ;
8584 int arg3
= (int) -1 ;
8585 int arg4
= (int) -1 ;
8586 wxIcon
*result
= 0 ;
8587 bool temp1
= false ;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8596 PyObject
* obj2
= 0 ;
8597 PyObject
* obj3
= 0 ;
8598 char * kwnames
[] = {
8599 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8604 arg1
= wxString_in_helper(obj0
);
8605 if (arg1
== NULL
) SWIG_fail
;
8608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8609 if (!SWIG_IsOK(ecode2
)) {
8610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8612 arg2
= static_cast< wxBitmapType
>(val2
);
8614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8615 if (!SWIG_IsOK(ecode3
)) {
8616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8618 arg3
= static_cast< int >(val3
);
8621 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8622 if (!SWIG_IsOK(ecode4
)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8625 arg4
= static_cast< int >(val4
);
8628 if (!wxPyCheckForApp()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8649 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8650 PyObject
*resultobj
= 0;
8651 wxIcon
*arg1
= (wxIcon
*) 0 ;
8654 PyObject
*swig_obj
[1] ;
8656 if (!args
) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8662 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_Py_Void();
8677 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8678 PyObject
*resultobj
= 0;
8679 wxIcon
*result
= 0 ;
8681 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8683 if (!wxPyCheckForApp()) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (wxIcon
*)new wxIcon();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8696 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
= 0;
8698 wxIconLocation
*arg1
= 0 ;
8699 wxIcon
*result
= 0 ;
8702 PyObject
* obj0
= 0 ;
8703 char * kwnames
[] = {
8704 (char *) "loc", NULL
8707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8708 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8709 if (!SWIG_IsOK(res1
)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8715 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8717 if (!wxPyCheckForApp()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8730 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
= 0;
8732 wxBitmap
*arg1
= 0 ;
8733 wxIcon
*result
= 0 ;
8736 PyObject
* obj0
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "bmp", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8751 if (!wxPyCheckForApp()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8764 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= 0;
8766 PyObject
*arg1
= (PyObject
*) 0 ;
8767 wxIcon
*result
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "listOfStrings", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8776 if (!wxPyCheckForApp()) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 result
= (wxIcon
*)new_wxIcon(arg1
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8789 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8790 PyObject
*resultobj
= 0;
8791 wxIcon
*arg1
= (wxIcon
*) 0 ;
8795 PyObject
*swig_obj
[1] ;
8797 if (!args
) SWIG_fail
;
8799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8800 if (!SWIG_IsOK(res1
)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8803 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (bool)(arg1
)->Ok();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8820 PyObject
*resultobj
= 0;
8821 wxIcon
*arg1
= (wxIcon
*) 0 ;
8825 PyObject
*swig_obj
[1] ;
8827 if (!args
) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8833 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (int)(arg1
)->GetWidth();
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_From_int(static_cast< int >(result
));
8847 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8848 PyObject
*resultobj
= 0;
8849 wxIcon
*arg1
= (wxIcon
*) 0 ;
8853 PyObject
*swig_obj
[1] ;
8855 if (!args
) SWIG_fail
;
8857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8858 if (!SWIG_IsOK(res1
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8861 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (int)(arg1
)->GetHeight();
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= SWIG_From_int(static_cast< int >(result
));
8875 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8876 PyObject
*resultobj
= 0;
8877 wxIcon
*arg1
= (wxIcon
*) 0 ;
8881 PyObject
*swig_obj
[1] ;
8883 if (!args
) SWIG_fail
;
8885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8886 if (!SWIG_IsOK(res1
)) {
8887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8889 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (int)(arg1
)->GetDepth();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_From_int(static_cast< int >(result
));
8903 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= 0;
8905 wxIcon
*arg1
= (wxIcon
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 char * kwnames
[] = {
8914 (char *) "self",(char *) "w", NULL
8917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8919 if (!SWIG_IsOK(res1
)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8922 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8924 if (!SWIG_IsOK(ecode2
)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8927 arg2
= static_cast< int >(val2
);
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->SetWidth(arg2
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_Py_Void();
8941 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxIcon
*arg1
= (wxIcon
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8951 char * kwnames
[] = {
8952 (char *) "self",(char *) "h", NULL
8955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8957 if (!SWIG_IsOK(res1
)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8960 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8962 if (!SWIG_IsOK(ecode2
)) {
8963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8965 arg2
= static_cast< int >(val2
);
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetHeight(arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= SWIG_Py_Void();
8979 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
= 0;
8981 wxIcon
*arg1
= (wxIcon
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8989 char * kwnames
[] = {
8990 (char *) "self",(char *) "d", NULL
8993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8995 if (!SWIG_IsOK(res1
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8998 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9000 if (!SWIG_IsOK(ecode2
)) {
9001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9003 arg2
= static_cast< int >(val2
);
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 (arg1
)->SetDepth(arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_Py_Void();
9017 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
= 0;
9019 wxIcon
*arg1
= (wxIcon
*) 0 ;
9020 wxBitmap
*arg2
= 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 char * kwnames
[] = {
9028 (char *) "self",(char *) "bmp", NULL
9031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9033 if (!SWIG_IsOK(res1
)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9036 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9038 if (!SWIG_IsOK(res2
)) {
9039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9044 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_Py_Void();
9058 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9061 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9062 return SWIG_Py_Void();
9065 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9066 return SWIG_Python_InitShadowInstance(args
);
9069 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
= 0;
9071 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9072 int arg2
= (int) 0 ;
9073 wxIconLocation
*result
= 0 ;
9074 bool temp1
= false ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 char * kwnames
[] = {
9080 (char *) "filename",(char *) "num", NULL
9083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9086 arg1
= wxString_in_helper(obj0
);
9087 if (arg1
== NULL
) SWIG_fail
;
9092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9093 if (!SWIG_IsOK(ecode2
)) {
9094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9096 arg2
= static_cast< int >(val2
);
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9119 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9120 PyObject
*resultobj
= 0;
9121 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9124 PyObject
*swig_obj
[1] ;
9126 if (!args
) SWIG_fail
;
9128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9129 if (!SWIG_IsOK(res1
)) {
9130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9132 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_Py_Void();
9147 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9148 PyObject
*resultobj
= 0;
9149 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9153 PyObject
*swig_obj
[1] ;
9155 if (!args
) SWIG_fail
;
9157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9158 if (!SWIG_IsOK(res1
)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9161 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9177 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
= 0;
9179 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9180 wxString
*arg2
= 0 ;
9183 bool temp2
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 char * kwnames
[] = {
9187 (char *) "self",(char *) "filename", NULL
9190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9192 if (!SWIG_IsOK(res1
)) {
9193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9195 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9197 arg2
= wxString_in_helper(obj1
);
9198 if (arg2
== NULL
) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 (arg1
)->SetFileName((wxString
const &)*arg2
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_Py_Void();
9222 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9223 PyObject
*resultobj
= 0;
9224 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9225 wxString
*result
= 0 ;
9228 PyObject
*swig_obj
[1] ;
9230 if (!args
) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9236 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9241 result
= (wxString
*) &_result_ref
;
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9259 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
= 0;
9261 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9269 char * kwnames
[] = {
9270 (char *) "self",(char *) "num", NULL
9273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9275 if (!SWIG_IsOK(res1
)) {
9276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9278 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9280 if (!SWIG_IsOK(ecode2
)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9283 arg2
= static_cast< int >(val2
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxIconLocation_SetIndex(arg1
,arg2
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_Py_Void();
9297 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9298 PyObject
*resultobj
= 0;
9299 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9303 PyObject
*swig_obj
[1] ;
9305 if (!args
) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9311 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (int)wxIconLocation_GetIndex(arg1
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_From_int(static_cast< int >(result
));
9325 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9328 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9329 return SWIG_Py_Void();
9332 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9333 return SWIG_Python_InitShadowInstance(args
);
9336 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9337 PyObject
*resultobj
= 0;
9338 wxIconBundle
*result
= 0 ;
9340 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (wxIconBundle
*)new wxIconBundle();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9354 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxString
*arg1
= 0 ;
9358 wxIconBundle
*result
= 0 ;
9359 bool temp1
= false ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "file",(char *) "type", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9370 arg1
= wxString_in_helper(obj0
);
9371 if (arg1
== NULL
) SWIG_fail
;
9374 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9375 if (!SWIG_IsOK(ecode2
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9378 arg2
= static_cast< long >(val2
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9400 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
= 0;
9403 wxIconBundle
*result
= 0 ;
9406 PyObject
* obj0
= 0 ;
9407 char * kwnames
[] = {
9408 (char *) "icon", NULL
9411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9412 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9413 if (!SWIG_IsOK(res1
)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9419 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9433 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9434 PyObject
*resultobj
= 0;
9435 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9438 PyObject
*swig_obj
[1] ;
9440 if (!args
) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9446 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_Py_Void();
9461 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
= 0;
9463 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9471 char * kwnames
[] = {
9472 (char *) "self",(char *) "icon", NULL
9475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9477 if (!SWIG_IsOK(res1
)) {
9478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9480 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9482 if (!SWIG_IsOK(res2
)) {
9483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9488 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_Py_Void();
9502 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
= 0;
9504 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9505 wxString
*arg2
= 0 ;
9509 bool temp2
= false ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9515 char * kwnames
[] = {
9516 (char *) "self",(char *) "file",(char *) "type", NULL
9519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9521 if (!SWIG_IsOK(res1
)) {
9522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9524 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9526 arg2
= wxString_in_helper(obj1
);
9527 if (arg2
== NULL
) SWIG_fail
;
9530 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9531 if (!SWIG_IsOK(ecode3
)) {
9532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9534 arg3
= static_cast< long >(val3
);
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_Py_Void();
9556 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
= 0;
9558 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9560 wxIcon
*result
= 0 ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9566 char * kwnames
[] = {
9567 (char *) "self",(char *) "size", NULL
9570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9572 if (!SWIG_IsOK(res1
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9575 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9584 result
= (wxIcon
*) &_result_ref
;
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 wxIcon
* resultptr
= new wxIcon(*result
);
9591 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9599 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9602 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9603 return SWIG_Py_Void();
9606 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9607 return SWIG_Python_InitShadowInstance(args
);
9610 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
= 0;
9612 wxString
*arg1
= 0 ;
9614 int arg3
= (int) 0 ;
9615 int arg4
= (int) 0 ;
9616 wxCursor
*result
= 0 ;
9617 bool temp1
= false ;
9624 PyObject
* obj0
= 0 ;
9625 PyObject
* obj1
= 0 ;
9626 PyObject
* obj2
= 0 ;
9627 PyObject
* obj3
= 0 ;
9628 char * kwnames
[] = {
9629 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9634 arg1
= wxString_in_helper(obj0
);
9635 if (arg1
== NULL
) SWIG_fail
;
9638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9639 if (!SWIG_IsOK(ecode2
)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9642 arg2
= static_cast< long >(val2
);
9644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9645 if (!SWIG_IsOK(ecode3
)) {
9646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9648 arg3
= static_cast< int >(val3
);
9651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9652 if (!SWIG_IsOK(ecode4
)) {
9653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9655 arg4
= static_cast< int >(val4
);
9658 if (!wxPyCheckForApp()) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9679 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9680 PyObject
*resultobj
= 0;
9681 wxCursor
*arg1
= (wxCursor
*) 0 ;
9684 PyObject
*swig_obj
[1] ;
9686 if (!args
) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9692 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_Py_Void();
9707 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9710 wxCursor
*result
= 0 ;
9713 PyObject
* obj0
= 0 ;
9714 char * kwnames
[] = {
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9720 if (!SWIG_IsOK(ecode1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9723 arg1
= static_cast< int >(val1
);
9725 if (!wxPyCheckForApp()) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (wxCursor
*)new wxCursor(arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9738 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
= 0;
9741 wxCursor
*result
= 0 ;
9744 PyObject
* obj0
= 0 ;
9745 char * kwnames
[] = {
9746 (char *) "image", NULL
9749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9757 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9759 if (!wxPyCheckForApp()) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9772 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9773 PyObject
*resultobj
= 0;
9774 wxCursor
*arg1
= (wxCursor
*) 0 ;
9778 PyObject
*swig_obj
[1] ;
9780 if (!args
) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9786 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)(arg1
)->Ok();
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9802 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9805 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9806 return SWIG_Py_Void();
9809 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9810 return SWIG_Python_InitShadowInstance(args
);
9813 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 int arg1
= (int) 0 ;
9816 int arg2
= (int) 0 ;
9817 int arg3
= (int) 0 ;
9818 int arg4
= (int) 0 ;
9819 wxRegion
*result
= 0 ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9830 PyObject
* obj2
= 0 ;
9831 PyObject
* obj3
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9839 if (!SWIG_IsOK(ecode1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9842 arg1
= static_cast< int >(val1
);
9845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9846 if (!SWIG_IsOK(ecode2
)) {
9847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9849 arg2
= static_cast< int >(val2
);
9852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9853 if (!SWIG_IsOK(ecode3
)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9856 arg3
= static_cast< int >(val3
);
9859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9860 if (!SWIG_IsOK(ecode4
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9863 arg4
= static_cast< int >(val4
);
9866 if (!wxPyCheckForApp()) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9879 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
= 0;
9881 wxBitmap
*arg1
= 0 ;
9882 wxRegion
*result
= 0 ;
9885 PyObject
* obj0
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "bmp", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9898 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9900 if (!wxPyCheckForApp()) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9913 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
= 0;
9915 wxBitmap
*arg1
= 0 ;
9916 wxColour
*arg2
= 0 ;
9917 int arg3
= (int) 0 ;
9918 wxRegion
*result
= 0 ;
9924 PyObject
* obj0
= 0 ;
9925 PyObject
* obj1
= 0 ;
9926 PyObject
* obj2
= 0 ;
9927 char * kwnames
[] = {
9928 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9932 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9933 if (!SWIG_IsOK(res1
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9939 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9942 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9946 if (!SWIG_IsOK(ecode3
)) {
9947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9949 arg3
= static_cast< int >(val3
);
9952 if (!wxPyCheckForApp()) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9965 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
= 0;
9968 wxPoint
*arg2
= (wxPoint
*) 0 ;
9969 int arg3
= (int) wxWINDING_RULE
;
9970 wxRegion
*result
= 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9975 char * kwnames
[] = {
9976 (char *) "points",(char *) "fillStyle", NULL
9979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9981 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9982 if (arg2
== NULL
) SWIG_fail
;
9985 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
9986 if (!SWIG_IsOK(ecode3
)) {
9987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
9989 arg3
= static_cast< int >(val3
);
9992 if (!wxPyCheckForApp()) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10000 if (arg2
) delete [] arg2
;
10005 if (arg2
) delete [] arg2
;
10011 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10012 PyObject
*resultobj
= 0;
10013 wxRegion
*arg1
= (wxRegion
*) 0 ;
10016 PyObject
*swig_obj
[1] ;
10018 if (!args
) SWIG_fail
;
10019 swig_obj
[0] = args
;
10020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10021 if (!SWIG_IsOK(res1
)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10024 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_Py_Void();
10039 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10040 PyObject
*resultobj
= 0;
10041 wxRegion
*arg1
= (wxRegion
*) 0 ;
10044 PyObject
*swig_obj
[1] ;
10046 if (!args
) SWIG_fail
;
10047 swig_obj
[0] = args
;
10048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10052 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_Py_Void();
10066 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
= 0;
10068 wxRegion
*arg1
= (wxRegion
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 PyObject
* obj2
= 0 ;
10081 char * kwnames
[] = {
10082 (char *) "self",(char *) "x",(char *) "y", NULL
10085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10087 if (!SWIG_IsOK(res1
)) {
10088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10092 if (!SWIG_IsOK(ecode2
)) {
10093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10095 arg2
= static_cast< int >(val2
);
10096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10097 if (!SWIG_IsOK(ecode3
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10100 arg3
= static_cast< int >(val3
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
= 0;
10118 wxRegion
*arg1
= (wxRegion
*) 0 ;
10121 wxRegionContain result
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 char * kwnames
[] = {
10132 (char *) "self",(char *) "x",(char *) "y", NULL
10135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10140 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10142 if (!SWIG_IsOK(ecode2
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10145 arg2
= static_cast< int >(val2
);
10146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10147 if (!SWIG_IsOK(ecode3
)) {
10148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10150 arg3
= static_cast< int >(val3
);
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= SWIG_From_int(static_cast< int >(result
));
10164 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
= 0;
10166 wxRegion
*arg1
= (wxRegion
*) 0 ;
10167 wxPoint
*arg2
= 0 ;
10168 wxRegionContain result
;
10172 PyObject
* obj0
= 0 ;
10173 PyObject
* obj1
= 0 ;
10174 char * kwnames
[] = {
10175 (char *) "self",(char *) "pt", NULL
10178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10180 if (!SWIG_IsOK(res1
)) {
10181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_From_int(static_cast< int >(result
));
10201 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
= 0;
10203 wxRegion
*arg1
= (wxRegion
*) 0 ;
10205 wxRegionContain result
;
10209 PyObject
* obj0
= 0 ;
10210 PyObject
* obj1
= 0 ;
10211 char * kwnames
[] = {
10212 (char *) "self",(char *) "rect", NULL
10215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10217 if (!SWIG_IsOK(res1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10220 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10223 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int(static_cast< int >(result
));
10238 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
= 0;
10240 wxRegion
*arg1
= (wxRegion
*) 0 ;
10245 wxRegionContain result
;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 PyObject
* obj2
= 0 ;
10259 PyObject
* obj3
= 0 ;
10260 PyObject
* obj4
= 0 ;
10261 char * kwnames
[] = {
10262 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10267 if (!SWIG_IsOK(res1
)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10270 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10272 if (!SWIG_IsOK(ecode2
)) {
10273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10275 arg2
= static_cast< int >(val2
);
10276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10277 if (!SWIG_IsOK(ecode3
)) {
10278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10280 arg3
= static_cast< int >(val3
);
10281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10282 if (!SWIG_IsOK(ecode4
)) {
10283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10285 arg4
= static_cast< int >(val4
);
10286 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10287 if (!SWIG_IsOK(ecode5
)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10290 arg5
= static_cast< int >(val5
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_From_int(static_cast< int >(result
));
10304 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10305 PyObject
*resultobj
= 0;
10306 wxRegion
*arg1
= (wxRegion
*) 0 ;
10310 PyObject
*swig_obj
[1] ;
10312 if (!args
) SWIG_fail
;
10313 swig_obj
[0] = args
;
10314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10318 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (arg1
)->GetBox();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10332 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 wxRegion
*arg1
= (wxRegion
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 PyObject
* obj4
= 0 ;
10355 char * kwnames
[] = {
10356 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10364 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10366 if (!SWIG_IsOK(ecode2
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10369 arg2
= static_cast< int >(val2
);
10370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10371 if (!SWIG_IsOK(ecode3
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10374 arg3
= static_cast< int >(val3
);
10375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10376 if (!SWIG_IsOK(ecode4
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10379 arg4
= static_cast< int >(val4
);
10380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10381 if (!SWIG_IsOK(ecode5
)) {
10382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10384 arg5
= static_cast< int >(val5
);
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10400 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
= 0;
10402 wxRegion
*arg1
= (wxRegion
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 char * kwnames
[] = {
10411 (char *) "self",(char *) "rect", NULL
10414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10416 if (!SWIG_IsOK(res1
)) {
10417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10419 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10422 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
= 0;
10441 wxRegion
*arg1
= (wxRegion
*) 0 ;
10442 wxRegion
*arg2
= 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char * kwnames
[] = {
10451 (char *) "self",(char *) "region", NULL
10454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10459 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10461 if (!SWIG_IsOK(res2
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10467 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10483 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10484 PyObject
*resultobj
= 0;
10485 wxRegion
*arg1
= (wxRegion
*) 0 ;
10489 PyObject
*swig_obj
[1] ;
10491 if (!args
) SWIG_fail
;
10492 swig_obj
[0] = args
;
10493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10497 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (bool)(arg1
)->IsEmpty();
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10513 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
= 0;
10515 wxRegion
*arg1
= (wxRegion
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 PyObject
* obj2
= 0 ;
10534 PyObject
* obj3
= 0 ;
10535 PyObject
* obj4
= 0 ;
10536 char * kwnames
[] = {
10537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10547 if (!SWIG_IsOK(ecode2
)) {
10548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10550 arg2
= static_cast< int >(val2
);
10551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10552 if (!SWIG_IsOK(ecode3
)) {
10553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10555 arg3
= static_cast< int >(val3
);
10556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10557 if (!SWIG_IsOK(ecode4
)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10560 arg4
= static_cast< int >(val4
);
10561 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10562 if (!SWIG_IsOK(ecode5
)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10565 arg5
= static_cast< int >(val5
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10581 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxRegion
*arg1
= (wxRegion
*) 0 ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char * kwnames
[] = {
10592 (char *) "self",(char *) "rect", NULL
10595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10597 if (!SWIG_IsOK(res1
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10600 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10603 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10620 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= 0;
10622 wxRegion
*arg1
= (wxRegion
*) 0 ;
10623 wxRegion
*arg2
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char * kwnames
[] = {
10632 (char *) "self",(char *) "region", NULL
10635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10640 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10642 if (!SWIG_IsOK(res2
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10648 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxRegion
*arg1
= (wxRegion
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 PyObject
* obj2
= 0 ;
10685 PyObject
* obj3
= 0 ;
10686 PyObject
* obj4
= 0 ;
10687 char * kwnames
[] = {
10688 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10693 if (!SWIG_IsOK(res1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10696 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10698 if (!SWIG_IsOK(ecode2
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10701 arg2
= static_cast< int >(val2
);
10702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10703 if (!SWIG_IsOK(ecode3
)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10706 arg3
= static_cast< int >(val3
);
10707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10708 if (!SWIG_IsOK(ecode4
)) {
10709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10711 arg4
= static_cast< int >(val4
);
10712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10713 if (!SWIG_IsOK(ecode5
)) {
10714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10716 arg5
= static_cast< int >(val5
);
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10732 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
= 0;
10734 wxRegion
*arg1
= (wxRegion
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 char * kwnames
[] = {
10743 (char *) "self",(char *) "rect", NULL
10746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10751 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10754 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10771 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
= 0;
10773 wxRegion
*arg1
= (wxRegion
*) 0 ;
10774 wxRegion
*arg2
= 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "region", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10791 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10793 if (!SWIG_IsOK(res2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10799 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10815 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
= 0;
10817 wxRegion
*arg1
= (wxRegion
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 PyObject
* obj2
= 0 ;
10836 PyObject
* obj3
= 0 ;
10837 PyObject
* obj4
= 0 ;
10838 char * kwnames
[] = {
10839 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10844 if (!SWIG_IsOK(res1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10847 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10849 if (!SWIG_IsOK(ecode2
)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10852 arg2
= static_cast< int >(val2
);
10853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10854 if (!SWIG_IsOK(ecode3
)) {
10855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10857 arg3
= static_cast< int >(val3
);
10858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10859 if (!SWIG_IsOK(ecode4
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10862 arg4
= static_cast< int >(val4
);
10863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10864 if (!SWIG_IsOK(ecode5
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10867 arg5
= static_cast< int >(val5
);
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10883 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxRegion
*arg1
= (wxRegion
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char * kwnames
[] = {
10894 (char *) "self",(char *) "rect", NULL
10897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10902 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
= 0;
10924 wxRegion
*arg1
= (wxRegion
*) 0 ;
10925 wxRegion
*arg2
= 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char * kwnames
[] = {
10934 (char *) "self",(char *) "region", NULL
10937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10942 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10944 if (!SWIG_IsOK(res2
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10950 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10966 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10967 PyObject
*resultobj
= 0;
10968 wxRegion
*arg1
= (wxRegion
*) 0 ;
10969 SwigValueWrapper
<wxBitmap
> result
;
10972 PyObject
*swig_obj
[1] ;
10974 if (!args
) SWIG_fail
;
10975 swig_obj
[0] = args
;
10976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10980 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (arg1
)->ConvertToBitmap();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
10994 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxRegion
*arg1
= (wxRegion
*) 0 ;
10997 wxBitmap
*arg2
= 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char * kwnames
[] = {
11006 (char *) "self",(char *) "bmp", NULL
11009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11014 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11016 if (!SWIG_IsOK(res2
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11022 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= 0;
11040 wxRegion
*arg1
= (wxRegion
*) 0 ;
11041 wxBitmap
*arg2
= 0 ;
11042 wxColour
*arg3
= 0 ;
11043 int arg4
= (int) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 PyObject
* obj3
= 0 ;
11056 char * kwnames
[] = {
11057 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11062 if (!SWIG_IsOK(res1
)) {
11063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11065 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11067 if (!SWIG_IsOK(res2
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11073 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11076 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11080 if (!SWIG_IsOK(ecode4
)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11083 arg4
= static_cast< int >(val4
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11103 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11104 return SWIG_Py_Void();
11107 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11108 return SWIG_Python_InitShadowInstance(args
);
11111 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
= 0;
11113 wxRegion
*arg1
= 0 ;
11114 wxRegionIterator
*result
= 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "region", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11123 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11130 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11132 if (!wxPyCheckForApp()) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11145 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11146 PyObject
*resultobj
= 0;
11147 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11150 PyObject
*swig_obj
[1] ;
11152 if (!args
) SWIG_fail
;
11153 swig_obj
[0] = args
;
11154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11155 if (!SWIG_IsOK(res1
)) {
11156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11158 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_Py_Void();
11173 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11174 PyObject
*resultobj
= 0;
11175 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11179 PyObject
*swig_obj
[1] ;
11181 if (!args
) SWIG_fail
;
11182 swig_obj
[0] = args
;
11183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11187 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (int)(arg1
)->GetX();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= SWIG_From_int(static_cast< int >(result
));
11201 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11202 PyObject
*resultobj
= 0;
11203 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11207 PyObject
*swig_obj
[1] ;
11209 if (!args
) SWIG_fail
;
11210 swig_obj
[0] = args
;
11211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11212 if (!SWIG_IsOK(res1
)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11215 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (int)(arg1
)->GetY();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= SWIG_From_int(static_cast< int >(result
));
11229 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11230 PyObject
*resultobj
= 0;
11231 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11235 PyObject
*swig_obj
[1] ;
11237 if (!args
) SWIG_fail
;
11238 swig_obj
[0] = args
;
11239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11240 if (!SWIG_IsOK(res1
)) {
11241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11243 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (int)(arg1
)->GetW();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= SWIG_From_int(static_cast< int >(result
));
11257 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11258 PyObject
*resultobj
= 0;
11259 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11263 PyObject
*swig_obj
[1] ;
11265 if (!args
) SWIG_fail
;
11266 swig_obj
[0] = args
;
11267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11268 if (!SWIG_IsOK(res1
)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11271 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (int)(arg1
)->GetWidth();
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_From_int(static_cast< int >(result
));
11285 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11286 PyObject
*resultobj
= 0;
11287 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11291 PyObject
*swig_obj
[1] ;
11293 if (!args
) SWIG_fail
;
11294 swig_obj
[0] = args
;
11295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11299 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (int)(arg1
)->GetH();
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= SWIG_From_int(static_cast< int >(result
));
11313 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11314 PyObject
*resultobj
= 0;
11315 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11319 PyObject
*swig_obj
[1] ;
11321 if (!args
) SWIG_fail
;
11322 swig_obj
[0] = args
;
11323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11324 if (!SWIG_IsOK(res1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11327 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (int)(arg1
)->GetHeight();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_From_int(static_cast< int >(result
));
11341 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11342 PyObject
*resultobj
= 0;
11343 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11347 PyObject
*swig_obj
[1] ;
11349 if (!args
) SWIG_fail
;
11350 swig_obj
[0] = args
;
11351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11352 if (!SWIG_IsOK(res1
)) {
11353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11355 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (arg1
)->GetRect();
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11369 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11383 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (bool)(arg1
)->HaveRects();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11399 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11400 PyObject
*resultobj
= 0;
11401 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11404 PyObject
*swig_obj
[1] ;
11406 if (!args
) SWIG_fail
;
11407 swig_obj
[0] = args
;
11408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11412 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_Py_Void();
11426 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11427 PyObject
*resultobj
= 0;
11428 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11439 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 wxRegionIterator_Next(arg1
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_Py_Void();
11453 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11467 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11483 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11486 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11487 return SWIG_Py_Void();
11490 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11491 return SWIG_Python_InitShadowInstance(args
);
11494 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11495 PyObject
*resultobj
= 0;
11496 wxNativeFontInfo
*result
= 0 ;
11498 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11512 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11513 PyObject
*resultobj
= 0;
11514 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11517 PyObject
*swig_obj
[1] ;
11519 if (!args
) SWIG_fail
;
11520 swig_obj
[0] = args
;
11521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11522 if (!SWIG_IsOK(res1
)) {
11523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11525 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_Py_Void();
11540 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11541 PyObject
*resultobj
= 0;
11542 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11545 PyObject
*swig_obj
[1] ;
11547 if (!args
) SWIG_fail
;
11548 swig_obj
[0] = args
;
11549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11553 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_Py_Void();
11567 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
= 0;
11569 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 char * kwnames
[] = {
11578 (char *) "self",(char *) "font", NULL
11581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11583 if (!SWIG_IsOK(res1
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11586 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11588 if (!SWIG_IsOK(res2
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11594 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_Py_Void();
11608 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11609 PyObject
*resultobj
= 0;
11610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11614 PyObject
*swig_obj
[1] ;
11616 if (!args
) SWIG_fail
;
11617 swig_obj
[0] = args
;
11618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11619 if (!SWIG_IsOK(res1
)) {
11620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11622 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= SWIG_From_int(static_cast< int >(result
));
11636 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11637 PyObject
*resultobj
= 0;
11638 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11639 wxFontStyle result
;
11642 PyObject
*swig_obj
[1] ;
11644 if (!args
) SWIG_fail
;
11645 swig_obj
[0] = args
;
11646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11650 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_From_int(static_cast< int >(result
));
11664 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 PyObject
*resultobj
= 0;
11666 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11667 wxFontWeight result
;
11670 PyObject
*swig_obj
[1] ;
11672 if (!args
) SWIG_fail
;
11673 swig_obj
[0] = args
;
11674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11678 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_From_int(static_cast< int >(result
));
11692 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 PyObject
*resultobj
= 0;
11694 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11698 PyObject
*swig_obj
[1] ;
11700 if (!args
) SWIG_fail
;
11701 swig_obj
[0] = args
;
11702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11706 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11722 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11728 PyObject
*swig_obj
[1] ;
11730 if (!args
) SWIG_fail
;
11731 swig_obj
[0] = args
;
11732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11733 if (!SWIG_IsOK(res1
)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11736 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11756 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11757 PyObject
*resultobj
= 0;
11758 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11759 wxFontFamily result
;
11762 PyObject
*swig_obj
[1] ;
11764 if (!args
) SWIG_fail
;
11765 swig_obj
[0] = args
;
11766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11770 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_From_int(static_cast< int >(result
));
11784 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11787 wxFontEncoding result
;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11798 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int(static_cast< int >(result
));
11812 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
= 0;
11814 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char * kwnames
[] = {
11823 (char *) "self",(char *) "pointsize", NULL
11826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11828 if (!SWIG_IsOK(res1
)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11831 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11833 if (!SWIG_IsOK(ecode2
)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11836 arg2
= static_cast< int >(val2
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->SetPointSize(arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_Py_Void();
11850 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
= 0;
11852 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 char * kwnames
[] = {
11861 (char *) "self",(char *) "style", NULL
11864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11869 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11871 if (!SWIG_IsOK(ecode2
)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11874 arg2
= static_cast< wxFontStyle
>(val2
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 (arg1
)->SetStyle(arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_Py_Void();
11888 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
= 0;
11890 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11891 wxFontWeight arg2
;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 char * kwnames
[] = {
11899 (char *) "self",(char *) "weight", NULL
11902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11907 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11909 if (!SWIG_IsOK(ecode2
)) {
11910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11912 arg2
= static_cast< wxFontWeight
>(val2
);
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->SetWeight(arg2
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_Py_Void();
11926 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
= 0;
11928 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 char * kwnames
[] = {
11937 (char *) "self",(char *) "underlined", NULL
11940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11945 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11946 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11947 if (!SWIG_IsOK(ecode2
)) {
11948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11950 arg2
= static_cast< bool >(val2
);
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->SetUnderlined(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_Py_Void();
11964 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
= 0;
11966 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char * kwnames
[] = {
11974 (char *) "self",(char *) "facename", NULL
11977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11982 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11984 wxString
* sptr
= wxString_in_helper(obj1
);
11985 if (sptr
== NULL
) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)(arg1
)->SetFaceName(arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
= 0;
12006 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12007 wxFontFamily arg2
;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char * kwnames
[] = {
12015 (char *) "self",(char *) "family", NULL
12018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12023 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12025 if (!SWIG_IsOK(ecode2
)) {
12026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12028 arg2
= static_cast< wxFontFamily
>(val2
);
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->SetFamily(arg2
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= SWIG_Py_Void();
12042 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
= 0;
12044 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12045 wxFontEncoding arg2
;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char * kwnames
[] = {
12053 (char *) "self",(char *) "encoding", NULL
12056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12061 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12063 if (!SWIG_IsOK(ecode2
)) {
12064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12066 arg2
= static_cast< wxFontEncoding
>(val2
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 (arg1
)->SetEncoding(arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_Py_Void();
12080 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
= 0;
12082 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12083 wxString
*arg2
= 0 ;
12087 bool temp2
= false ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char * kwnames
[] = {
12091 (char *) "self",(char *) "s", NULL
12094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12096 if (!SWIG_IsOK(res1
)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12099 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12101 arg2
= wxString_in_helper(obj1
);
12102 if (arg2
== NULL
) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12142 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12162 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12168 PyObject
*swig_obj
[1] ;
12170 if (!args
) SWIG_fail
;
12171 swig_obj
[0] = args
;
12172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12176 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= wxNativeFontInfo___str__(arg1
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12196 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12199 wxString
*arg2
= 0 ;
12203 bool temp2
= false ;
12204 PyObject
* obj0
= 0 ;
12205 PyObject
* obj1
= 0 ;
12206 char * kwnames
[] = {
12207 (char *) "self",(char *) "s", NULL
12210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12215 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12217 arg2
= wxString_in_helper(obj1
);
12218 if (arg2
== NULL
) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12244 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12245 PyObject
*resultobj
= 0;
12246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12250 PyObject
*swig_obj
[1] ;
12252 if (!args
) SWIG_fail
;
12253 swig_obj
[0] = args
;
12254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12255 if (!SWIG_IsOK(res1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12258 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12278 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12281 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12282 return SWIG_Py_Void();
12285 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12286 return SWIG_Python_InitShadowInstance(args
);
12289 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12290 PyObject
*resultobj
= 0;
12291 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12292 wxString
*arg2
= (wxString
*) 0 ;
12295 bool temp2
= false ;
12296 PyObject
*swig_obj
[2] ;
12298 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12300 if (!SWIG_IsOK(res1
)) {
12301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12303 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12305 arg2
= wxString_in_helper(swig_obj
[1]);
12306 if (arg2
== NULL
) SWIG_fail
;
12309 if (arg1
) (arg1
)->facename
= *arg2
;
12311 resultobj
= SWIG_Py_Void();
12326 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12327 PyObject
*resultobj
= 0;
12328 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12329 wxString
*result
= 0 ;
12332 PyObject
*swig_obj
[1] ;
12334 if (!args
) SWIG_fail
;
12335 swig_obj
[0] = args
;
12336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12337 if (!SWIG_IsOK(res1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12340 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12341 result
= (wxString
*)& ((arg1
)->facename
);
12344 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12346 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12355 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12356 PyObject
*resultobj
= 0;
12357 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12358 wxFontEncoding arg2
;
12363 PyObject
*swig_obj
[2] ;
12365 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12367 if (!SWIG_IsOK(res1
)) {
12368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12370 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12371 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12372 if (!SWIG_IsOK(ecode2
)) {
12373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12375 arg2
= static_cast< wxFontEncoding
>(val2
);
12376 if (arg1
) (arg1
)->encoding
= arg2
;
12378 resultobj
= SWIG_Py_Void();
12385 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12386 PyObject
*resultobj
= 0;
12387 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12388 wxFontEncoding result
;
12391 PyObject
*swig_obj
[1] ;
12393 if (!args
) SWIG_fail
;
12394 swig_obj
[0] = args
;
12395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12396 if (!SWIG_IsOK(res1
)) {
12397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12399 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12400 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12401 resultobj
= SWIG_From_int(static_cast< int >(result
));
12408 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 PyObject
*resultobj
= 0;
12410 wxNativeEncodingInfo
*result
= 0 ;
12412 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12426 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 PyObject
*resultobj
= 0;
12428 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12431 PyObject
*swig_obj
[1] ;
12433 if (!args
) SWIG_fail
;
12434 swig_obj
[0] = args
;
12435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12439 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_Py_Void();
12454 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12457 wxString
*arg2
= 0 ;
12461 bool temp2
= false ;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "self",(char *) "s", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12473 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12475 arg2
= wxString_in_helper(obj1
);
12476 if (arg2
== NULL
) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12502 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 PyObject
*resultobj
= 0;
12504 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12508 PyObject
*swig_obj
[1] ;
12510 if (!args
) SWIG_fail
;
12511 swig_obj
[0] = args
;
12512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12516 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12536 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12539 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12540 return SWIG_Py_Void();
12543 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 return SWIG_Python_InitShadowInstance(args
);
12547 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
= 0;
12549 wxFontEncoding arg1
;
12550 wxNativeEncodingInfo
*result
= 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char * kwnames
[] = {
12555 (char *) "encoding", NULL
12558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12559 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12560 if (!SWIG_IsOK(ecode1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12563 arg1
= static_cast< wxFontEncoding
>(val1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12577 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
= 0;
12579 wxNativeEncodingInfo
*arg1
= 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char * kwnames
[] = {
12585 (char *) "info", NULL
12588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12590 if (!SWIG_IsOK(res1
)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12596 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12612 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxFontMapper
*result
= 0 ;
12616 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (wxFontMapper
*)new wxFontMapper();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12630 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12631 PyObject
*resultobj
= 0;
12632 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12635 PyObject
*swig_obj
[1] ;
12637 if (!args
) SWIG_fail
;
12638 swig_obj
[0] = args
;
12639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12643 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_Py_Void();
12658 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12659 PyObject
*resultobj
= 0;
12660 wxFontMapper
*result
= 0 ;
12662 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (wxFontMapper
*)wxFontMapper::Get();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12676 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
= 0;
12678 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12679 wxFontMapper
*result
= 0 ;
12682 PyObject
* obj0
= 0 ;
12683 char * kwnames
[] = {
12684 (char *) "mapper", NULL
12687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12689 if (!SWIG_IsOK(res1
)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12692 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12706 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= 0;
12708 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12709 wxString
*arg2
= 0 ;
12710 bool arg3
= (bool) true ;
12711 wxFontEncoding result
;
12714 bool temp2
= false ;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 PyObject
* obj2
= 0 ;
12720 char * kwnames
[] = {
12721 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12729 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12731 arg2
= wxString_in_helper(obj1
);
12732 if (arg2
== NULL
) SWIG_fail
;
12736 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12737 if (!SWIG_IsOK(ecode3
)) {
12738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12740 arg3
= static_cast< bool >(val3
);
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_From_int(static_cast< int >(result
));
12763 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12764 PyObject
*resultobj
= 0;
12767 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12781 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12784 wxFontEncoding result
;
12787 PyObject
* obj0
= 0 ;
12788 char * kwnames
[] = {
12792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12793 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12794 if (!SWIG_IsOK(ecode1
)) {
12795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12797 arg1
= static_cast< size_t >(val1
);
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_From_int(static_cast< int >(result
));
12811 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
= 0;
12813 wxFontEncoding arg1
;
12817 PyObject
* obj0
= 0 ;
12818 char * kwnames
[] = {
12819 (char *) "encoding", NULL
12822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12823 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12824 if (!SWIG_IsOK(ecode1
)) {
12825 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12827 arg1
= static_cast< wxFontEncoding
>(val1
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= wxFontMapper::GetEncodingName(arg1
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12847 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
= 0;
12849 wxFontEncoding arg1
;
12853 PyObject
* obj0
= 0 ;
12854 char * kwnames
[] = {
12855 (char *) "encoding", NULL
12858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12859 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12860 if (!SWIG_IsOK(ecode1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12863 arg1
= static_cast< wxFontEncoding
>(val1
);
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= wxFontMapper::GetEncodingDescription(arg1
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12883 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxString
*arg1
= 0 ;
12886 wxFontEncoding result
;
12887 bool temp1
= false ;
12888 PyObject
* obj0
= 0 ;
12889 char * kwnames
[] = {
12890 (char *) "name", NULL
12893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12895 arg1
= wxString_in_helper(obj0
);
12896 if (arg1
== NULL
) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_From_int(static_cast< int >(result
));
12920 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
= 0;
12922 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12923 wxString
*arg2
= 0 ;
12926 bool temp2
= false ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "prefix", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12938 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12940 arg2
= wxString_in_helper(obj1
);
12941 if (arg2
== NULL
) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_Py_Void();
12965 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 PyObject
*resultobj
= 0;
12969 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= wxFontMapper::GetDefaultConfigPath();
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12989 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12991 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12992 wxFontEncoding arg2
;
12993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12995 bool arg4
= (bool) true ;
12996 PyObject
*result
= 0 ;
13001 bool temp3
= false ;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 PyObject
* obj2
= 0 ;
13007 PyObject
* obj3
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13017 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13019 if (!SWIG_IsOK(ecode2
)) {
13020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13022 arg2
= static_cast< wxFontEncoding
>(val2
);
13025 arg3
= wxString_in_helper(obj2
);
13026 if (arg3
== NULL
) SWIG_fail
;
13031 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13032 if (!SWIG_IsOK(ecode4
)) {
13033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13035 arg4
= static_cast< bool >(val4
);
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= result
;
13058 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
= 0;
13060 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13061 wxFontEncoding arg2
;
13062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13069 bool temp3
= false ;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 PyObject
* obj2
= 0 ;
13073 char * kwnames
[] = {
13074 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13079 if (!SWIG_IsOK(res1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13082 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13084 if (!SWIG_IsOK(ecode2
)) {
13085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13087 arg2
= static_cast< wxFontEncoding
>(val2
);
13090 arg3
= wxString_in_helper(obj2
);
13091 if (arg3
== NULL
) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13118 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13121 wxWindow
*arg2
= (wxWindow
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 PyObject
* obj1
= 0 ;
13128 char * kwnames
[] = {
13129 (char *) "self",(char *) "parent", NULL
13132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13134 if (!SWIG_IsOK(res1
)) {
13135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13137 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13139 if (!SWIG_IsOK(res2
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13142 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->SetDialogParent(arg2
);
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_Py_Void();
13156 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
= 0;
13158 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13159 wxString
*arg2
= 0 ;
13162 bool temp2
= false ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 char * kwnames
[] = {
13166 (char *) "self",(char *) "title", NULL
13169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13171 if (!SWIG_IsOK(res1
)) {
13172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13174 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13176 arg2
= wxString_in_helper(obj1
);
13177 if (arg2
== NULL
) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_Py_Void();
13201 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13204 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13205 return SWIG_Py_Void();
13208 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13209 return SWIG_Python_InitShadowInstance(args
);
13212 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
= 0;
13218 bool arg5
= (bool) false ;
13219 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13220 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13221 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13222 wxFont
*result
= 0 ;
13233 bool temp6
= false ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 PyObject
* obj2
= 0 ;
13239 PyObject
* obj3
= 0 ;
13240 PyObject
* obj4
= 0 ;
13241 PyObject
* obj5
= 0 ;
13242 PyObject
* obj6
= 0 ;
13243 char * kwnames
[] = {
13244 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13249 if (!SWIG_IsOK(ecode1
)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13252 arg1
= static_cast< int >(val1
);
13253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13254 if (!SWIG_IsOK(ecode2
)) {
13255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13257 arg2
= static_cast< int >(val2
);
13258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13259 if (!SWIG_IsOK(ecode3
)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13262 arg3
= static_cast< int >(val3
);
13263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13264 if (!SWIG_IsOK(ecode4
)) {
13265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13267 arg4
= static_cast< int >(val4
);
13269 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13270 if (!SWIG_IsOK(ecode5
)) {
13271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13273 arg5
= static_cast< bool >(val5
);
13277 arg6
= wxString_in_helper(obj5
);
13278 if (arg6
== NULL
) SWIG_fail
;
13283 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13284 if (!SWIG_IsOK(ecode7
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13287 arg7
= static_cast< wxFontEncoding
>(val7
);
13290 if (!wxPyCheckForApp()) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13311 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 PyObject
*resultobj
= 0;
13313 wxFont
*arg1
= (wxFont
*) 0 ;
13316 PyObject
*swig_obj
[1] ;
13318 if (!args
) SWIG_fail
;
13319 swig_obj
[0] = args
;
13320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13324 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= SWIG_Py_Void();
13339 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
= 0;
13341 wxNativeFontInfo
*arg1
= 0 ;
13342 wxFont
*result
= 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char * kwnames
[] = {
13347 (char *) "info", NULL
13350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13351 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13352 if (!SWIG_IsOK(res1
)) {
13353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13358 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13360 if (!wxPyCheckForApp()) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13373 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
= 0;
13375 wxString
*arg1
= 0 ;
13376 wxFont
*result
= 0 ;
13377 bool temp1
= false ;
13378 PyObject
* obj0
= 0 ;
13379 char * kwnames
[] = {
13380 (char *) "info", NULL
13383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13385 arg1
= wxString_in_helper(obj0
);
13386 if (arg1
== NULL
) SWIG_fail
;
13390 if (!wxPyCheckForApp()) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13411 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
= 0;
13414 wxFontFamily arg2
;
13415 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13418 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13419 wxFont
*result
= 0 ;
13426 bool temp4
= false ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 PyObject
* obj2
= 0 ;
13432 PyObject
* obj3
= 0 ;
13433 PyObject
* obj4
= 0 ;
13434 char * kwnames
[] = {
13435 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13440 if (!SWIG_IsOK(ecode1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13443 arg1
= static_cast< int >(val1
);
13444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13445 if (!SWIG_IsOK(ecode2
)) {
13446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13448 arg2
= static_cast< wxFontFamily
>(val2
);
13450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13451 if (!SWIG_IsOK(ecode3
)) {
13452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13454 arg3
= static_cast< int >(val3
);
13458 arg4
= wxString_in_helper(obj3
);
13459 if (arg4
== NULL
) SWIG_fail
;
13464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13465 if (!SWIG_IsOK(ecode5
)) {
13466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13468 arg5
= static_cast< wxFontEncoding
>(val5
);
13471 if (!wxPyCheckForApp()) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13492 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
= 0;
13498 bool arg5
= (bool) false ;
13499 wxString
const &arg6_defvalue
= wxEmptyString
;
13500 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13501 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13502 wxFont
*result
= 0 ;
13512 bool temp6
= false ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 PyObject
* obj2
= 0 ;
13518 PyObject
* obj3
= 0 ;
13519 PyObject
* obj4
= 0 ;
13520 PyObject
* obj5
= 0 ;
13521 PyObject
* obj6
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13529 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13532 if (!SWIG_IsOK(ecode2
)) {
13533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13535 arg2
= static_cast< int >(val2
);
13536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13537 if (!SWIG_IsOK(ecode3
)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13540 arg3
= static_cast< int >(val3
);
13541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13542 if (!SWIG_IsOK(ecode4
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13545 arg4
= static_cast< int >(val4
);
13547 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13548 if (!SWIG_IsOK(ecode5
)) {
13549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13551 arg5
= static_cast< bool >(val5
);
13555 arg6
= wxString_in_helper(obj5
);
13556 if (arg6
== NULL
) SWIG_fail
;
13561 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13562 if (!SWIG_IsOK(ecode7
)) {
13563 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13565 arg7
= static_cast< wxFontEncoding
>(val7
);
13568 if (!wxPyCheckForApp()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13589 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13592 wxFontFamily arg2
;
13593 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13594 wxString
const &arg4_defvalue
= wxEmptyString
;
13595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13596 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13597 wxFont
*result
= 0 ;
13603 bool temp4
= false ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 PyObject
* obj2
= 0 ;
13609 PyObject
* obj3
= 0 ;
13610 PyObject
* obj4
= 0 ;
13611 char * kwnames
[] = {
13612 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13618 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13621 if (!SWIG_IsOK(ecode2
)) {
13622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13624 arg2
= static_cast< wxFontFamily
>(val2
);
13626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13627 if (!SWIG_IsOK(ecode3
)) {
13628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13630 arg3
= static_cast< int >(val3
);
13634 arg4
= wxString_in_helper(obj3
);
13635 if (arg4
== NULL
) SWIG_fail
;
13640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13641 if (!SWIG_IsOK(ecode5
)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13644 arg5
= static_cast< wxFontEncoding
>(val5
);
13647 if (!wxPyCheckForApp()) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13668 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13669 PyObject
*resultobj
= 0;
13670 wxFont
*arg1
= (wxFont
*) 0 ;
13674 PyObject
*swig_obj
[1] ;
13676 if (!args
) SWIG_fail
;
13677 swig_obj
[0] = args
;
13678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13679 if (!SWIG_IsOK(res1
)) {
13680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13682 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (bool)((wxFont
const *)arg1
)->Ok();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13698 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxFont
*arg1
= (wxFont
*) 0 ;
13701 wxFont
*arg2
= (wxFont
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char * kwnames
[] = {
13710 (char *) "self",(char *) "other", NULL
13713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13715 if (!SWIG_IsOK(res1
)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13718 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13720 if (!SWIG_IsOK(res2
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13723 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
= 0;
13741 wxFont
*arg1
= (wxFont
*) 0 ;
13742 wxFont
*arg2
= (wxFont
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char * kwnames
[] = {
13751 (char *) "self",(char *) "other", NULL
13754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13756 if (!SWIG_IsOK(res1
)) {
13757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13759 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13761 if (!SWIG_IsOK(res2
)) {
13762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13764 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13780 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13781 PyObject
*resultobj
= 0;
13782 wxFont
*arg1
= (wxFont
*) 0 ;
13786 PyObject
*swig_obj
[1] ;
13788 if (!args
) SWIG_fail
;
13789 swig_obj
[0] = args
;
13790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13794 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_From_int(static_cast< int >(result
));
13808 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13809 PyObject
*resultobj
= 0;
13810 wxFont
*arg1
= (wxFont
*) 0 ;
13814 PyObject
*swig_obj
[1] ;
13816 if (!args
) SWIG_fail
;
13817 swig_obj
[0] = args
;
13818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13822 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13836 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxFont
*arg1
= (wxFont
*) 0 ;
13842 PyObject
*swig_obj
[1] ;
13844 if (!args
) SWIG_fail
;
13845 swig_obj
[0] = args
;
13846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13850 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13866 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13867 PyObject
*resultobj
= 0;
13868 wxFont
*arg1
= (wxFont
*) 0 ;
13872 PyObject
*swig_obj
[1] ;
13874 if (!args
) SWIG_fail
;
13875 swig_obj
[0] = args
;
13876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13880 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_From_int(static_cast< int >(result
));
13894 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13895 PyObject
*resultobj
= 0;
13896 wxFont
*arg1
= (wxFont
*) 0 ;
13900 PyObject
*swig_obj
[1] ;
13902 if (!args
) SWIG_fail
;
13903 swig_obj
[0] = args
;
13904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13905 if (!SWIG_IsOK(res1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13908 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_From_int(static_cast< int >(result
));
13922 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13923 PyObject
*resultobj
= 0;
13924 wxFont
*arg1
= (wxFont
*) 0 ;
13928 PyObject
*swig_obj
[1] ;
13930 if (!args
) SWIG_fail
;
13931 swig_obj
[0] = args
;
13932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13933 if (!SWIG_IsOK(res1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13936 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_From_int(static_cast< int >(result
));
13950 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13951 PyObject
*resultobj
= 0;
13952 wxFont
*arg1
= (wxFont
*) 0 ;
13956 PyObject
*swig_obj
[1] ;
13958 if (!args
) SWIG_fail
;
13959 swig_obj
[0] = args
;
13960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13961 if (!SWIG_IsOK(res1
)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13964 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13980 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13981 PyObject
*resultobj
= 0;
13982 wxFont
*arg1
= (wxFont
*) 0 ;
13986 PyObject
*swig_obj
[1] ;
13988 if (!args
) SWIG_fail
;
13989 swig_obj
[0] = args
;
13990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13991 if (!SWIG_IsOK(res1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
13994 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= ((wxFont
const *)arg1
)->GetFaceName();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14014 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14015 PyObject
*resultobj
= 0;
14016 wxFont
*arg1
= (wxFont
*) 0 ;
14017 wxFontEncoding result
;
14020 PyObject
*swig_obj
[1] ;
14022 if (!args
) SWIG_fail
;
14023 swig_obj
[0] = args
;
14024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14025 if (!SWIG_IsOK(res1
)) {
14026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14028 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= SWIG_From_int(static_cast< int >(result
));
14042 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14043 PyObject
*resultobj
= 0;
14044 wxFont
*arg1
= (wxFont
*) 0 ;
14045 wxNativeFontInfo
*result
= 0 ;
14048 PyObject
*swig_obj
[1] ;
14050 if (!args
) SWIG_fail
;
14051 swig_obj
[0] = args
;
14052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14053 if (!SWIG_IsOK(res1
)) {
14054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14056 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14070 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 PyObject
*resultobj
= 0;
14072 wxFont
*arg1
= (wxFont
*) 0 ;
14076 PyObject
*swig_obj
[1] ;
14078 if (!args
) SWIG_fail
;
14079 swig_obj
[0] = args
;
14080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14084 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14100 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14101 PyObject
*resultobj
= 0;
14102 wxFont
*arg1
= (wxFont
*) 0 ;
14106 PyObject
*swig_obj
[1] ;
14108 if (!args
) SWIG_fail
;
14109 swig_obj
[0] = args
;
14110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14114 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14134 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxFont
*arg1
= (wxFont
*) 0 ;
14140 PyObject
*swig_obj
[1] ;
14142 if (!args
) SWIG_fail
;
14143 swig_obj
[0] = args
;
14144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14145 if (!SWIG_IsOK(res1
)) {
14146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14148 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14168 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
= 0;
14170 wxFont
*arg1
= (wxFont
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 char * kwnames
[] = {
14179 (char *) "self",(char *) "pointSize", NULL
14182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14184 if (!SWIG_IsOK(res1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14187 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14189 if (!SWIG_IsOK(ecode2
)) {
14190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14192 arg2
= static_cast< int >(val2
);
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 (arg1
)->SetPointSize(arg2
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_Py_Void();
14206 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= 0;
14208 wxFont
*arg1
= (wxFont
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 char * kwnames
[] = {
14216 (char *) "self",(char *) "pixelSize", NULL
14219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14221 if (!SWIG_IsOK(res1
)) {
14222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14224 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14227 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= SWIG_Py_Void();
14242 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
= 0;
14244 wxFont
*arg1
= (wxFont
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 char * kwnames
[] = {
14253 (char *) "self",(char *) "family", NULL
14256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14258 if (!SWIG_IsOK(res1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14261 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14263 if (!SWIG_IsOK(ecode2
)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14266 arg2
= static_cast< int >(val2
);
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->SetFamily(arg2
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_Py_Void();
14280 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= 0;
14282 wxFont
*arg1
= (wxFont
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 char * kwnames
[] = {
14291 (char *) "self",(char *) "style", NULL
14294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14299 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14301 if (!SWIG_IsOK(ecode2
)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14304 arg2
= static_cast< int >(val2
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->SetStyle(arg2
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_Py_Void();
14318 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
= 0;
14320 wxFont
*arg1
= (wxFont
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char * kwnames
[] = {
14329 (char *) "self",(char *) "weight", NULL
14332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14337 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14339 if (!SWIG_IsOK(ecode2
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14342 arg2
= static_cast< int >(val2
);
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 (arg1
)->SetWeight(arg2
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_Py_Void();
14356 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxFont
*arg1
= (wxFont
*) 0 ;
14359 wxString
*arg2
= 0 ;
14363 bool temp2
= false ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "self",(char *) "faceName", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14377 arg2
= wxString_in_helper(obj1
);
14378 if (arg2
== NULL
) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
= 0;
14406 wxFont
*arg1
= (wxFont
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char * kwnames
[] = {
14415 (char *) "self",(char *) "underlined", NULL
14418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14423 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14424 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14425 if (!SWIG_IsOK(ecode2
)) {
14426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14428 arg2
= static_cast< bool >(val2
);
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 (arg1
)->SetUnderlined(arg2
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_Py_Void();
14442 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
= 0;
14444 wxFont
*arg1
= (wxFont
*) 0 ;
14445 wxFontEncoding arg2
;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 char * kwnames
[] = {
14453 (char *) "self",(char *) "encoding", NULL
14456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14458 if (!SWIG_IsOK(res1
)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14461 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14463 if (!SWIG_IsOK(ecode2
)) {
14464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14466 arg2
= static_cast< wxFontEncoding
>(val2
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->SetEncoding(arg2
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_Py_Void();
14480 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
= 0;
14482 wxFont
*arg1
= (wxFont
*) 0 ;
14483 wxNativeFontInfo
*arg2
= 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 char * kwnames
[] = {
14491 (char *) "self",(char *) "info", NULL
14494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14499 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14501 if (!SWIG_IsOK(res2
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14507 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_Py_Void();
14521 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
= 0;
14523 wxFont
*arg1
= (wxFont
*) 0 ;
14524 wxString
*arg2
= 0 ;
14528 bool temp2
= false ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char * kwnames
[] = {
14532 (char *) "self",(char *) "info", NULL
14535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14540 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14542 arg2
= wxString_in_helper(obj1
);
14543 if (arg2
== NULL
) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14569 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
= 0;
14571 wxFont
*arg1
= (wxFont
*) 0 ;
14572 wxString
*arg2
= 0 ;
14576 bool temp2
= false ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char * kwnames
[] = {
14580 (char *) "self",(char *) "info", NULL
14583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14588 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14590 arg2
= wxString_in_helper(obj1
);
14591 if (arg2
== NULL
) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14617 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 PyObject
*resultobj
= 0;
14619 wxFont
*arg1
= (wxFont
*) 0 ;
14623 PyObject
*swig_obj
[1] ;
14625 if (!args
) SWIG_fail
;
14626 swig_obj
[0] = args
;
14627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14651 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14652 PyObject
*resultobj
= 0;
14653 wxFont
*arg1
= (wxFont
*) 0 ;
14657 PyObject
*swig_obj
[1] ;
14659 if (!args
) SWIG_fail
;
14660 swig_obj
[0] = args
;
14661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14662 if (!SWIG_IsOK(res1
)) {
14663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14665 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= ((wxFont
const *)arg1
)->GetStyleString();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14685 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14686 PyObject
*resultobj
= 0;
14687 wxFont
*arg1
= (wxFont
*) 0 ;
14691 PyObject
*swig_obj
[1] ;
14693 if (!args
) SWIG_fail
;
14694 swig_obj
[0] = args
;
14695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14696 if (!SWIG_IsOK(res1
)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14699 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= ((wxFont
const *)arg1
)->GetWeightString();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14719 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
= 0;
14721 wxFont
*arg1
= (wxFont
*) 0 ;
14722 bool arg2
= (bool) true ;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj1
= 0 ;
14729 char * kwnames
[] = {
14730 (char *) "self",(char *) "no", NULL
14733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14738 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14741 if (!SWIG_IsOK(ecode2
)) {
14742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14744 arg2
= static_cast< bool >(val2
);
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->SetNoAntiAliasing(arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_Py_Void();
14759 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14760 PyObject
*resultobj
= 0;
14761 wxFont
*arg1
= (wxFont
*) 0 ;
14765 PyObject
*swig_obj
[1] ;
14767 if (!args
) SWIG_fail
;
14768 swig_obj
[0] = args
;
14769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14773 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14789 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14790 PyObject
*resultobj
= 0;
14791 wxFontEncoding result
;
14793 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14795 if (!wxPyCheckForApp()) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_From_int(static_cast< int >(result
));
14808 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= 0;
14810 wxFontEncoding arg1
;
14813 PyObject
* obj0
= 0 ;
14814 char * kwnames
[] = {
14815 (char *) "encoding", NULL
14818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14819 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14820 if (!SWIG_IsOK(ecode1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14823 arg1
= static_cast< wxFontEncoding
>(val1
);
14825 if (!wxPyCheckForApp()) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 wxFont::SetDefaultEncoding(arg1
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_Py_Void();
14838 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14842 return SWIG_Py_Void();
14845 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14846 return SWIG_Python_InitShadowInstance(args
);
14849 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14850 PyObject
*resultobj
= 0;
14851 wxPyFontEnumerator
*result
= 0 ;
14853 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14855 if (!wxPyCheckForApp()) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14868 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14869 PyObject
*resultobj
= 0;
14870 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14873 PyObject
*swig_obj
[1] ;
14875 if (!args
) SWIG_fail
;
14876 swig_obj
[0] = args
;
14877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14878 if (!SWIG_IsOK(res1
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14881 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= SWIG_Py_Void();
14896 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
= 0;
14898 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14899 PyObject
*arg2
= (PyObject
*) 0 ;
14900 PyObject
*arg3
= (PyObject
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 PyObject
* obj2
= 0 ;
14909 PyObject
* obj3
= 0 ;
14910 char * kwnames
[] = {
14911 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14919 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14922 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14923 if (!SWIG_IsOK(ecode4
)) {
14924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14926 arg4
= static_cast< bool >(val4
);
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_Py_Void();
14940 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
= 0;
14942 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14943 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14944 bool arg3
= (bool) false ;
14952 PyObject
* obj0
= 0 ;
14953 PyObject
* obj1
= 0 ;
14954 PyObject
* obj2
= 0 ;
14955 char * kwnames
[] = {
14956 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14964 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14967 if (!SWIG_IsOK(ecode2
)) {
14968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14970 arg2
= static_cast< wxFontEncoding
>(val2
);
14973 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14974 if (!SWIG_IsOK(ecode3
)) {
14975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14977 arg3
= static_cast< bool >(val3
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14994 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
= 0;
14996 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14997 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14998 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15002 bool temp2
= false ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "self",(char *) "facename", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15014 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15017 arg2
= wxString_in_helper(obj1
);
15018 if (arg2
== NULL
) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 PyObject
*result
= 0 ;
15049 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= result
;
15063 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15064 PyObject
*resultobj
= 0;
15065 PyObject
*result
= 0 ;
15067 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= result
;
15081 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
= 0;
15083 wxString
*arg1
= 0 ;
15085 bool temp1
= false ;
15086 PyObject
* obj0
= 0 ;
15087 char * kwnames
[] = {
15088 (char *) "str", NULL
15091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15093 arg1
= wxString_in_helper(obj0
);
15094 if (arg1
== NULL
) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15120 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15123 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15124 return SWIG_Py_Void();
15127 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15128 return SWIG_Python_InitShadowInstance(args
);
15131 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15132 PyObject
*resultobj
= 0;
15133 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15139 PyObject
*swig_obj
[2] ;
15141 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15143 if (!SWIG_IsOK(res1
)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15146 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15147 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15148 if (!SWIG_IsOK(ecode2
)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15151 arg2
= static_cast< int >(val2
);
15152 if (arg1
) (arg1
)->Language
= arg2
;
15154 resultobj
= SWIG_Py_Void();
15161 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15162 PyObject
*resultobj
= 0;
15163 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15167 PyObject
*swig_obj
[1] ;
15169 if (!args
) SWIG_fail
;
15170 swig_obj
[0] = args
;
15171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15172 if (!SWIG_IsOK(res1
)) {
15173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15175 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15176 result
= (int) ((arg1
)->Language
);
15177 resultobj
= SWIG_From_int(static_cast< int >(result
));
15184 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15185 PyObject
*resultobj
= 0;
15186 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15187 wxString
*arg2
= (wxString
*) 0 ;
15190 bool temp2
= false ;
15191 PyObject
*swig_obj
[2] ;
15193 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15195 if (!SWIG_IsOK(res1
)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15198 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15200 arg2
= wxString_in_helper(swig_obj
[1]);
15201 if (arg2
== NULL
) SWIG_fail
;
15204 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15206 resultobj
= SWIG_Py_Void();
15221 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15222 PyObject
*resultobj
= 0;
15223 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15224 wxString
*result
= 0 ;
15227 PyObject
*swig_obj
[1] ;
15229 if (!args
) SWIG_fail
;
15230 swig_obj
[0] = args
;
15231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15232 if (!SWIG_IsOK(res1
)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15235 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15236 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15239 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15241 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15250 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15251 PyObject
*resultobj
= 0;
15252 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15253 wxString
*arg2
= (wxString
*) 0 ;
15256 bool temp2
= false ;
15257 PyObject
*swig_obj
[2] ;
15259 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15264 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15266 arg2
= wxString_in_helper(swig_obj
[1]);
15267 if (arg2
== NULL
) SWIG_fail
;
15270 if (arg1
) (arg1
)->Description
= *arg2
;
15272 resultobj
= SWIG_Py_Void();
15287 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15288 PyObject
*resultobj
= 0;
15289 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15290 wxString
*result
= 0 ;
15293 PyObject
*swig_obj
[1] ;
15295 if (!args
) SWIG_fail
;
15296 swig_obj
[0] = args
;
15297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15301 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15302 result
= (wxString
*)& ((arg1
)->Description
);
15305 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15307 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15316 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15319 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15320 return SWIG_Py_Void();
15323 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
= 0;
15325 int arg1
= (int) -1 ;
15326 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15327 wxLocale
*result
= 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char * kwnames
[] = {
15335 (char *) "language",(char *) "flags", NULL
15338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15341 if (!SWIG_IsOK(ecode1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15344 arg1
= static_cast< int >(val1
);
15347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15348 if (!SWIG_IsOK(ecode2
)) {
15349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15351 arg2
= static_cast< int >(val2
);
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15366 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 PyObject
*resultobj
= 0;
15368 wxLocale
*arg1
= (wxLocale
*) 0 ;
15371 PyObject
*swig_obj
[1] ;
15373 if (!args
) SWIG_fail
;
15374 swig_obj
[0] = args
;
15375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15379 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_Py_Void();
15394 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxLocale
*arg1
= (wxLocale
*) 0 ;
15397 wxString
*arg2
= 0 ;
15398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15400 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15402 bool arg5
= (bool) true ;
15403 bool arg6
= (bool) false ;
15407 bool temp2
= false ;
15408 bool temp3
= false ;
15409 bool temp4
= false ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 PyObject
* obj2
= 0 ;
15417 PyObject
* obj3
= 0 ;
15418 PyObject
* obj4
= 0 ;
15419 PyObject
* obj5
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15429 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15431 arg2
= wxString_in_helper(obj1
);
15432 if (arg2
== NULL
) SWIG_fail
;
15437 arg3
= wxString_in_helper(obj2
);
15438 if (arg3
== NULL
) SWIG_fail
;
15444 arg4
= wxString_in_helper(obj3
);
15445 if (arg4
== NULL
) SWIG_fail
;
15450 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15451 if (!SWIG_IsOK(ecode5
)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15454 arg5
= static_cast< bool >(val5
);
15457 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15458 if (!SWIG_IsOK(ecode6
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15461 arg6
= static_cast< bool >(val6
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15502 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxLocale
*arg1
= (wxLocale
*) 0 ;
15505 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15506 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 PyObject
* obj2
= 0 ;
15517 char * kwnames
[] = {
15518 (char *) "self",(char *) "language",(char *) "flags", NULL
15521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15526 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15529 if (!SWIG_IsOK(ecode2
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15532 arg2
= static_cast< int >(val2
);
15535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15536 if (!SWIG_IsOK(ecode3
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15539 arg3
= static_cast< int >(val3
);
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15556 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 PyObject
*resultobj
= 0;
15560 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (int)wxLocale::GetSystemLanguage();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_From_int(static_cast< int >(result
));
15574 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15575 PyObject
*resultobj
= 0;
15576 wxFontEncoding result
;
15578 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_From_int(static_cast< int >(result
));
15592 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15593 PyObject
*resultobj
= 0;
15596 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= wxLocale::GetSystemEncodingName();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15616 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15617 PyObject
*resultobj
= 0;
15618 wxLocale
*arg1
= (wxLocale
*) 0 ;
15622 PyObject
*swig_obj
[1] ;
15624 if (!args
) SWIG_fail
;
15625 swig_obj
[0] = args
;
15626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15627 if (!SWIG_IsOK(res1
)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15630 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15646 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15647 PyObject
*resultobj
= 0;
15648 wxLocale
*arg1
= (wxLocale
*) 0 ;
15652 PyObject
*swig_obj
[1] ;
15654 if (!args
) SWIG_fail
;
15655 swig_obj
[0] = args
;
15656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15657 if (!SWIG_IsOK(res1
)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15660 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= ((wxLocale
const *)arg1
)->GetLocale();
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15680 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 PyObject
*resultobj
= 0;
15682 wxLocale
*arg1
= (wxLocale
*) 0 ;
15686 PyObject
*swig_obj
[1] ;
15688 if (!args
) SWIG_fail
;
15689 swig_obj
[0] = args
;
15690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15694 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_From_int(static_cast< int >(result
));
15708 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxLocale
*arg1
= (wxLocale
*) 0 ;
15714 PyObject
*swig_obj
[1] ;
15716 if (!args
) SWIG_fail
;
15717 swig_obj
[0] = args
;
15718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15722 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= ((wxLocale
const *)arg1
)->GetSysName();
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15742 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15743 PyObject
*resultobj
= 0;
15744 wxLocale
*arg1
= (wxLocale
*) 0 ;
15748 PyObject
*swig_obj
[1] ;
15750 if (!args
) SWIG_fail
;
15751 swig_obj
[0] = args
;
15752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15753 if (!SWIG_IsOK(res1
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15756 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15776 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
= 0;
15778 wxString
*arg1
= 0 ;
15779 bool temp1
= false ;
15780 PyObject
* obj0
= 0 ;
15781 char * kwnames
[] = {
15782 (char *) "prefix", NULL
15785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15787 arg1
= wxString_in_helper(obj0
);
15788 if (arg1
== NULL
) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= 0;
15814 wxLocale
*arg1
= (wxLocale
*) 0 ;
15815 wxString
*arg2
= 0 ;
15819 bool temp2
= false ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char * kwnames
[] = {
15823 (char *) "self",(char *) "szDomain", NULL
15826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15831 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15833 arg2
= wxString_in_helper(obj1
);
15834 if (arg2
== NULL
) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15860 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
= 0;
15862 wxLocale
*arg1
= (wxLocale
*) 0 ;
15863 wxString
*arg2
= 0 ;
15867 bool temp2
= false ;
15868 PyObject
* obj0
= 0 ;
15869 PyObject
* obj1
= 0 ;
15870 char * kwnames
[] = {
15871 (char *) "self",(char *) "szDomain", NULL
15874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15876 if (!SWIG_IsOK(res1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15879 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15881 arg2
= wxString_in_helper(obj1
);
15882 if (arg2
== NULL
) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15908 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15911 wxLanguageInfo
*result
= 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char * kwnames
[] = {
15916 (char *) "lang", NULL
15919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15921 if (!SWIG_IsOK(ecode1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15924 arg1
= static_cast< int >(val1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15938 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
= 0;
15944 PyObject
* obj0
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "lang", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
15950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15951 if (!SWIG_IsOK(ecode1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
15954 arg1
= static_cast< int >(val1
);
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= wxLocale::GetLanguageName(arg1
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15974 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= 0;
15976 wxString
*arg1
= 0 ;
15977 wxLanguageInfo
*result
= 0 ;
15978 bool temp1
= false ;
15979 PyObject
* obj0
= 0 ;
15980 char * kwnames
[] = {
15981 (char *) "locale", NULL
15984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15986 arg1
= wxString_in_helper(obj0
);
15987 if (arg1
== NULL
) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16011 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
= 0;
16013 wxLanguageInfo
*arg1
= 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char * kwnames
[] = {
16018 (char *) "info", NULL
16021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16022 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16029 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= SWIG_Py_Void();
16043 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
= 0;
16045 wxLocale
*arg1
= (wxLocale
*) 0 ;
16046 wxString
*arg2
= 0 ;
16047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16052 bool temp2
= false ;
16053 bool temp3
= false ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 char * kwnames
[] = {
16058 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16063 if (!SWIG_IsOK(res1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16066 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16074 arg3
= wxString_in_helper(obj2
);
16075 if (arg3
== NULL
) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16114 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 PyObject
*resultobj
= 0;
16116 wxLocale
*arg1
= (wxLocale
*) 0 ;
16117 wxString
*result
= 0 ;
16120 PyObject
*swig_obj
[1] ;
16122 if (!args
) SWIG_fail
;
16123 swig_obj
[0] = args
;
16124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16125 if (!SWIG_IsOK(res1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16128 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16133 result
= (wxString
*) &_result_ref
;
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16142 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16151 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16154 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16155 return SWIG_Py_Void();
16158 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 return SWIG_Python_InitShadowInstance(args
);
16162 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
= 0;
16164 int arg1
= (int) -1 ;
16165 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16166 wxPyLocale
*result
= 0 ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char * kwnames
[] = {
16174 (char *) "language",(char *) "flags", NULL
16177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16180 if (!SWIG_IsOK(ecode1
)) {
16181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16183 arg1
= static_cast< int >(val1
);
16186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16187 if (!SWIG_IsOK(ecode2
)) {
16188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16190 arg2
= static_cast< int >(val2
);
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16205 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16206 PyObject
*resultobj
= 0;
16207 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16210 PyObject
*swig_obj
[1] ;
16212 if (!args
) SWIG_fail
;
16213 swig_obj
[0] = args
;
16214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16215 if (!SWIG_IsOK(res1
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16218 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_Py_Void();
16233 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
= 0;
16235 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16236 PyObject
*arg2
= (PyObject
*) 0 ;
16237 PyObject
*arg3
= (PyObject
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 PyObject
* obj2
= 0 ;
16243 char * kwnames
[] = {
16244 (char *) "self",(char *) "self",(char *) "_class", NULL
16247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16249 if (!SWIG_IsOK(res1
)) {
16250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16252 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_Py_Void();
16268 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= 0;
16270 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16271 wxChar
*arg2
= (wxChar
*) 0 ;
16272 wxChar
*arg3
= (wxChar
*) NULL
;
16273 wxChar
*result
= 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 PyObject
* obj2
= 0 ;
16283 char * kwnames
[] = {
16284 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16292 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16294 if (!SWIG_IsOK(res2
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16297 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16299 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16300 if (!SWIG_IsOK(res3
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16303 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16318 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16321 wxChar
*arg2
= (wxChar
*) 0 ;
16322 wxChar
*arg3
= (wxChar
*) 0 ;
16324 wxChar
*arg5
= (wxChar
*) NULL
;
16325 wxChar
*result
= 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 PyObject
* obj2
= 0 ;
16339 PyObject
* obj3
= 0 ;
16340 PyObject
* obj4
= 0 ;
16341 char * kwnames
[] = {
16342 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16347 if (!SWIG_IsOK(res1
)) {
16348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16350 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16352 if (!SWIG_IsOK(res2
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16355 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16356 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16357 if (!SWIG_IsOK(res3
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16360 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16361 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16362 if (!SWIG_IsOK(ecode4
)) {
16363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16365 arg4
= static_cast< size_t >(val4
);
16367 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16368 if (!SWIG_IsOK(res5
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16371 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16386 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16389 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16390 return SWIG_Py_Void();
16393 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16394 return SWIG_Python_InitShadowInstance(args
);
16397 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16398 PyObject
*resultobj
= 0;
16399 wxLocale
*result
= 0 ;
16401 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (wxLocale
*)wxGetLocale();
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16415 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16416 PyObject
*resultobj
= 0;
16417 wxString
*arg1
= 0 ;
16419 bool temp1
= false ;
16421 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16423 arg1
= wxString_in_helper(swig_obj
[0]);
16424 if (arg1
== NULL
) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= wxGetTranslation((wxString
const &)*arg1
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16454 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16455 PyObject
*resultobj
= 0;
16456 wxString
*arg1
= 0 ;
16457 wxString
*arg2
= 0 ;
16459 bool temp1
= false ;
16460 bool temp2
= false ;
16462 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16464 arg1
= wxString_in_helper(swig_obj
[0]);
16465 if (arg1
== NULL
) SWIG_fail
;
16469 arg2
= wxString_in_helper(swig_obj
[1]);
16470 if (arg2
== NULL
) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16508 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16509 PyObject
*resultobj
= 0;
16510 wxString
*arg1
= 0 ;
16511 wxString
*arg2
= 0 ;
16514 bool temp1
= false ;
16515 bool temp2
= false ;
16519 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16521 arg1
= wxString_in_helper(swig_obj
[0]);
16522 if (arg1
== NULL
) SWIG_fail
;
16526 arg2
= wxString_in_helper(swig_obj
[1]);
16527 if (arg2
== NULL
) SWIG_fail
;
16530 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16531 if (!SWIG_IsOK(ecode3
)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16534 arg3
= static_cast< size_t >(val3
);
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16570 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16571 PyObject
*resultobj
= 0;
16572 wxString
*arg1
= 0 ;
16573 wxString
*arg2
= 0 ;
16575 wxString
*arg4
= 0 ;
16577 bool temp1
= false ;
16578 bool temp2
= false ;
16581 bool temp4
= false ;
16583 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16585 arg1
= wxString_in_helper(swig_obj
[0]);
16586 if (arg1
== NULL
) SWIG_fail
;
16590 arg2
= wxString_in_helper(swig_obj
[1]);
16591 if (arg2
== NULL
) SWIG_fail
;
16594 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16595 if (!SWIG_IsOK(ecode3
)) {
16596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16598 arg3
= static_cast< size_t >(val3
);
16600 arg4
= wxString_in_helper(swig_obj
[3]);
16601 if (arg4
== NULL
) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16647 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16651 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16654 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16657 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16660 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16663 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16667 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16672 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16673 PyObject
*resultobj
= 0;
16674 wxEncodingConverter
*result
= 0 ;
16676 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16690 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16691 PyObject
*resultobj
= 0;
16692 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16695 PyObject
*swig_obj
[1] ;
16697 if (!args
) SWIG_fail
;
16698 swig_obj
[0] = args
;
16699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16700 if (!SWIG_IsOK(res1
)) {
16701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16703 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_Py_Void();
16718 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= 0;
16720 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16721 wxFontEncoding arg2
;
16722 wxFontEncoding arg3
;
16723 int arg4
= (int) wxCONVERT_STRICT
;
16733 PyObject
* obj0
= 0 ;
16734 PyObject
* obj1
= 0 ;
16735 PyObject
* obj2
= 0 ;
16736 PyObject
* obj3
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16746 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16748 if (!SWIG_IsOK(ecode2
)) {
16749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16751 arg2
= static_cast< wxFontEncoding
>(val2
);
16752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16753 if (!SWIG_IsOK(ecode3
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16756 arg3
= static_cast< wxFontEncoding
>(val3
);
16758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16759 if (!SWIG_IsOK(ecode4
)) {
16760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16762 arg4
= static_cast< int >(val4
);
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16779 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
= 0;
16781 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16782 wxString
*arg2
= 0 ;
16786 bool temp2
= false ;
16787 PyObject
* obj0
= 0 ;
16788 PyObject
* obj1
= 0 ;
16789 char * kwnames
[] = {
16790 (char *) "self",(char *) "input", NULL
16793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16795 if (!SWIG_IsOK(res1
)) {
16796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16798 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16800 arg2
= wxString_in_helper(obj1
);
16801 if (arg2
== NULL
) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16831 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
= 0;
16833 wxFontEncoding arg1
;
16834 int arg2
= (int) wxPLATFORM_CURRENT
;
16835 wxFontEncodingArray result
;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 char * kwnames
[] = {
16843 (char *) "enc",(char *) "platform", NULL
16846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16848 if (!SWIG_IsOK(ecode1
)) {
16849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16851 arg1
= static_cast< wxFontEncoding
>(val1
);
16853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16854 if (!SWIG_IsOK(ecode2
)) {
16855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16857 arg2
= static_cast< int >(val2
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= PyList_New(0);
16867 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16868 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16869 PyList_Append(resultobj
, number
);
16879 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
= 0;
16881 wxFontEncoding arg1
;
16882 wxFontEncodingArray result
;
16885 PyObject
* obj0
= 0 ;
16886 char * kwnames
[] = {
16887 (char *) "enc", NULL
16890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16892 if (!SWIG_IsOK(ecode1
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16895 arg1
= static_cast< wxFontEncoding
>(val1
);
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= PyList_New(0);
16904 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16905 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16906 PyList_Append(resultobj
, number
);
16916 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= 0;
16918 wxFontEncoding arg1
;
16919 wxFontEncoding arg2
;
16925 PyObject
* obj0
= 0 ;
16926 PyObject
* obj1
= 0 ;
16927 char * kwnames
[] = {
16928 (char *) "encIn",(char *) "encOut", NULL
16931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16933 if (!SWIG_IsOK(ecode1
)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16936 arg1
= static_cast< wxFontEncoding
>(val1
);
16937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16938 if (!SWIG_IsOK(ecode2
)) {
16939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16941 arg2
= static_cast< wxFontEncoding
>(val2
);
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16957 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16960 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
16961 return SWIG_Py_Void();
16964 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16965 return SWIG_Python_InitShadowInstance(args
);
16968 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16969 PyObject
*resultobj
= 0;
16970 wxDC
*arg1
= (wxDC
*) 0 ;
16973 PyObject
*swig_obj
[1] ;
16975 if (!args
) SWIG_fail
;
16976 swig_obj
[0] = args
;
16977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
16981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_Py_Void();
16996 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
= 0;
16998 wxDC
*arg1
= (wxDC
*) 0 ;
17001 wxColour
*arg4
= 0 ;
17002 int arg5
= (int) wxFLOOD_SURFACE
;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 PyObject
* obj2
= 0 ;
17016 PyObject
* obj3
= 0 ;
17017 PyObject
* obj4
= 0 ;
17018 char * kwnames
[] = {
17019 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17029 if (!SWIG_IsOK(ecode2
)) {
17030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17032 arg2
= static_cast< int >(val2
);
17033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17034 if (!SWIG_IsOK(ecode3
)) {
17035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17037 arg3
= static_cast< int >(val3
);
17040 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17043 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17044 if (!SWIG_IsOK(ecode5
)) {
17045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17047 arg5
= static_cast< int >(val5
);
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17064 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
= 0;
17066 wxDC
*arg1
= (wxDC
*) 0 ;
17067 wxPoint
*arg2
= 0 ;
17068 wxColour
*arg3
= 0 ;
17069 int arg4
= (int) wxFLOOD_SURFACE
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 PyObject
* obj2
= 0 ;
17080 PyObject
* obj3
= 0 ;
17081 char * kwnames
[] = {
17082 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17087 if (!SWIG_IsOK(res1
)) {
17088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17097 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17101 if (!SWIG_IsOK(ecode4
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17104 arg4
= static_cast< int >(val4
);
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17121 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
= 0;
17123 wxDC
*arg1
= (wxDC
*) 0 ;
17125 wxColour
*arg3
= 0 ;
17126 wxColour
*arg4
= 0 ;
17127 wxPoint
*arg5
= 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 PyObject
* obj2
= 0 ;
17137 PyObject
* obj3
= 0 ;
17138 PyObject
* obj4
= 0 ;
17139 char * kwnames
[] = {
17140 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17145 if (!SWIG_IsOK(res1
)) {
17146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17155 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17159 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17163 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= SWIG_Py_Void();
17178 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
= 0;
17180 wxDC
*arg1
= (wxDC
*) 0 ;
17182 wxColour
*arg3
= 0 ;
17183 wxColour
*arg4
= 0 ;
17184 wxDirection arg5
= (wxDirection
) wxEAST
;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 PyObject
* obj3
= 0 ;
17196 PyObject
* obj4
= 0 ;
17197 char * kwnames
[] = {
17198 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17203 if (!SWIG_IsOK(res1
)) {
17204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17213 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17217 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17220 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17221 if (!SWIG_IsOK(ecode5
)) {
17222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17224 arg5
= static_cast< wxDirection
>(val5
);
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_Py_Void();
17239 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
= 0;
17241 wxDC
*arg1
= (wxDC
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 PyObject
* obj2
= 0 ;
17254 char * kwnames
[] = {
17255 (char *) "self",(char *) "x",(char *) "y", NULL
17258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17260 if (!SWIG_IsOK(res1
)) {
17261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17265 if (!SWIG_IsOK(ecode2
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17268 arg2
= static_cast< int >(val2
);
17269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17270 if (!SWIG_IsOK(ecode3
)) {
17271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17273 arg3
= static_cast< int >(val3
);
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17287 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
= 0;
17289 wxDC
*arg1
= (wxDC
*) 0 ;
17290 wxPoint
*arg2
= 0 ;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj1
= 0 ;
17297 char * kwnames
[] = {
17298 (char *) "self",(char *) "pt", NULL
17301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17303 if (!SWIG_IsOK(res1
)) {
17304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17324 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
= 0;
17326 wxDC
*arg1
= (wxDC
*) 0 ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 PyObject
* obj2
= 0 ;
17344 PyObject
* obj3
= 0 ;
17345 PyObject
* obj4
= 0 ;
17346 char * kwnames
[] = {
17347 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17352 if (!SWIG_IsOK(res1
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17357 if (!SWIG_IsOK(ecode2
)) {
17358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17360 arg2
= static_cast< int >(val2
);
17361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17362 if (!SWIG_IsOK(ecode3
)) {
17363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17365 arg3
= static_cast< int >(val3
);
17366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17367 if (!SWIG_IsOK(ecode4
)) {
17368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17370 arg4
= static_cast< int >(val4
);
17371 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17372 if (!SWIG_IsOK(ecode5
)) {
17373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17375 arg5
= static_cast< int >(val5
);
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= SWIG_Py_Void();
17389 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
= 0;
17391 wxDC
*arg1
= (wxDC
*) 0 ;
17392 wxPoint
*arg2
= 0 ;
17393 wxPoint
*arg3
= 0 ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 PyObject
* obj2
= 0 ;
17401 char * kwnames
[] = {
17402 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17407 if (!SWIG_IsOK(res1
)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_Py_Void();
17432 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
= 0;
17434 wxDC
*arg1
= (wxDC
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 PyObject
* obj2
= 0 ;
17446 char * kwnames
[] = {
17447 (char *) "self",(char *) "x",(char *) "y", NULL
17450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17452 if (!SWIG_IsOK(res1
)) {
17453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17457 if (!SWIG_IsOK(ecode2
)) {
17458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17460 arg2
= static_cast< int >(val2
);
17461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17462 if (!SWIG_IsOK(ecode3
)) {
17463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17465 arg3
= static_cast< int >(val3
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 (arg1
)->CrossHair(arg2
,arg3
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_Py_Void();
17479 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
= 0;
17481 wxDC
*arg1
= (wxDC
*) 0 ;
17482 wxPoint
*arg2
= 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "self",(char *) "pt", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17494 if (!SWIG_IsOK(res1
)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= SWIG_Py_Void();
17515 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
= 0;
17517 wxDC
*arg1
= (wxDC
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 PyObject
* obj2
= 0 ;
17541 PyObject
* obj3
= 0 ;
17542 PyObject
* obj4
= 0 ;
17543 PyObject
* obj5
= 0 ;
17544 PyObject
* obj6
= 0 ;
17545 char * kwnames
[] = {
17546 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17551 if (!SWIG_IsOK(res1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17556 if (!SWIG_IsOK(ecode2
)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17559 arg2
= static_cast< int >(val2
);
17560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17561 if (!SWIG_IsOK(ecode3
)) {
17562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17564 arg3
= static_cast< int >(val3
);
17565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17566 if (!SWIG_IsOK(ecode4
)) {
17567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17569 arg4
= static_cast< int >(val4
);
17570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17571 if (!SWIG_IsOK(ecode5
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17574 arg5
= static_cast< int >(val5
);
17575 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17576 if (!SWIG_IsOK(ecode6
)) {
17577 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17579 arg6
= static_cast< int >(val6
);
17580 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17581 if (!SWIG_IsOK(ecode7
)) {
17582 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17584 arg7
= static_cast< int >(val7
);
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_Py_Void();
17598 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
= 0;
17600 wxDC
*arg1
= (wxDC
*) 0 ;
17601 wxPoint
*arg2
= 0 ;
17602 wxPoint
*arg3
= 0 ;
17603 wxPoint
*arg4
= 0 ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 PyObject
* obj3
= 0 ;
17613 char * kwnames
[] = {
17614 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17619 if (!SWIG_IsOK(res1
)) {
17620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17625 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_Py_Void();
17648 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxDC
*arg1
= (wxDC
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 PyObject
* obj3
= 0 ;
17669 PyObject
* obj4
= 0 ;
17670 char * kwnames
[] = {
17671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17676 if (!SWIG_IsOK(res1
)) {
17677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17681 if (!SWIG_IsOK(ecode2
)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17684 arg2
= static_cast< int >(val2
);
17685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17686 if (!SWIG_IsOK(ecode3
)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17689 arg3
= static_cast< int >(val3
);
17690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17691 if (!SWIG_IsOK(ecode4
)) {
17692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17694 arg4
= static_cast< int >(val4
);
17695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17696 if (!SWIG_IsOK(ecode5
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17699 arg5
= static_cast< int >(val5
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_Py_Void();
17713 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
= 0;
17715 wxDC
*arg1
= (wxDC
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 PyObject
* obj1
= 0 ;
17722 char * kwnames
[] = {
17723 (char *) "self",(char *) "rect", NULL
17726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17728 if (!SWIG_IsOK(res1
)) {
17729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_Py_Void();
17749 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
= 0;
17751 wxDC
*arg1
= (wxDC
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 PyObject
* obj2
= 0 ;
17775 PyObject
* obj3
= 0 ;
17776 PyObject
* obj4
= 0 ;
17777 PyObject
* obj5
= 0 ;
17778 PyObject
* obj6
= 0 ;
17779 char * kwnames
[] = {
17780 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17785 if (!SWIG_IsOK(res1
)) {
17786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17790 if (!SWIG_IsOK(ecode2
)) {
17791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17793 arg2
= static_cast< int >(val2
);
17794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17795 if (!SWIG_IsOK(ecode3
)) {
17796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17798 arg3
= static_cast< int >(val3
);
17799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17800 if (!SWIG_IsOK(ecode4
)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17803 arg4
= static_cast< int >(val4
);
17804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17805 if (!SWIG_IsOK(ecode5
)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17808 arg5
= static_cast< int >(val5
);
17809 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17810 if (!SWIG_IsOK(ecode6
)) {
17811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17813 arg6
= static_cast< double >(val6
);
17814 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17815 if (!SWIG_IsOK(ecode7
)) {
17816 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17818 arg7
= static_cast< double >(val7
);
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= SWIG_Py_Void();
17832 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
= 0;
17834 wxDC
*arg1
= (wxDC
*) 0 ;
17835 wxPoint
*arg2
= 0 ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 PyObject
* obj2
= 0 ;
17850 PyObject
* obj3
= 0 ;
17851 PyObject
* obj4
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17868 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17871 if (!SWIG_IsOK(ecode4
)) {
17872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17874 arg4
= static_cast< double >(val4
);
17875 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17876 if (!SWIG_IsOK(ecode5
)) {
17877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17879 arg5
= static_cast< double >(val5
);
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_Py_Void();
17893 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
= 0;
17895 wxDC
*arg1
= (wxDC
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 PyObject
* obj2
= 0 ;
17907 char * kwnames
[] = {
17908 (char *) "self",(char *) "x",(char *) "y", NULL
17911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17913 if (!SWIG_IsOK(res1
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17918 if (!SWIG_IsOK(ecode2
)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17921 arg2
= static_cast< int >(val2
);
17922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17923 if (!SWIG_IsOK(ecode3
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17926 arg3
= static_cast< int >(val3
);
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->DrawPoint(arg2
,arg3
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_Py_Void();
17940 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxDC
*arg1
= (wxDC
*) 0 ;
17943 wxPoint
*arg2
= 0 ;
17947 PyObject
* obj0
= 0 ;
17948 PyObject
* obj1
= 0 ;
17949 char * kwnames
[] = {
17950 (char *) "self",(char *) "pt", NULL
17953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17955 if (!SWIG_IsOK(res1
)) {
17956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_Py_Void();
17976 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= 0;
17978 wxDC
*arg1
= (wxDC
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 PyObject
* obj2
= 0 ;
17996 PyObject
* obj3
= 0 ;
17997 PyObject
* obj4
= 0 ;
17998 char * kwnames
[] = {
17999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18004 if (!SWIG_IsOK(res1
)) {
18005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18009 if (!SWIG_IsOK(ecode2
)) {
18010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18012 arg2
= static_cast< int >(val2
);
18013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18014 if (!SWIG_IsOK(ecode3
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18017 arg3
= static_cast< int >(val3
);
18018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18019 if (!SWIG_IsOK(ecode4
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18022 arg4
= static_cast< int >(val4
);
18023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18024 if (!SWIG_IsOK(ecode5
)) {
18025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18027 arg5
= static_cast< int >(val5
);
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= SWIG_Py_Void();
18041 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
= 0;
18043 wxDC
*arg1
= (wxDC
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 char * kwnames
[] = {
18051 (char *) "self",(char *) "rect", NULL
18054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18056 if (!SWIG_IsOK(res1
)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18062 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_Py_Void();
18077 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
= 0;
18079 wxDC
*arg1
= (wxDC
*) 0 ;
18080 wxPoint
*arg2
= 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 PyObject
* obj2
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "pt",(char *) "sz", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18105 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_Py_Void();
18120 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
= 0;
18122 wxDC
*arg1
= (wxDC
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 PyObject
* obj2
= 0 ;
18143 PyObject
* obj3
= 0 ;
18144 PyObject
* obj4
= 0 ;
18145 PyObject
* obj5
= 0 ;
18146 char * kwnames
[] = {
18147 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18157 if (!SWIG_IsOK(ecode2
)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18160 arg2
= static_cast< int >(val2
);
18161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18162 if (!SWIG_IsOK(ecode3
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18165 arg3
= static_cast< int >(val3
);
18166 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18167 if (!SWIG_IsOK(ecode4
)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18170 arg4
= static_cast< int >(val4
);
18171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18172 if (!SWIG_IsOK(ecode5
)) {
18173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18175 arg5
= static_cast< int >(val5
);
18176 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18177 if (!SWIG_IsOK(ecode6
)) {
18178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18180 arg6
= static_cast< double >(val6
);
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_Py_Void();
18194 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
= 0;
18196 wxDC
*arg1
= (wxDC
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 PyObject
* obj2
= 0 ;
18207 char * kwnames
[] = {
18208 (char *) "self",(char *) "r",(char *) "radius", NULL
18211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18213 if (!SWIG_IsOK(res1
)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18219 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18221 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18222 if (!SWIG_IsOK(ecode3
)) {
18223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18225 arg3
= static_cast< double >(val3
);
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_Py_Void();
18239 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
= 0;
18241 wxDC
*arg1
= (wxDC
*) 0 ;
18242 wxPoint
*arg2
= 0 ;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 PyObject
* obj2
= 0 ;
18254 PyObject
* obj3
= 0 ;
18255 char * kwnames
[] = {
18256 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18271 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18273 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18274 if (!SWIG_IsOK(ecode4
)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18277 arg4
= static_cast< double >(val4
);
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_Py_Void();
18291 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxDC
*arg1
= (wxDC
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 PyObject
* obj2
= 0 ;
18308 PyObject
* obj3
= 0 ;
18309 char * kwnames
[] = {
18310 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18315 if (!SWIG_IsOK(res1
)) {
18316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18320 if (!SWIG_IsOK(ecode2
)) {
18321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18323 arg2
= static_cast< int >(val2
);
18324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18325 if (!SWIG_IsOK(ecode3
)) {
18326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18328 arg3
= static_cast< int >(val3
);
18329 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18330 if (!SWIG_IsOK(ecode4
)) {
18331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18333 arg4
= static_cast< int >(val4
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_Py_Void();
18347 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18350 wxPoint
*arg2
= 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 char * kwnames
[] = {
18361 (char *) "self",(char *) "pt",(char *) "radius", NULL
18364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18375 if (!SWIG_IsOK(ecode3
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18378 arg3
= static_cast< int >(val3
);
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_Py_Void();
18392 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
= 0;
18394 wxDC
*arg1
= (wxDC
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 PyObject
* obj3
= 0 ;
18413 PyObject
* obj4
= 0 ;
18414 char * kwnames
[] = {
18415 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18420 if (!SWIG_IsOK(res1
)) {
18421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18425 if (!SWIG_IsOK(ecode2
)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18428 arg2
= static_cast< int >(val2
);
18429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18430 if (!SWIG_IsOK(ecode3
)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18433 arg3
= static_cast< int >(val3
);
18434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18435 if (!SWIG_IsOK(ecode4
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18438 arg4
= static_cast< int >(val4
);
18439 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18440 if (!SWIG_IsOK(ecode5
)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18443 arg5
= static_cast< int >(val5
);
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= SWIG_Py_Void();
18457 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
= 0;
18459 wxDC
*arg1
= (wxDC
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 char * kwnames
[] = {
18467 (char *) "self",(char *) "rect", NULL
18470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18472 if (!SWIG_IsOK(res1
)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18478 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_Py_Void();
18493 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxDC
*arg1
= (wxDC
*) 0 ;
18496 wxPoint
*arg2
= 0 ;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 PyObject
* obj2
= 0 ;
18505 char * kwnames
[] = {
18506 (char *) "self",(char *) "pt",(char *) "sz", NULL
18509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18511 if (!SWIG_IsOK(res1
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18521 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_Py_Void();
18536 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxDC
*arg1
= (wxDC
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 PyObject
* obj3
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18565 if (!SWIG_IsOK(res2
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18571 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18573 if (!SWIG_IsOK(ecode3
)) {
18574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18576 arg3
= static_cast< int >(val3
);
18577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18578 if (!SWIG_IsOK(ecode4
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18581 arg4
= static_cast< int >(val4
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_Py_Void();
18595 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
= 0;
18597 wxDC
*arg1
= (wxDC
*) 0 ;
18599 wxPoint
*arg3
= 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 PyObject
* obj2
= 0 ;
18608 char * kwnames
[] = {
18609 (char *) "self",(char *) "icon",(char *) "pt", NULL
18612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18614 if (!SWIG_IsOK(res1
)) {
18615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18619 if (!SWIG_IsOK(res2
)) {
18620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18625 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_Py_Void();
18643 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
= 0;
18645 wxDC
*arg1
= (wxDC
*) 0 ;
18646 wxBitmap
*arg2
= 0 ;
18649 bool arg5
= (bool) false ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 PyObject
* obj2
= 0 ;
18663 PyObject
* obj3
= 0 ;
18664 PyObject
* obj4
= 0 ;
18665 char * kwnames
[] = {
18666 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18671 if (!SWIG_IsOK(res1
)) {
18672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18676 if (!SWIG_IsOK(res2
)) {
18677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18682 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18684 if (!SWIG_IsOK(ecode3
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18687 arg3
= static_cast< int >(val3
);
18688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18689 if (!SWIG_IsOK(ecode4
)) {
18690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18692 arg4
= static_cast< int >(val4
);
18694 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18695 if (!SWIG_IsOK(ecode5
)) {
18696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18698 arg5
= static_cast< bool >(val5
);
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_Py_Void();
18713 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
= 0;
18715 wxDC
*arg1
= (wxDC
*) 0 ;
18716 wxBitmap
*arg2
= 0 ;
18717 wxPoint
*arg3
= 0 ;
18718 bool arg4
= (bool) false ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 PyObject
* obj2
= 0 ;
18729 PyObject
* obj3
= 0 ;
18730 char * kwnames
[] = {
18731 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18736 if (!SWIG_IsOK(res1
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18741 if (!SWIG_IsOK(res2
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18747 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18753 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18754 if (!SWIG_IsOK(ecode4
)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18757 arg4
= static_cast< bool >(val4
);
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_Py_Void();
18772 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
= 0;
18774 wxDC
*arg1
= (wxDC
*) 0 ;
18775 wxString
*arg2
= 0 ;
18780 bool temp2
= false ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 PyObject
* obj3
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18800 arg2
= wxString_in_helper(obj1
);
18801 if (arg2
== NULL
) SWIG_fail
;
18804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18805 if (!SWIG_IsOK(ecode3
)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18808 arg3
= static_cast< int >(val3
);
18809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18810 if (!SWIG_IsOK(ecode4
)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18813 arg4
= static_cast< int >(val4
);
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18838 wxString
*arg2
= 0 ;
18839 wxPoint
*arg3
= 0 ;
18842 bool temp2
= false ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 char * kwnames
[] = {
18848 (char *) "self",(char *) "text",(char *) "pt", NULL
18851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18858 arg2
= wxString_in_helper(obj1
);
18859 if (arg2
== NULL
) SWIG_fail
;
18864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_Py_Void();
18887 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
= 0;
18889 wxDC
*arg1
= (wxDC
*) 0 ;
18890 wxString
*arg2
= 0 ;
18896 bool temp2
= false ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 PyObject
* obj2
= 0 ;
18906 PyObject
* obj3
= 0 ;
18907 PyObject
* obj4
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18919 arg2
= wxString_in_helper(obj1
);
18920 if (arg2
== NULL
) SWIG_fail
;
18923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18924 if (!SWIG_IsOK(ecode3
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18927 arg3
= static_cast< int >(val3
);
18928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18929 if (!SWIG_IsOK(ecode4
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18932 arg4
= static_cast< int >(val4
);
18933 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18934 if (!SWIG_IsOK(ecode5
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18937 arg5
= static_cast< double >(val5
);
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_Py_Void();
18959 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
= 0;
18961 wxDC
*arg1
= (wxDC
*) 0 ;
18962 wxString
*arg2
= 0 ;
18963 wxPoint
*arg3
= 0 ;
18967 bool temp2
= false ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 PyObject
* obj2
= 0 ;
18974 PyObject
* obj3
= 0 ;
18975 char * kwnames
[] = {
18976 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
18979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18981 if (!SWIG_IsOK(res1
)) {
18982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18986 arg2
= wxString_in_helper(obj1
);
18987 if (arg2
== NULL
) SWIG_fail
;
18992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18994 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18995 if (!SWIG_IsOK(ecode4
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
18998 arg4
= static_cast< double >(val4
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_Py_Void();
19020 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
= 0;
19022 wxDC
*arg1
= (wxDC
*) 0 ;
19027 wxDC
*arg6
= (wxDC
*) 0 ;
19030 int arg9
= (int) wxCOPY
;
19031 bool arg10
= (bool) false ;
19032 int arg11
= (int) -1 ;
19033 int arg12
= (int) -1 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 PyObject
* obj2
= 0 ;
19062 PyObject
* obj3
= 0 ;
19063 PyObject
* obj4
= 0 ;
19064 PyObject
* obj5
= 0 ;
19065 PyObject
* obj6
= 0 ;
19066 PyObject
* obj7
= 0 ;
19067 PyObject
* obj8
= 0 ;
19068 PyObject
* obj9
= 0 ;
19069 PyObject
* obj10
= 0 ;
19070 PyObject
* obj11
= 0 ;
19071 char * kwnames
[] = {
19072 (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
19075 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
;
19076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19082 if (!SWIG_IsOK(ecode2
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19085 arg2
= static_cast< int >(val2
);
19086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19087 if (!SWIG_IsOK(ecode3
)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19090 arg3
= static_cast< int >(val3
);
19091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19092 if (!SWIG_IsOK(ecode4
)) {
19093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19095 arg4
= static_cast< int >(val4
);
19096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19097 if (!SWIG_IsOK(ecode5
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19100 arg5
= static_cast< int >(val5
);
19101 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19102 if (!SWIG_IsOK(res6
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19105 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19106 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19107 if (!SWIG_IsOK(ecode7
)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19110 arg7
= static_cast< int >(val7
);
19111 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19112 if (!SWIG_IsOK(ecode8
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19115 arg8
= static_cast< int >(val8
);
19117 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19118 if (!SWIG_IsOK(ecode9
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19121 arg9
= static_cast< int >(val9
);
19124 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19125 if (!SWIG_IsOK(ecode10
)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19128 arg10
= static_cast< bool >(val10
);
19131 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19132 if (!SWIG_IsOK(ecode11
)) {
19133 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19135 arg11
= static_cast< int >(val11
);
19138 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19139 if (!SWIG_IsOK(ecode12
)) {
19140 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19142 arg12
= static_cast< int >(val12
);
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19159 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
= 0;
19161 wxDC
*arg1
= (wxDC
*) 0 ;
19162 wxPoint
*arg2
= 0 ;
19164 wxDC
*arg4
= (wxDC
*) 0 ;
19165 wxPoint
*arg5
= 0 ;
19166 int arg6
= (int) wxCOPY
;
19167 bool arg7
= (bool) false ;
19168 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19169 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 PyObject
* obj2
= 0 ;
19186 PyObject
* obj3
= 0 ;
19187 PyObject
* obj4
= 0 ;
19188 PyObject
* obj5
= 0 ;
19189 PyObject
* obj6
= 0 ;
19190 PyObject
* obj7
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19207 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19209 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19210 if (!SWIG_IsOK(res4
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19213 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19216 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19219 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19220 if (!SWIG_IsOK(ecode6
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19223 arg6
= static_cast< int >(val6
);
19226 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19227 if (!SWIG_IsOK(ecode7
)) {
19228 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19230 arg7
= static_cast< bool >(val7
);
19235 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19253 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
= 0;
19255 wxDC
*arg1
= (wxDC
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 PyObject
* obj2
= 0 ;
19273 PyObject
* obj3
= 0 ;
19274 PyObject
* obj4
= 0 ;
19275 char * kwnames
[] = {
19276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19281 if (!SWIG_IsOK(res1
)) {
19282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19286 if (!SWIG_IsOK(ecode2
)) {
19287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19289 arg2
= static_cast< int >(val2
);
19290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19291 if (!SWIG_IsOK(ecode3
)) {
19292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19294 arg3
= static_cast< int >(val3
);
19295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19296 if (!SWIG_IsOK(ecode4
)) {
19297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19299 arg4
= static_cast< int >(val4
);
19300 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19301 if (!SWIG_IsOK(ecode5
)) {
19302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19304 arg5
= static_cast< int >(val5
);
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_Py_Void();
19318 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
= 0;
19320 wxDC
*arg1
= (wxDC
*) 0 ;
19321 wxPoint
*arg2
= 0 ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 PyObject
* obj2
= 0 ;
19330 char * kwnames
[] = {
19331 (char *) "self",(char *) "pt",(char *) "sz", NULL
19334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19346 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_Py_Void();
19361 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxDC
*arg1
= (wxDC
*) 0 ;
19364 wxRegion
*arg2
= 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char * kwnames
[] = {
19372 (char *) "self",(char *) "region", NULL
19375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19377 if (!SWIG_IsOK(res1
)) {
19378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19382 if (!SWIG_IsOK(res2
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19388 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 resultobj
= SWIG_Py_Void();
19402 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
= 0;
19404 wxDC
*arg1
= (wxDC
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char * kwnames
[] = {
19412 (char *) "self",(char *) "rect", NULL
19415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19417 if (!SWIG_IsOK(res1
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_Py_Void();
19438 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxDC
*arg1
= (wxDC
*) 0 ;
19442 wxPoint
*arg3
= (wxPoint
*) 0 ;
19443 int arg4
= (int) 0 ;
19444 int arg5
= (int) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 PyObject
* obj2
= 0 ;
19454 PyObject
* obj3
= 0 ;
19455 char * kwnames
[] = {
19456 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19461 if (!SWIG_IsOK(res1
)) {
19462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19466 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19467 if (arg3
== NULL
) SWIG_fail
;
19470 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19471 if (!SWIG_IsOK(ecode4
)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19474 arg4
= static_cast< int >(val4
);
19477 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19478 if (!SWIG_IsOK(ecode5
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19481 arg5
= static_cast< int >(val5
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19491 if (arg3
) delete [] arg3
;
19496 if (arg3
) delete [] arg3
;
19502 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
= 0;
19504 wxDC
*arg1
= (wxDC
*) 0 ;
19506 wxPoint
*arg3
= (wxPoint
*) 0 ;
19507 int arg4
= (int) 0 ;
19508 int arg5
= (int) 0 ;
19509 int arg6
= (int) wxODDEVEN_RULE
;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 PyObject
* obj2
= 0 ;
19521 PyObject
* obj3
= 0 ;
19522 PyObject
* obj4
= 0 ;
19523 char * kwnames
[] = {
19524 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19534 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19535 if (arg3
== NULL
) SWIG_fail
;
19538 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19539 if (!SWIG_IsOK(ecode4
)) {
19540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19542 arg4
= static_cast< int >(val4
);
19545 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19546 if (!SWIG_IsOK(ecode5
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19549 arg5
= static_cast< int >(val5
);
19552 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19553 if (!SWIG_IsOK(ecode6
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19556 arg6
= static_cast< int >(val6
);
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_Py_Void();
19566 if (arg3
) delete [] arg3
;
19571 if (arg3
) delete [] arg3
;
19577 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= 0;
19579 wxDC
*arg1
= (wxDC
*) 0 ;
19580 wxString
*arg2
= 0 ;
19582 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19583 int arg5
= (int) -1 ;
19586 bool temp2
= false ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 PyObject
* obj2
= 0 ;
19595 PyObject
* obj3
= 0 ;
19596 PyObject
* obj4
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19608 arg2
= wxString_in_helper(obj1
);
19609 if (arg2
== NULL
) SWIG_fail
;
19614 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19618 if (!SWIG_IsOK(ecode4
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19621 arg4
= static_cast< int >(val4
);
19624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19625 if (!SWIG_IsOK(ecode5
)) {
19626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19628 arg5
= static_cast< int >(val5
);
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= SWIG_Py_Void();
19651 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
= 0;
19653 wxDC
*arg1
= (wxDC
*) 0 ;
19654 wxString
*arg2
= 0 ;
19655 wxBitmap
*arg3
= 0 ;
19657 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19658 int arg6
= (int) -1 ;
19662 bool temp2
= false ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 PyObject
* obj2
= 0 ;
19673 PyObject
* obj3
= 0 ;
19674 PyObject
* obj4
= 0 ;
19675 PyObject
* obj5
= 0 ;
19676 char * kwnames
[] = {
19677 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19682 if (!SWIG_IsOK(res1
)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19687 arg2
= wxString_in_helper(obj1
);
19688 if (arg2
== NULL
) SWIG_fail
;
19691 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19692 if (!SWIG_IsOK(res3
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19698 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19701 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19705 if (!SWIG_IsOK(ecode5
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19708 arg5
= static_cast< int >(val5
);
19711 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19712 if (!SWIG_IsOK(ecode6
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19715 arg6
= static_cast< int >(val6
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19738 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19740 wxDC
*arg1
= (wxDC
*) 0 ;
19742 wxPoint
*arg3
= (wxPoint
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 char * kwnames
[] = {
19748 (char *) "self",(char *) "points", NULL
19751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19753 if (!SWIG_IsOK(res1
)) {
19754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19758 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19759 if (arg3
== NULL
) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->DrawSpline(arg2
,arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_Py_Void();
19769 if (arg3
) delete [] arg3
;
19774 if (arg3
) delete [] arg3
;
19780 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19781 PyObject
*resultobj
= 0;
19782 wxDC
*arg1
= (wxDC
*) 0 ;
19785 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_Py_Void();
19807 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= 0;
19809 wxDC
*arg1
= (wxDC
*) 0 ;
19810 wxString
*arg2
= 0 ;
19814 bool temp2
= false ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char * kwnames
[] = {
19818 (char *) "self",(char *) "message", NULL
19821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19828 arg2
= wxString_in_helper(obj1
);
19829 if (arg2
== NULL
) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19856 PyObject
*resultobj
= 0;
19857 wxDC
*arg1
= (wxDC
*) 0 ;
19860 PyObject
*swig_obj
[1] ;
19862 if (!args
) SWIG_fail
;
19863 swig_obj
[0] = args
;
19864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_Py_Void();
19882 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19883 PyObject
*resultobj
= 0;
19884 wxDC
*arg1
= (wxDC
*) 0 ;
19887 PyObject
*swig_obj
[1] ;
19889 if (!args
) SWIG_fail
;
19890 swig_obj
[0] = args
;
19891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19892 if (!SWIG_IsOK(res1
)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 (arg1
)->StartPage();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_Py_Void();
19909 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19910 PyObject
*resultobj
= 0;
19911 wxDC
*arg1
= (wxDC
*) 0 ;
19914 PyObject
*swig_obj
[1] ;
19916 if (!args
) SWIG_fail
;
19917 swig_obj
[0] = args
;
19918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_Py_Void();
19936 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
= 0;
19938 wxDC
*arg1
= (wxDC
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 char * kwnames
[] = {
19947 (char *) "self",(char *) "font", NULL
19950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19952 if (!SWIG_IsOK(res1
)) {
19953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
19955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19957 if (!SWIG_IsOK(res2
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19963 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->SetFont((wxFont
const &)*arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= SWIG_Py_Void();
19977 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
= 0;
19979 wxDC
*arg1
= (wxDC
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "pen", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
19996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
19998 if (!SWIG_IsOK(res2
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20004 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 (arg1
)->SetPen((wxPen
const &)*arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_Py_Void();
20018 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
= 0;
20020 wxDC
*arg1
= (wxDC
*) 0 ;
20021 wxBrush
*arg2
= 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 char * kwnames
[] = {
20029 (char *) "self",(char *) "brush", NULL
20032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20034 if (!SWIG_IsOK(res1
)) {
20035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20039 if (!SWIG_IsOK(res2
)) {
20040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20045 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_Py_Void();
20059 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
= 0;
20061 wxDC
*arg1
= (wxDC
*) 0 ;
20062 wxBrush
*arg2
= 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char * kwnames
[] = {
20070 (char *) "self",(char *) "brush", NULL
20073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20075 if (!SWIG_IsOK(res1
)) {
20076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20080 if (!SWIG_IsOK(res2
)) {
20081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20086 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_Py_Void();
20100 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= 0;
20102 wxDC
*arg1
= (wxDC
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char * kwnames
[] = {
20111 (char *) "self",(char *) "mode", NULL
20114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20116 if (!SWIG_IsOK(res1
)) {
20117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20121 if (!SWIG_IsOK(ecode2
)) {
20122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20124 arg2
= static_cast< int >(val2
);
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 (arg1
)->SetBackgroundMode(arg2
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_Py_Void();
20138 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
= 0;
20140 wxDC
*arg1
= (wxDC
*) 0 ;
20141 wxPalette
*arg2
= 0 ;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 char * kwnames
[] = {
20149 (char *) "self",(char *) "palette", NULL
20152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20159 if (!SWIG_IsOK(res2
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20165 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_Py_Void();
20179 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20180 PyObject
*resultobj
= 0;
20181 wxDC
*arg1
= (wxDC
*) 0 ;
20184 PyObject
*swig_obj
[1] ;
20186 if (!args
) SWIG_fail
;
20187 swig_obj
[0] = args
;
20188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20189 if (!SWIG_IsOK(res1
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->DestroyClippingRegion();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20206 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 PyObject
*resultobj
= 0;
20208 wxDC
*arg1
= (wxDC
*) 0 ;
20209 int *arg2
= (int *) 0 ;
20210 int *arg3
= (int *) 0 ;
20211 int *arg4
= (int *) 0 ;
20212 int *arg5
= (int *) 0 ;
20216 int res2
= SWIG_TMPOBJ
;
20218 int res3
= SWIG_TMPOBJ
;
20220 int res4
= SWIG_TMPOBJ
;
20222 int res5
= SWIG_TMPOBJ
;
20223 PyObject
*swig_obj
[1] ;
20229 if (!args
) SWIG_fail
;
20230 swig_obj
[0] = args
;
20231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20232 if (!SWIG_IsOK(res1
)) {
20233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= SWIG_Py_Void();
20243 if (SWIG_IsTmpObj(res2
)) {
20244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20246 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20249 if (SWIG_IsTmpObj(res3
)) {
20250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20255 if (SWIG_IsTmpObj(res4
)) {
20256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20258 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20261 if (SWIG_IsTmpObj(res5
)) {
20262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20264 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20273 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20274 PyObject
*resultobj
= 0;
20275 wxDC
*arg1
= (wxDC
*) 0 ;
20279 PyObject
*swig_obj
[1] ;
20281 if (!args
) SWIG_fail
;
20282 swig_obj
[0] = args
;
20283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20284 if (!SWIG_IsOK(res1
)) {
20285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= wxDC_GetClippingRect(arg1
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20301 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20302 PyObject
*resultobj
= 0;
20303 wxDC
*arg1
= (wxDC
*) 0 ;
20307 PyObject
*swig_obj
[1] ;
20309 if (!args
) SWIG_fail
;
20310 swig_obj
[0] = args
;
20311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_From_int(static_cast< int >(result
));
20329 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20330 PyObject
*resultobj
= 0;
20331 wxDC
*arg1
= (wxDC
*) 0 ;
20335 PyObject
*swig_obj
[1] ;
20337 if (!args
) SWIG_fail
;
20338 swig_obj
[0] = args
;
20339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20340 if (!SWIG_IsOK(res1
)) {
20341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_From_int(static_cast< int >(result
));
20357 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
= 0;
20359 wxDC
*arg1
= (wxDC
*) 0 ;
20360 wxString
*arg2
= 0 ;
20361 int *arg3
= (int *) 0 ;
20362 int *arg4
= (int *) 0 ;
20365 bool temp2
= false ;
20367 int res3
= SWIG_TMPOBJ
;
20369 int res4
= SWIG_TMPOBJ
;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "self",(char *) "string", NULL
20378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20380 if (!SWIG_IsOK(res1
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20385 arg2
= wxString_in_helper(obj1
);
20386 if (arg2
== NULL
) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_Py_Void();
20396 if (SWIG_IsTmpObj(res3
)) {
20397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20399 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20402 if (SWIG_IsTmpObj(res4
)) {
20403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20405 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20422 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
= 0;
20424 wxDC
*arg1
= (wxDC
*) 0 ;
20425 wxString
*arg2
= 0 ;
20426 int *arg3
= (int *) 0 ;
20427 int *arg4
= (int *) 0 ;
20428 int *arg5
= (int *) 0 ;
20429 int *arg6
= (int *) 0 ;
20430 wxFont
*arg7
= (wxFont
*) NULL
;
20433 bool temp2
= false ;
20435 int res3
= SWIG_TMPOBJ
;
20437 int res4
= SWIG_TMPOBJ
;
20439 int res5
= SWIG_TMPOBJ
;
20441 int res6
= SWIG_TMPOBJ
;
20444 PyObject
* obj0
= 0 ;
20445 PyObject
* obj1
= 0 ;
20446 PyObject
* obj2
= 0 ;
20447 char * kwnames
[] = {
20448 (char *) "self",(char *) "string",(char *) "font", NULL
20455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20462 arg2
= wxString_in_helper(obj1
);
20463 if (arg2
== NULL
) SWIG_fail
;
20467 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20468 if (!SWIG_IsOK(res7
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20471 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_Py_Void();
20480 if (SWIG_IsTmpObj(res3
)) {
20481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20483 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20486 if (SWIG_IsTmpObj(res4
)) {
20487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20489 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20492 if (SWIG_IsTmpObj(res5
)) {
20493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20495 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20498 if (SWIG_IsTmpObj(res6
)) {
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20501 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20518 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
= 0;
20520 wxDC
*arg1
= (wxDC
*) 0 ;
20521 wxString
*arg2
= 0 ;
20522 int *arg3
= (int *) 0 ;
20523 int *arg4
= (int *) 0 ;
20524 int *arg5
= (int *) 0 ;
20525 wxFont
*arg6
= (wxFont
*) NULL
;
20528 bool temp2
= false ;
20530 int res3
= SWIG_TMPOBJ
;
20532 int res4
= SWIG_TMPOBJ
;
20534 int res5
= SWIG_TMPOBJ
;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 PyObject
* obj2
= 0 ;
20540 char * kwnames
[] = {
20541 (char *) "self",(char *) "text",(char *) "font", NULL
20547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20554 arg2
= wxString_in_helper(obj1
);
20555 if (arg2
== NULL
) SWIG_fail
;
20559 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20560 if (!SWIG_IsOK(res6
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20563 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_Py_Void();
20572 if (SWIG_IsTmpObj(res3
)) {
20573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20575 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20578 if (SWIG_IsTmpObj(res4
)) {
20579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20581 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20584 if (SWIG_IsTmpObj(res5
)) {
20585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20587 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20604 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
= 0;
20606 wxDC
*arg1
= (wxDC
*) 0 ;
20607 wxString
*arg2
= 0 ;
20611 bool temp2
= false ;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 char * kwnames
[] = {
20615 (char *) "self",(char *) "text", NULL
20618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20625 arg2
= wxString_in_helper(obj1
);
20626 if (arg2
== NULL
) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= PyList_New(0);
20638 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20639 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20640 PyList_Append(resultobj
, val
);
20658 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 PyObject
*resultobj
= 0;
20660 wxDC
*arg1
= (wxDC
*) 0 ;
20664 PyObject
*swig_obj
[1] ;
20666 if (!args
) SWIG_fail
;
20667 swig_obj
[0] = args
;
20668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20669 if (!SWIG_IsOK(res1
)) {
20670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (arg1
)->GetSize();
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20686 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20687 PyObject
*resultobj
= 0;
20688 wxDC
*arg1
= (wxDC
*) 0 ;
20689 int *arg2
= (int *) 0 ;
20690 int *arg3
= (int *) 0 ;
20694 int res2
= SWIG_TMPOBJ
;
20696 int res3
= SWIG_TMPOBJ
;
20697 PyObject
*swig_obj
[1] ;
20701 if (!args
) SWIG_fail
;
20702 swig_obj
[0] = args
;
20703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->GetSize(arg2
,arg3
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20715 if (SWIG_IsTmpObj(res2
)) {
20716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20718 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20721 if (SWIG_IsTmpObj(res3
)) {
20722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20724 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20733 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20734 PyObject
*resultobj
= 0;
20735 wxDC
*arg1
= (wxDC
*) 0 ;
20739 PyObject
*swig_obj
[1] ;
20741 if (!args
) SWIG_fail
;
20742 swig_obj
[0] = args
;
20743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20744 if (!SWIG_IsOK(res1
)) {
20745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20761 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20762 PyObject
*resultobj
= 0;
20763 wxDC
*arg1
= (wxDC
*) 0 ;
20764 int *arg2
= (int *) 0 ;
20765 int *arg3
= (int *) 0 ;
20769 int res2
= SWIG_TMPOBJ
;
20771 int res3
= SWIG_TMPOBJ
;
20772 PyObject
*swig_obj
[1] ;
20776 if (!args
) SWIG_fail
;
20777 swig_obj
[0] = args
;
20778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_Py_Void();
20790 if (SWIG_IsTmpObj(res2
)) {
20791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20793 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20796 if (SWIG_IsTmpObj(res3
)) {
20797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20799 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20808 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
= 0;
20810 wxDC
*arg1
= (wxDC
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 char * kwnames
[] = {
20820 (char *) "self",(char *) "x", NULL
20823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20825 if (!SWIG_IsOK(res1
)) {
20826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20830 if (!SWIG_IsOK(ecode2
)) {
20831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20833 arg2
= static_cast< int >(val2
);
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_From_int(static_cast< int >(result
));
20847 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
= 0;
20849 wxDC
*arg1
= (wxDC
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char * kwnames
[] = {
20859 (char *) "self",(char *) "y", NULL
20862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20869 if (!SWIG_IsOK(ecode2
)) {
20870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20872 arg2
= static_cast< int >(val2
);
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_From_int(static_cast< int >(result
));
20886 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
= 0;
20888 wxDC
*arg1
= (wxDC
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 char * kwnames
[] = {
20898 (char *) "self",(char *) "x", NULL
20901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20908 if (!SWIG_IsOK(ecode2
)) {
20909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20911 arg2
= static_cast< int >(val2
);
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_From_int(static_cast< int >(result
));
20925 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxDC
*arg1
= (wxDC
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 char * kwnames
[] = {
20937 (char *) "self",(char *) "y", NULL
20940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20942 if (!SWIG_IsOK(res1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20947 if (!SWIG_IsOK(ecode2
)) {
20948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
20950 arg2
= static_cast< int >(val2
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_From_int(static_cast< int >(result
));
20964 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
= 0;
20966 wxDC
*arg1
= (wxDC
*) 0 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 char * kwnames
[] = {
20976 (char *) "self",(char *) "x", NULL
20979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
20984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20986 if (!SWIG_IsOK(ecode2
)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
20989 arg2
= static_cast< int >(val2
);
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= SWIG_From_int(static_cast< int >(result
));
21003 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
= 0;
21005 wxDC
*arg1
= (wxDC
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char * kwnames
[] = {
21015 (char *) "self",(char *) "y", NULL
21018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",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_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21025 if (!SWIG_IsOK(ecode2
)) {
21026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21028 arg2
= static_cast< int >(val2
);
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_From_int(static_cast< int >(result
));
21042 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxDC
*arg1
= (wxDC
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "x", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21067 arg2
= static_cast< int >(val2
);
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_From_int(static_cast< int >(result
));
21081 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= 0;
21083 wxDC
*arg1
= (wxDC
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 char * kwnames
[] = {
21093 (char *) "self",(char *) "y", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21103 if (!SWIG_IsOK(ecode2
)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21106 arg2
= static_cast< int >(val2
);
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_int(static_cast< int >(result
));
21120 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21121 PyObject
*resultobj
= 0;
21122 wxDC
*arg1
= (wxDC
*) 0 ;
21126 PyObject
*swig_obj
[1] ;
21128 if (!args
) SWIG_fail
;
21129 swig_obj
[0] = args
;
21130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21131 if (!SWIG_IsOK(res1
)) {
21132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21150 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 PyObject
*resultobj
= 0;
21152 wxDC
*arg1
= (wxDC
*) 0 ;
21156 PyObject
*swig_obj
[1] ;
21158 if (!args
) SWIG_fail
;
21159 swig_obj
[0] = args
;
21160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21161 if (!SWIG_IsOK(res1
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21181 PyObject
*resultobj
= 0;
21182 wxDC
*arg1
= (wxDC
*) 0 ;
21186 PyObject
*swig_obj
[1] ;
21188 if (!args
) SWIG_fail
;
21189 swig_obj
[0] = args
;
21190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21191 if (!SWIG_IsOK(res1
)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_From_int(static_cast< int >(result
));
21208 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21209 PyObject
*resultobj
= 0;
21210 wxDC
*arg1
= (wxDC
*) 0 ;
21214 PyObject
*swig_obj
[1] ;
21216 if (!args
) SWIG_fail
;
21217 swig_obj
[0] = args
;
21218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= ((wxDC
const *)arg1
)->GetPPI();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21236 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21237 PyObject
*resultobj
= 0;
21238 wxDC
*arg1
= (wxDC
*) 0 ;
21242 PyObject
*swig_obj
[1] ;
21244 if (!args
) SWIG_fail
;
21245 swig_obj
[0] = args
;
21246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21247 if (!SWIG_IsOK(res1
)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= (bool)((wxDC
const *)arg1
)->Ok();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21266 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21267 PyObject
*resultobj
= 0;
21268 wxDC
*arg1
= (wxDC
*) 0 ;
21272 PyObject
*swig_obj
[1] ;
21274 if (!args
) SWIG_fail
;
21275 swig_obj
[0] = args
;
21276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21277 if (!SWIG_IsOK(res1
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_From_int(static_cast< int >(result
));
21294 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 PyObject
*resultobj
= 0;
21296 wxDC
*arg1
= (wxDC
*) 0 ;
21297 wxBrush
*result
= 0 ;
21300 PyObject
*swig_obj
[1] ;
21302 if (!args
) SWIG_fail
;
21303 swig_obj
[0] = args
;
21304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21305 if (!SWIG_IsOK(res1
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21313 result
= (wxBrush
*) &_result_ref
;
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21319 wxBrush
* resultptr
= new wxBrush(*result
);
21320 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21328 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21329 PyObject
*resultobj
= 0;
21330 wxDC
*arg1
= (wxDC
*) 0 ;
21331 wxBrush
*result
= 0 ;
21334 PyObject
*swig_obj
[1] ;
21336 if (!args
) SWIG_fail
;
21337 swig_obj
[0] = args
;
21338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21339 if (!SWIG_IsOK(res1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21347 result
= (wxBrush
*) &_result_ref
;
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 wxBrush
* resultptr
= new wxBrush(*result
);
21354 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21362 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 PyObject
*resultobj
= 0;
21364 wxDC
*arg1
= (wxDC
*) 0 ;
21365 wxFont
*result
= 0 ;
21368 PyObject
*swig_obj
[1] ;
21370 if (!args
) SWIG_fail
;
21371 swig_obj
[0] = args
;
21372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21381 result
= (wxFont
*) &_result_ref
;
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 wxFont
* resultptr
= new wxFont(*result
);
21388 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21396 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21399 wxPen
*result
= 0 ;
21402 PyObject
*swig_obj
[1] ;
21404 if (!args
) SWIG_fail
;
21405 swig_obj
[0] = args
;
21406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21407 if (!SWIG_IsOK(res1
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21415 result
= (wxPen
*) &_result_ref
;
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 wxPen
* resultptr
= new wxPen(*result
);
21422 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21430 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21431 PyObject
*resultobj
= 0;
21432 wxDC
*arg1
= (wxDC
*) 0 ;
21433 wxColour
*result
= 0 ;
21436 PyObject
*swig_obj
[1] ;
21438 if (!args
) SWIG_fail
;
21439 swig_obj
[0] = args
;
21440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21441 if (!SWIG_IsOK(res1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21449 result
= (wxColour
*) &_result_ref
;
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21461 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21462 PyObject
*resultobj
= 0;
21463 wxDC
*arg1
= (wxDC
*) 0 ;
21464 wxColour
*result
= 0 ;
21467 PyObject
*swig_obj
[1] ;
21469 if (!args
) SWIG_fail
;
21470 swig_obj
[0] = args
;
21471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21480 result
= (wxColour
*) &_result_ref
;
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21492 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
= 0;
21494 wxDC
*arg1
= (wxDC
*) 0 ;
21495 wxColour
*arg2
= 0 ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 char * kwnames
[] = {
21502 (char *) "self",(char *) "colour", NULL
21505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21507 if (!SWIG_IsOK(res1
)) {
21508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= SWIG_Py_Void();
21528 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
= 0;
21530 wxDC
*arg1
= (wxDC
*) 0 ;
21531 wxColour
*arg2
= 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "self",(char *) "colour", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= SWIG_Py_Void();
21564 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21565 PyObject
*resultobj
= 0;
21566 wxDC
*arg1
= (wxDC
*) 0 ;
21570 PyObject
*swig_obj
[1] ;
21572 if (!args
) SWIG_fail
;
21573 swig_obj
[0] = args
;
21574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21575 if (!SWIG_IsOK(res1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_From_int(static_cast< int >(result
));
21592 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
= 0;
21594 wxDC
*arg1
= (wxDC
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 char * kwnames
[] = {
21603 (char *) "self",(char *) "mode", NULL
21606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21608 if (!SWIG_IsOK(res1
)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21613 if (!SWIG_IsOK(ecode2
)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21616 arg2
= static_cast< int >(val2
);
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 (arg1
)->SetMapMode(arg2
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_Py_Void();
21630 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 PyObject
*resultobj
= 0;
21632 wxDC
*arg1
= (wxDC
*) 0 ;
21633 double *arg2
= (double *) 0 ;
21634 double *arg3
= (double *) 0 ;
21638 int res2
= SWIG_TMPOBJ
;
21640 int res3
= SWIG_TMPOBJ
;
21641 PyObject
*swig_obj
[1] ;
21645 if (!args
) SWIG_fail
;
21646 swig_obj
[0] = args
;
21647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21648 if (!SWIG_IsOK(res1
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_Py_Void();
21659 if (SWIG_IsTmpObj(res2
)) {
21660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21662 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21665 if (SWIG_IsTmpObj(res3
)) {
21666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21668 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21677 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= 0;
21679 wxDC
*arg1
= (wxDC
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 char * kwnames
[] = {
21692 (char *) "self",(char *) "x",(char *) "y", NULL
21695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21697 if (!SWIG_IsOK(res1
)) {
21698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21701 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21702 if (!SWIG_IsOK(ecode2
)) {
21703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21705 arg2
= static_cast< double >(val2
);
21706 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21707 if (!SWIG_IsOK(ecode3
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21710 arg3
= static_cast< double >(val3
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 (arg1
)->SetUserScale(arg2
,arg3
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_Py_Void();
21724 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21725 PyObject
*resultobj
= 0;
21726 wxDC
*arg1
= (wxDC
*) 0 ;
21727 double *arg2
= (double *) 0 ;
21728 double *arg3
= (double *) 0 ;
21732 int res2
= SWIG_TMPOBJ
;
21734 int res3
= SWIG_TMPOBJ
;
21735 PyObject
*swig_obj
[1] ;
21739 if (!args
) SWIG_fail
;
21740 swig_obj
[0] = args
;
21741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21742 if (!SWIG_IsOK(res1
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->GetLogicalScale(arg2
,arg3
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= SWIG_Py_Void();
21753 if (SWIG_IsTmpObj(res2
)) {
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21756 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21759 if (SWIG_IsTmpObj(res3
)) {
21760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21762 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21771 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
= 0;
21773 wxDC
*arg1
= (wxDC
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 PyObject
* obj1
= 0 ;
21784 PyObject
* obj2
= 0 ;
21785 char * kwnames
[] = {
21786 (char *) "self",(char *) "x",(char *) "y", NULL
21789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21791 if (!SWIG_IsOK(res1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21795 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21796 if (!SWIG_IsOK(ecode2
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21799 arg2
= static_cast< double >(val2
);
21800 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21801 if (!SWIG_IsOK(ecode3
)) {
21802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21804 arg3
= static_cast< double >(val3
);
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 (arg1
)->SetLogicalScale(arg2
,arg3
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= SWIG_Py_Void();
21818 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21819 PyObject
*resultobj
= 0;
21820 wxDC
*arg1
= (wxDC
*) 0 ;
21824 PyObject
*swig_obj
[1] ;
21826 if (!args
) SWIG_fail
;
21827 swig_obj
[0] = args
;
21828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21829 if (!SWIG_IsOK(res1
)) {
21830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21846 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 PyObject
*resultobj
= 0;
21848 wxDC
*arg1
= (wxDC
*) 0 ;
21849 int *arg2
= (int *) 0 ;
21850 int *arg3
= (int *) 0 ;
21854 int res2
= SWIG_TMPOBJ
;
21856 int res3
= SWIG_TMPOBJ
;
21857 PyObject
*swig_obj
[1] ;
21861 if (!args
) SWIG_fail
;
21862 swig_obj
[0] = args
;
21863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21864 if (!SWIG_IsOK(res1
)) {
21865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_Py_Void();
21875 if (SWIG_IsTmpObj(res2
)) {
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21878 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21881 if (SWIG_IsTmpObj(res3
)) {
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21884 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21893 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
= 0;
21895 wxDC
*arg1
= (wxDC
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 char * kwnames
[] = {
21908 (char *) "self",(char *) "x",(char *) "y", NULL
21911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21918 if (!SWIG_IsOK(ecode2
)) {
21919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21921 arg2
= static_cast< int >(val2
);
21922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21923 if (!SWIG_IsOK(ecode3
)) {
21924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21926 arg3
= static_cast< int >(val3
);
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= SWIG_Py_Void();
21940 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
= 0;
21942 wxDC
*arg1
= (wxDC
*) 0 ;
21943 wxPoint
*arg2
= 0 ;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 char * kwnames
[] = {
21950 (char *) "self",(char *) "point", NULL
21953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21955 if (!SWIG_IsOK(res1
)) {
21956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
21958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_Py_Void();
21976 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 PyObject
*resultobj
= 0;
21978 wxDC
*arg1
= (wxDC
*) 0 ;
21982 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22004 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 PyObject
*resultobj
= 0;
22006 wxDC
*arg1
= (wxDC
*) 0 ;
22007 int *arg2
= (int *) 0 ;
22008 int *arg3
= (int *) 0 ;
22012 int res2
= SWIG_TMPOBJ
;
22014 int res3
= SWIG_TMPOBJ
;
22015 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_Py_Void();
22033 if (SWIG_IsTmpObj(res2
)) {
22034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22036 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22039 if (SWIG_IsTmpObj(res3
)) {
22040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22042 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22051 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
= 0;
22053 wxDC
*arg1
= (wxDC
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 char * kwnames
[] = {
22066 (char *) "self",(char *) "x",(char *) "y", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22076 if (!SWIG_IsOK(ecode2
)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22079 arg2
= static_cast< int >(val2
);
22080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22081 if (!SWIG_IsOK(ecode3
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22084 arg3
= static_cast< int >(val3
);
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_Py_Void();
22098 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
= 0;
22100 wxDC
*arg1
= (wxDC
*) 0 ;
22101 wxPoint
*arg2
= 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 char * kwnames
[] = {
22108 (char *) "self",(char *) "point", NULL
22111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22113 if (!SWIG_IsOK(res1
)) {
22114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_Py_Void();
22134 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
= 0;
22136 wxDC
*arg1
= (wxDC
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 char * kwnames
[] = {
22149 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22154 if (!SWIG_IsOK(res1
)) {
22155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22158 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22159 if (!SWIG_IsOK(ecode2
)) {
22160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22162 arg2
= static_cast< bool >(val2
);
22163 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22164 if (!SWIG_IsOK(ecode3
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22167 arg3
= static_cast< bool >(val3
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_Py_Void();
22181 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22182 PyObject
*resultobj
= 0;
22183 wxDC
*arg1
= (wxDC
*) 0 ;
22187 PyObject
*swig_obj
[1] ;
22189 if (!args
) SWIG_fail
;
22190 swig_obj
[0] = args
;
22191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22192 if (!SWIG_IsOK(res1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= SWIG_From_int(static_cast< int >(result
));
22209 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
= 0;
22211 wxDC
*arg1
= (wxDC
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char * kwnames
[] = {
22220 (char *) "self",(char *) "function", NULL
22223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22230 if (!SWIG_IsOK(ecode2
)) {
22231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22233 arg2
= static_cast< int >(val2
);
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->SetLogicalFunction(arg2
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= SWIG_Py_Void();
22247 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxDC
*arg1
= (wxDC
*) 0 ;
22252 PyObject
*swig_obj
[1] ;
22254 if (!args
) SWIG_fail
;
22255 swig_obj
[0] = args
;
22256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22257 if (!SWIG_IsOK(res1
)) {
22258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 (arg1
)->ComputeScaleAndOrigin();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_Py_Void();
22274 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
= 0;
22276 wxDC
*arg1
= (wxDC
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 PyObject
* obj2
= 0 ;
22288 char * kwnames
[] = {
22289 (char *) "self",(char *) "x",(char *) "y", NULL
22292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22294 if (!SWIG_IsOK(res1
)) {
22295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22299 if (!SWIG_IsOK(ecode2
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22302 arg2
= static_cast< int >(val2
);
22303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22304 if (!SWIG_IsOK(ecode3
)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22307 arg3
= static_cast< int >(val3
);
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_Py_Void();
22321 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 wxDC
*arg1
= (wxDC
*) 0 ;
22324 wxPoint
*arg2
= 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 char * kwnames
[] = {
22331 (char *) "self",(char *) "point", NULL
22334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22336 if (!SWIG_IsOK(res1
)) {
22337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_Py_Void();
22357 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22358 PyObject
*resultobj
= 0;
22359 wxDC
*arg1
= (wxDC
*) 0 ;
22362 PyObject
*swig_obj
[1] ;
22364 if (!args
) SWIG_fail
;
22365 swig_obj
[0] = args
;
22366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22367 if (!SWIG_IsOK(res1
)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->ResetBoundingBox();
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_Py_Void();
22384 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22385 PyObject
*resultobj
= 0;
22386 wxDC
*arg1
= (wxDC
*) 0 ;
22390 PyObject
*swig_obj
[1] ;
22392 if (!args
) SWIG_fail
;
22393 swig_obj
[0] = args
;
22394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22395 if (!SWIG_IsOK(res1
)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (int)((wxDC
const *)arg1
)->MinX();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_From_int(static_cast< int >(result
));
22412 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22413 PyObject
*resultobj
= 0;
22414 wxDC
*arg1
= (wxDC
*) 0 ;
22418 PyObject
*swig_obj
[1] ;
22420 if (!args
) SWIG_fail
;
22421 swig_obj
[0] = args
;
22422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22423 if (!SWIG_IsOK(res1
)) {
22424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (int)((wxDC
const *)arg1
)->MaxX();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_From_int(static_cast< int >(result
));
22440 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22441 PyObject
*resultobj
= 0;
22442 wxDC
*arg1
= (wxDC
*) 0 ;
22446 PyObject
*swig_obj
[1] ;
22448 if (!args
) SWIG_fail
;
22449 swig_obj
[0] = args
;
22450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22451 if (!SWIG_IsOK(res1
)) {
22452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (int)((wxDC
const *)arg1
)->MinY();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= SWIG_From_int(static_cast< int >(result
));
22468 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 PyObject
*resultobj
= 0;
22470 wxDC
*arg1
= (wxDC
*) 0 ;
22474 PyObject
*swig_obj
[1] ;
22476 if (!args
) SWIG_fail
;
22477 swig_obj
[0] = args
;
22478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22479 if (!SWIG_IsOK(res1
)) {
22480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (int)((wxDC
const *)arg1
)->MaxY();
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= SWIG_From_int(static_cast< int >(result
));
22496 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22497 PyObject
*resultobj
= 0;
22498 wxDC
*arg1
= (wxDC
*) 0 ;
22499 int *arg2
= (int *) 0 ;
22500 int *arg3
= (int *) 0 ;
22501 int *arg4
= (int *) 0 ;
22502 int *arg5
= (int *) 0 ;
22506 int res2
= SWIG_TMPOBJ
;
22508 int res3
= SWIG_TMPOBJ
;
22510 int res4
= SWIG_TMPOBJ
;
22512 int res5
= SWIG_TMPOBJ
;
22513 PyObject
*swig_obj
[1] ;
22519 if (!args
) SWIG_fail
;
22520 swig_obj
[0] = args
;
22521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22522 if (!SWIG_IsOK(res1
)) {
22523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= SWIG_Py_Void();
22533 if (SWIG_IsTmpObj(res2
)) {
22534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22539 if (SWIG_IsTmpObj(res3
)) {
22540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22545 if (SWIG_IsTmpObj(res4
)) {
22546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22548 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22551 if (SWIG_IsTmpObj(res5
)) {
22552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22554 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22563 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
= 0;
22565 wxDC
*arg1
= (wxDC
*) 0 ;
22566 PyObject
*arg2
= (PyObject
*) 0 ;
22567 PyObject
*arg3
= (PyObject
*) 0 ;
22568 PyObject
*arg4
= (PyObject
*) 0 ;
22569 PyObject
*result
= 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 PyObject
* obj2
= 0 ;
22575 PyObject
* obj3
= 0 ;
22576 char * kwnames
[] = {
22577 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22582 if (!SWIG_IsOK(res1
)) {
22583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= result
;
22602 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
= 0;
22604 wxDC
*arg1
= (wxDC
*) 0 ;
22605 PyObject
*arg2
= (PyObject
*) 0 ;
22606 PyObject
*arg3
= (PyObject
*) 0 ;
22607 PyObject
*arg4
= (PyObject
*) 0 ;
22608 PyObject
*result
= 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 PyObject
* obj2
= 0 ;
22614 PyObject
* obj3
= 0 ;
22615 char * kwnames
[] = {
22616 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= result
;
22641 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
= 0;
22643 wxDC
*arg1
= (wxDC
*) 0 ;
22644 PyObject
*arg2
= (PyObject
*) 0 ;
22645 PyObject
*arg3
= (PyObject
*) 0 ;
22646 PyObject
*arg4
= (PyObject
*) 0 ;
22647 PyObject
*result
= 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 PyObject
* obj2
= 0 ;
22653 PyObject
* obj3
= 0 ;
22654 char * kwnames
[] = {
22655 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= result
;
22680 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxDC
*arg1
= (wxDC
*) 0 ;
22683 PyObject
*arg2
= (PyObject
*) 0 ;
22684 PyObject
*arg3
= (PyObject
*) 0 ;
22685 PyObject
*arg4
= (PyObject
*) 0 ;
22686 PyObject
*result
= 0 ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 PyObject
* obj2
= 0 ;
22692 PyObject
* obj3
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= result
;
22719 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
= 0;
22721 wxDC
*arg1
= (wxDC
*) 0 ;
22722 PyObject
*arg2
= (PyObject
*) 0 ;
22723 PyObject
*arg3
= (PyObject
*) 0 ;
22724 PyObject
*arg4
= (PyObject
*) 0 ;
22725 PyObject
*result
= 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 PyObject
* obj2
= 0 ;
22731 PyObject
* obj3
= 0 ;
22732 char * kwnames
[] = {
22733 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= result
;
22758 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
= 0;
22760 wxDC
*arg1
= (wxDC
*) 0 ;
22761 PyObject
*arg2
= (PyObject
*) 0 ;
22762 PyObject
*arg3
= (PyObject
*) 0 ;
22763 PyObject
*arg4
= (PyObject
*) 0 ;
22764 PyObject
*arg5
= (PyObject
*) 0 ;
22765 PyObject
*result
= 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 PyObject
* obj3
= 0 ;
22772 PyObject
* obj4
= 0 ;
22773 char * kwnames
[] = {
22774 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22779 if (!SWIG_IsOK(res1
)) {
22780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= result
;
22800 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22803 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22804 return SWIG_Py_Void();
22807 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22808 PyObject
*resultobj
= 0;
22809 wxMemoryDC
*result
= 0 ;
22811 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22813 if (!wxPyCheckForApp()) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (wxMemoryDC
*)new wxMemoryDC();
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22826 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
= 0;
22828 wxDC
*arg1
= (wxDC
*) 0 ;
22829 wxMemoryDC
*result
= 0 ;
22832 PyObject
* obj0
= 0 ;
22833 char * kwnames
[] = {
22834 (char *) "oldDC", NULL
22837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22844 if (!wxPyCheckForApp()) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22857 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
= 0;
22859 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22860 wxBitmap
*arg2
= 0 ;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 char * kwnames
[] = {
22868 (char *) "self",(char *) "bitmap", NULL
22871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22876 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22878 if (!SWIG_IsOK(res2
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22884 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22898 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22901 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22902 return SWIG_Py_Void();
22905 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22906 return SWIG_Python_InitShadowInstance(args
);
22909 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22910 PyObject
*resultobj
= 0;
22911 wxDC
*arg1
= (wxDC
*) 0 ;
22912 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22913 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22914 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22915 wxBufferedDC
*result
= 0 ;
22923 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22925 if (!SWIG_IsOK(res1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22930 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22931 if (!SWIG_IsOK(res2
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22937 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22940 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22941 if (!SWIG_IsOK(ecode3
)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22944 arg3
= static_cast< int >(val3
);
22947 if (!wxPyCheckForApp()) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22960 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22961 PyObject
*resultobj
= 0;
22962 wxDC
*arg1
= (wxDC
*) 0 ;
22964 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22965 wxBufferedDC
*result
= 0 ;
22972 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
22973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22974 if (!SWIG_IsOK(res1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22980 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
22983 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22984 if (!SWIG_IsOK(ecode3
)) {
22985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22987 arg3
= static_cast< int >(val3
);
22990 if (!wxPyCheckForApp()) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23003 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23007 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23009 if ((argc
>= 1) && (argc
<= 3)) {
23013 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23014 _v
= SWIG_CheckState(res
);
23016 if (!_v
) goto check_1
;
23018 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23022 if ((argc
>= 2) && (argc
<= 3)) {
23023 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23027 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23032 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23045 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_Py_Void();
23060 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23061 PyObject
*resultobj
= 0;
23062 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23065 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23073 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_Py_Void();
23087 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23090 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23091 return SWIG_Py_Void();
23094 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 return SWIG_Python_InitShadowInstance(args
);
23098 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
= 0;
23100 wxWindow
*arg1
= (wxWindow
*) 0 ;
23101 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23102 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23103 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23104 wxBufferedPaintDC
*result
= 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 PyObject
* obj2
= 0 ;
23114 char * kwnames
[] = {
23115 (char *) "window",(char *) "buffer",(char *) "style", NULL
23118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23123 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23126 if (!SWIG_IsOK(res2
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23132 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23136 if (!SWIG_IsOK(ecode3
)) {
23137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23139 arg3
= static_cast< int >(val3
);
23142 if (!wxPyCheckForApp()) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23155 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23158 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23159 return SWIG_Py_Void();
23162 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23163 return SWIG_Python_InitShadowInstance(args
);
23166 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23167 PyObject
*resultobj
= 0;
23168 wxScreenDC
*result
= 0 ;
23170 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23172 if (!wxPyCheckForApp()) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (wxScreenDC
*)new wxScreenDC();
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23185 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
= 0;
23187 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23188 wxWindow
*arg2
= (wxWindow
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char * kwnames
[] = {
23197 (char *) "self",(char *) "window", NULL
23200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23202 if (!SWIG_IsOK(res1
)) {
23203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23205 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23207 if (!SWIG_IsOK(res2
)) {
23208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23226 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
= 0;
23228 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23229 wxRect
*arg2
= (wxRect
*) NULL
;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char * kwnames
[] = {
23238 (char *) "self",(char *) "rect", NULL
23241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23246 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23249 if (!SWIG_IsOK(res2
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23252 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23269 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23270 PyObject
*resultobj
= 0;
23271 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23275 PyObject
*swig_obj
[1] ;
23277 if (!args
) SWIG_fail
;
23278 swig_obj
[0] = args
;
23279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23283 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (bool)(arg1
)->EndDrawingOnTop();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23302 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23303 return SWIG_Py_Void();
23306 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23307 return SWIG_Python_InitShadowInstance(args
);
23310 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
= 0;
23312 wxWindow
*arg1
= (wxWindow
*) 0 ;
23313 wxClientDC
*result
= 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char * kwnames
[] = {
23318 (char *) "win", NULL
23321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23323 if (!SWIG_IsOK(res1
)) {
23324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23328 if (!wxPyCheckForApp()) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (wxClientDC
*)new wxClientDC(arg1
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23341 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23344 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23345 return SWIG_Py_Void();
23348 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 return SWIG_Python_InitShadowInstance(args
);
23352 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
= 0;
23354 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 wxPaintDC
*result
= 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "win", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23370 if (!wxPyCheckForApp()) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23383 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23387 return SWIG_Py_Void();
23390 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 return SWIG_Python_InitShadowInstance(args
);
23394 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 wxWindow
*arg1
= (wxWindow
*) 0 ;
23397 wxWindowDC
*result
= 0 ;
23400 PyObject
* obj0
= 0 ;
23401 char * kwnames
[] = {
23402 (char *) "win", NULL
23405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23407 if (!SWIG_IsOK(res1
)) {
23408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23412 if (!wxPyCheckForApp()) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23425 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23428 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23429 return SWIG_Py_Void();
23432 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23433 return SWIG_Python_InitShadowInstance(args
);
23436 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
= 0;
23440 wxMirrorDC
*result
= 0 ;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 char * kwnames
[] = {
23448 (char *) "dc",(char *) "mirror", NULL
23451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23452 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23461 if (!SWIG_IsOK(ecode2
)) {
23462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23464 arg2
= static_cast< bool >(val2
);
23466 if (!wxPyCheckForApp()) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23479 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23482 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23483 return SWIG_Py_Void();
23486 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23487 return SWIG_Python_InitShadowInstance(args
);
23490 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
= 0;
23492 wxPrintData
*arg1
= 0 ;
23493 wxPostScriptDC
*result
= 0 ;
23496 PyObject
* obj0
= 0 ;
23497 char * kwnames
[] = {
23498 (char *) "printData", NULL
23501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23509 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23511 if (!wxPyCheckForApp()) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23524 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23525 PyObject
*resultobj
= 0;
23526 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23527 wxPrintData
*result
= 0 ;
23530 PyObject
*swig_obj
[1] ;
23532 if (!args
) SWIG_fail
;
23533 swig_obj
[0] = args
;
23534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23535 if (!SWIG_IsOK(res1
)) {
23536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23538 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23543 result
= (wxPrintData
*) &_result_ref
;
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23555 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
= 0;
23557 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23558 wxPrintData
*arg2
= 0 ;
23563 PyObject
* obj0
= 0 ;
23564 PyObject
* obj1
= 0 ;
23565 char * kwnames
[] = {
23566 (char *) "self",(char *) "data", NULL
23569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23571 if (!SWIG_IsOK(res1
)) {
23572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23574 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23576 if (!SWIG_IsOK(res2
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23582 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_Py_Void();
23596 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
= 0;
23601 PyObject
* obj0
= 0 ;
23602 char * kwnames
[] = {
23603 (char *) "ppi", NULL
23606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23607 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23608 if (!SWIG_IsOK(ecode1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23611 arg1
= static_cast< int >(val1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 wxPostScriptDC::SetResolution(arg1
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_Py_Void();
23625 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 PyObject
*resultobj
= 0;
23629 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (int)wxPostScriptDC::GetResolution();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= SWIG_From_int(static_cast< int >(result
));
23643 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23646 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23647 return SWIG_Py_Void();
23650 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23651 return SWIG_Python_InitShadowInstance(args
);
23654 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= 0;
23656 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23657 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23658 wxMetaFile
*result
= 0 ;
23659 bool temp1
= false ;
23660 PyObject
* obj0
= 0 ;
23661 char * kwnames
[] = {
23662 (char *) "filename", NULL
23665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23668 arg1
= wxString_in_helper(obj0
);
23669 if (arg1
== NULL
) SWIG_fail
;
23674 if (!wxPyCheckForApp()) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23695 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23696 PyObject
*resultobj
= 0;
23697 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23700 PyObject
*swig_obj
[1] ;
23702 if (!args
) SWIG_fail
;
23703 swig_obj
[0] = args
;
23704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23708 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_Py_Void();
23723 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23724 PyObject
*resultobj
= 0;
23725 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23729 PyObject
*swig_obj
[1] ;
23731 if (!args
) SWIG_fail
;
23732 swig_obj
[0] = args
;
23733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23734 if (!SWIG_IsOK(res1
)) {
23735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23737 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (bool)(arg1
)->Ok();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23753 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
= 0;
23755 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23756 int arg2
= (int) 0 ;
23757 int arg3
= (int) 0 ;
23765 PyObject
* obj0
= 0 ;
23766 PyObject
* obj1
= 0 ;
23767 PyObject
* obj2
= 0 ;
23768 char * kwnames
[] = {
23769 (char *) "self",(char *) "width",(char *) "height", NULL
23772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23774 if (!SWIG_IsOK(res1
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23777 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23780 if (!SWIG_IsOK(ecode2
)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
23783 arg2
= static_cast< int >(val2
);
23786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23787 if (!SWIG_IsOK(ecode3
)) {
23788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
23790 arg3
= static_cast< int >(val3
);
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23808 PyObject
*resultobj
= 0;
23809 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23813 PyObject
*swig_obj
[1] ;
23815 if (!args
) SWIG_fail
;
23816 swig_obj
[0] = args
;
23817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23818 if (!SWIG_IsOK(res1
)) {
23819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23821 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (arg1
)->GetSize();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23835 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23836 PyObject
*resultobj
= 0;
23837 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23841 PyObject
*swig_obj
[1] ;
23843 if (!args
) SWIG_fail
;
23844 swig_obj
[0] = args
;
23845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23846 if (!SWIG_IsOK(res1
)) {
23847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23849 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (int)(arg1
)->GetWidth();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= SWIG_From_int(static_cast< int >(result
));
23863 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23864 PyObject
*resultobj
= 0;
23865 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23869 PyObject
*swig_obj
[1] ;
23871 if (!args
) SWIG_fail
;
23872 swig_obj
[0] = args
;
23873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23877 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (int)(arg1
)->GetHeight();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_From_int(static_cast< int >(result
));
23891 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23894 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23895 return SWIG_Py_Void();
23898 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 return SWIG_Python_InitShadowInstance(args
);
23902 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
= 0;
23904 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23905 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23906 int arg2
= (int) 0 ;
23907 int arg3
= (int) 0 ;
23908 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23909 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23910 wxMetaFileDC
*result
= 0 ;
23911 bool temp1
= false ;
23916 bool temp4
= false ;
23917 PyObject
* obj0
= 0 ;
23918 PyObject
* obj1
= 0 ;
23919 PyObject
* obj2
= 0 ;
23920 PyObject
* obj3
= 0 ;
23921 char * kwnames
[] = {
23922 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23928 arg1
= wxString_in_helper(obj0
);
23929 if (arg1
== NULL
) SWIG_fail
;
23934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23935 if (!SWIG_IsOK(ecode2
)) {
23936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23938 arg2
= static_cast< int >(val2
);
23941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23942 if (!SWIG_IsOK(ecode3
)) {
23943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23945 arg3
= static_cast< int >(val3
);
23949 arg4
= wxString_in_helper(obj3
);
23950 if (arg4
== NULL
) SWIG_fail
;
23955 if (!wxPyCheckForApp()) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23984 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23985 PyObject
*resultobj
= 0;
23986 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
23987 wxMetaFile
*result
= 0 ;
23990 PyObject
*swig_obj
[1] ;
23992 if (!args
) SWIG_fail
;
23993 swig_obj
[0] = args
;
23994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
23998 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (wxMetaFile
*)(arg1
)->Close();
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24012 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24015 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24016 return SWIG_Py_Void();
24019 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24020 return SWIG_Python_InitShadowInstance(args
);
24023 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
= 0;
24025 wxPrintData
*arg1
= 0 ;
24026 wxPrinterDC
*result
= 0 ;
24029 PyObject
* obj0
= 0 ;
24030 char * kwnames
[] = {
24031 (char *) "printData", NULL
24034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24035 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24036 if (!SWIG_IsOK(res1
)) {
24037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24042 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24044 if (!wxPyCheckForApp()) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24057 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24060 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24061 return SWIG_Py_Void();
24064 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 return SWIG_Python_InitShadowInstance(args
);
24068 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24072 int arg3
= (int) true ;
24073 int arg4
= (int) 1 ;
24074 wxImageList
*result
= 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24086 PyObject
* obj3
= 0 ;
24087 char * kwnames
[] = {
24088 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24093 if (!SWIG_IsOK(ecode1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24096 arg1
= static_cast< int >(val1
);
24097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24098 if (!SWIG_IsOK(ecode2
)) {
24099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24101 arg2
= static_cast< int >(val2
);
24103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24104 if (!SWIG_IsOK(ecode3
)) {
24105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24107 arg3
= static_cast< int >(val3
);
24110 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24111 if (!SWIG_IsOK(ecode4
)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24114 arg4
= static_cast< int >(val4
);
24117 if (!wxPyCheckForApp()) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24132 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 PyObject
*resultobj
= 0;
24134 wxImageList
*arg1
= (wxImageList
*) 0 ;
24137 PyObject
*swig_obj
[1] ;
24139 if (!args
) SWIG_fail
;
24140 swig_obj
[0] = args
;
24141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24145 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_Py_Void();
24160 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
= 0;
24162 wxImageList
*arg1
= (wxImageList
*) 0 ;
24163 wxBitmap
*arg2
= 0 ;
24164 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24165 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 PyObject
* obj2
= 0 ;
24176 char * kwnames
[] = {
24177 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24182 if (!SWIG_IsOK(res1
)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24185 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24187 if (!SWIG_IsOK(res2
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24193 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24196 if (!SWIG_IsOK(res3
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24202 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= SWIG_From_int(static_cast< int >(result
));
24217 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
= 0;
24219 wxImageList
*arg1
= (wxImageList
*) 0 ;
24220 wxBitmap
*arg2
= 0 ;
24221 wxColour
*arg3
= 0 ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 char * kwnames
[] = {
24232 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24240 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24242 if (!SWIG_IsOK(res2
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24251 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_From_int(static_cast< int >(result
));
24266 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
= 0;
24268 wxImageList
*arg1
= (wxImageList
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char * kwnames
[] = {
24278 (char *) "self",(char *) "icon", NULL
24281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24283 if (!SWIG_IsOK(res1
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24286 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24288 if (!SWIG_IsOK(res2
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24294 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_From_int(static_cast< int >(result
));
24308 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
= 0;
24310 wxImageList
*arg1
= (wxImageList
*) 0 ;
24312 SwigValueWrapper
<wxBitmap
> result
;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char * kwnames
[] = {
24320 (char *) "self",(char *) "index", NULL
24323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24328 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24330 if (!SWIG_IsOK(ecode2
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24333 arg2
= static_cast< int >(val2
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24347 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
= 0;
24349 wxImageList
*arg1
= (wxImageList
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "index", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24367 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24372 arg2
= static_cast< int >(val2
);
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24386 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxImageList
*arg1
= (wxImageList
*) 0 ;
24390 wxBitmap
*arg3
= 0 ;
24391 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24392 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 PyObject
* obj2
= 0 ;
24405 PyObject
* obj3
= 0 ;
24406 char * kwnames
[] = {
24407 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24415 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24417 if (!SWIG_IsOK(ecode2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24420 arg2
= static_cast< int >(val2
);
24421 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24422 if (!SWIG_IsOK(res3
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24428 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24430 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24431 if (!SWIG_IsOK(res4
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24437 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24454 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxImageList
*arg1
= (wxImageList
*) 0 ;
24461 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24462 bool arg7
= (bool) (bool)false ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 PyObject
* obj2
= 0 ;
24481 PyObject
* obj3
= 0 ;
24482 PyObject
* obj4
= 0 ;
24483 PyObject
* obj5
= 0 ;
24484 PyObject
* obj6
= 0 ;
24485 char * kwnames
[] = {
24486 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24494 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24496 if (!SWIG_IsOK(ecode2
)) {
24497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24499 arg2
= static_cast< int >(val2
);
24500 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24501 if (!SWIG_IsOK(res3
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24507 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24509 if (!SWIG_IsOK(ecode4
)) {
24510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24512 arg4
= static_cast< int >(val4
);
24513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24514 if (!SWIG_IsOK(ecode5
)) {
24515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24517 arg5
= static_cast< int >(val5
);
24519 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24520 if (!SWIG_IsOK(ecode6
)) {
24521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24523 arg6
= static_cast< int >(val6
);
24526 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24527 if (!SWIG_IsOK(ecode7
)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24530 arg7
= static_cast< bool >(val7
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24547 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24548 PyObject
*resultobj
= 0;
24549 wxImageList
*arg1
= (wxImageList
*) 0 ;
24553 PyObject
*swig_obj
[1] ;
24555 if (!args
) SWIG_fail
;
24556 swig_obj
[0] = args
;
24557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24561 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (int)(arg1
)->GetImageCount();
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_From_int(static_cast< int >(result
));
24575 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= 0;
24577 wxImageList
*arg1
= (wxImageList
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "index", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24595 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24600 arg2
= static_cast< int >(val2
);
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (bool)(arg1
)->Remove(arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24616 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24617 PyObject
*resultobj
= 0;
24618 wxImageList
*arg1
= (wxImageList
*) 0 ;
24622 PyObject
*swig_obj
[1] ;
24624 if (!args
) SWIG_fail
;
24625 swig_obj
[0] = args
;
24626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24630 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (bool)(arg1
)->RemoveAll();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24646 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxImageList
*arg1
= (wxImageList
*) 0 ;
24657 int res3
= SWIG_TMPOBJ
;
24659 int res4
= SWIG_TMPOBJ
;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "index", NULL
24668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24670 if (!SWIG_IsOK(res1
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24673 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24675 if (!SWIG_IsOK(ecode2
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24678 arg2
= static_cast< int >(val2
);
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_Py_Void();
24686 if (SWIG_IsTmpObj(res3
)) {
24687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24692 if (SWIG_IsTmpObj(res4
)) {
24693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24695 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24704 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24707 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24708 return SWIG_Py_Void();
24711 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 return SWIG_Python_InitShadowInstance(args
);
24715 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24716 PyObject
*resultobj
= 0;
24717 wxStockGDI
*result
= 0 ;
24719 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (wxStockGDI
*)new wxStockGDI();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24733 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24734 PyObject
*resultobj
= 0;
24735 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24738 PyObject
*swig_obj
[1] ;
24740 if (!args
) SWIG_fail
;
24741 swig_obj
[0] = args
;
24742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24743 if (!SWIG_IsOK(res1
)) {
24744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24746 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_Py_Void();
24761 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24762 PyObject
*resultobj
= 0;
24764 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 wxStockGDI::DeleteAll();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= SWIG_Py_Void();
24778 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24779 PyObject
*resultobj
= 0;
24780 wxStockGDI
*result
= 0 ;
24782 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24787 result
= (wxStockGDI
*) &_result_ref
;
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24799 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
= 0;
24801 wxStockGDI::Item arg1
;
24802 wxBrush
*result
= 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char * kwnames
[] = {
24807 (char *) "item", NULL
24810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24812 if (!SWIG_IsOK(ecode1
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24815 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24829 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= 0;
24831 wxStockGDI::Item arg1
;
24832 wxColour
*result
= 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char * kwnames
[] = {
24837 (char *) "item", NULL
24840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24842 if (!SWIG_IsOK(ecode1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24845 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24859 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
= 0;
24861 wxStockGDI::Item arg1
;
24862 wxCursor
*result
= 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char * kwnames
[] = {
24867 (char *) "item", NULL
24870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24871 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24872 if (!SWIG_IsOK(ecode1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24875 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24889 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= 0;
24891 wxStockGDI::Item arg1
;
24892 wxPen
*result
= 0 ;
24895 PyObject
* obj0
= 0 ;
24896 char * kwnames
[] = {
24897 (char *) "item", NULL
24900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24902 if (!SWIG_IsOK(ecode1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24905 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24919 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
= 0;
24921 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24922 wxStockGDI::Item arg2
;
24923 wxFont
*result
= 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 char * kwnames
[] = {
24931 (char *) "self",(char *) "item", NULL
24934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24939 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24941 if (!SWIG_IsOK(ecode2
)) {
24942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24944 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24958 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24961 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24962 return SWIG_Py_Void();
24965 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24966 return SWIG_Python_InitShadowInstance(args
);
24969 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24970 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24975 SWIGINTERN PyObject
*NullBitmap_get(void) {
24976 PyObject
*pyobj
= 0;
24978 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24983 SWIGINTERN
int NullIcon_set(PyObject
*) {
24984 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24989 SWIGINTERN PyObject
*NullIcon_get(void) {
24990 PyObject
*pyobj
= 0;
24992 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24997 SWIGINTERN
int NullCursor_set(PyObject
*) {
24998 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25003 SWIGINTERN PyObject
*NullCursor_get(void) {
25004 PyObject
*pyobj
= 0;
25006 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25011 SWIGINTERN
int NullPen_set(PyObject
*) {
25012 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25017 SWIGINTERN PyObject
*NullPen_get(void) {
25018 PyObject
*pyobj
= 0;
25020 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25025 SWIGINTERN
int NullBrush_set(PyObject
*) {
25026 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25031 SWIGINTERN PyObject
*NullBrush_get(void) {
25032 PyObject
*pyobj
= 0;
25034 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25039 SWIGINTERN
int NullPalette_set(PyObject
*) {
25040 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25045 SWIGINTERN PyObject
*NullPalette_get(void) {
25046 PyObject
*pyobj
= 0;
25048 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25053 SWIGINTERN
int NullFont_set(PyObject
*) {
25054 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25059 SWIGINTERN PyObject
*NullFont_get(void) {
25060 PyObject
*pyobj
= 0;
25062 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25067 SWIGINTERN
int NullColour_set(PyObject
*) {
25068 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25073 SWIGINTERN PyObject
*NullColour_get(void) {
25074 PyObject
*pyobj
= 0;
25076 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25081 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25082 PyObject
*resultobj
= 0;
25083 wxGDIObjListBase
*result
= 0 ;
25085 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25099 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25100 PyObject
*resultobj
= 0;
25101 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25104 PyObject
*swig_obj
[1] ;
25106 if (!args
) SWIG_fail
;
25107 swig_obj
[0] = args
;
25108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25109 if (!SWIG_IsOK(res1
)) {
25110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25112 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_Py_Void();
25127 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25130 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25131 return SWIG_Py_Void();
25134 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25135 return SWIG_Python_InitShadowInstance(args
);
25138 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
= 0;
25140 wxPenList
*arg1
= (wxPenList
*) 0 ;
25141 wxColour
*arg2
= 0 ;
25144 wxPen
*result
= 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 PyObject
* obj2
= 0 ;
25155 PyObject
* obj3
= 0 ;
25156 char * kwnames
[] = {
25157 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25162 if (!SWIG_IsOK(res1
)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25165 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25171 if (!SWIG_IsOK(ecode3
)) {
25172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25174 arg3
= static_cast< int >(val3
);
25175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25176 if (!SWIG_IsOK(ecode4
)) {
25177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25179 arg4
= static_cast< int >(val4
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25193 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxPenList
*arg1
= (wxPenList
*) 0 ;
25196 wxPen
*arg2
= (wxPen
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "self",(char *) "pen", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25212 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25214 if (!SWIG_IsOK(res2
)) {
25215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25217 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->AddPen(arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxPenList
*arg1
= (wxPenList
*) 0 ;
25234 wxPen
*arg2
= (wxPen
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char * kwnames
[] = {
25242 (char *) "self",(char *) "pen", NULL
25245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25250 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25252 if (!SWIG_IsOK(res2
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25255 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->RemovePen(arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_Py_Void();
25269 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25272 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25273 return SWIG_Py_Void();
25276 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
= 0;
25278 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25279 wxColour
*arg2
= 0 ;
25280 int arg3
= (int) wxSOLID
;
25281 wxBrush
*result
= 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 PyObject
* obj2
= 0 ;
25290 char * kwnames
[] = {
25291 (char *) "self",(char *) "colour",(char *) "style", NULL
25294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25299 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25306 if (!SWIG_IsOK(ecode3
)) {
25307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25309 arg3
= static_cast< int >(val3
);
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25324 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
= 0;
25326 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25327 wxBrush
*arg2
= (wxBrush
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 char * kwnames
[] = {
25335 (char *) "self",(char *) "brush", NULL
25338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25343 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25345 if (!SWIG_IsOK(res2
)) {
25346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25348 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->AddBrush(arg2
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= SWIG_Py_Void();
25362 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
= 0;
25364 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25365 wxBrush
*arg2
= (wxBrush
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char * kwnames
[] = {
25373 (char *) "self",(char *) "brush", NULL
25376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25378 if (!SWIG_IsOK(res1
)) {
25379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25381 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25383 if (!SWIG_IsOK(res2
)) {
25384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25386 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 (arg1
)->RemoveBrush(arg2
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= SWIG_Py_Void();
25400 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25403 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25404 return SWIG_Py_Void();
25407 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
= 0;
25409 wxFontList
*arg1
= (wxFontList
*) 0 ;
25414 bool arg6
= (bool) false ;
25415 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25417 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25418 wxFont
*result
= 0 ;
25431 bool temp7
= false ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 PyObject
* obj3
= 0 ;
25438 PyObject
* obj4
= 0 ;
25439 PyObject
* obj5
= 0 ;
25440 PyObject
* obj6
= 0 ;
25441 PyObject
* obj7
= 0 ;
25442 char * kwnames
[] = {
25443 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25451 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25453 if (!SWIG_IsOK(ecode2
)) {
25454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25456 arg2
= static_cast< int >(val2
);
25457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25458 if (!SWIG_IsOK(ecode3
)) {
25459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25461 arg3
= static_cast< int >(val3
);
25462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25463 if (!SWIG_IsOK(ecode4
)) {
25464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25466 arg4
= static_cast< int >(val4
);
25467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25468 if (!SWIG_IsOK(ecode5
)) {
25469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25471 arg5
= static_cast< int >(val5
);
25473 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25474 if (!SWIG_IsOK(ecode6
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25477 arg6
= static_cast< bool >(val6
);
25481 arg7
= wxString_in_helper(obj6
);
25482 if (arg7
== NULL
) SWIG_fail
;
25487 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25488 if (!SWIG_IsOK(ecode8
)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25491 arg8
= static_cast< wxFontEncoding
>(val8
);
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25514 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
= 0;
25516 wxFontList
*arg1
= (wxFontList
*) 0 ;
25517 wxFont
*arg2
= (wxFont
*) 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char * kwnames
[] = {
25525 (char *) "self",(char *) "font", NULL
25528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25530 if (!SWIG_IsOK(res1
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25533 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25535 if (!SWIG_IsOK(res2
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25538 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 (arg1
)->AddFont(arg2
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_Py_Void();
25552 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxFontList
*arg1
= (wxFontList
*) 0 ;
25555 wxFont
*arg2
= (wxFont
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "self",(char *) "font", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25571 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25573 if (!SWIG_IsOK(res2
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25576 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->RemoveFont(arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_Py_Void();
25590 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25593 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25594 return SWIG_Py_Void();
25597 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 PyObject
*resultobj
= 0;
25599 wxColourDatabase
*result
= 0 ;
25601 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25603 if (!wxPyCheckForApp()) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (wxColourDatabase
*)new wxColourDatabase();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25616 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25617 PyObject
*resultobj
= 0;
25618 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25621 PyObject
*swig_obj
[1] ;
25623 if (!args
) SWIG_fail
;
25624 swig_obj
[0] = args
;
25625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25629 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_Py_Void();
25644 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
= 0;
25646 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25647 wxString
*arg2
= 0 ;
25651 bool temp2
= false ;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 char * kwnames
[] = {
25655 (char *) "self",(char *) "name", NULL
25658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25660 if (!SWIG_IsOK(res1
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25663 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25665 arg2
= wxString_in_helper(obj1
);
25666 if (arg2
== NULL
) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25690 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25693 wxColour
*arg2
= 0 ;
25698 PyObject
* obj0
= 0 ;
25699 PyObject
* obj1
= 0 ;
25700 char * kwnames
[] = {
25701 (char *) "self",(char *) "colour", NULL
25704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25706 if (!SWIG_IsOK(res1
)) {
25707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25709 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25733 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
= 0;
25735 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25736 wxString
*arg2
= 0 ;
25737 wxColour
*arg3
= 0 ;
25740 bool temp2
= false ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 PyObject
* obj2
= 0 ;
25745 char * kwnames
[] = {
25746 (char *) "self",(char *) "name",(char *) "colour", NULL
25749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25754 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25756 arg2
= wxString_in_helper(obj1
);
25757 if (arg2
== NULL
) SWIG_fail
;
25762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25785 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
= 0;
25787 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25788 wxString
*arg2
= 0 ;
25794 bool temp2
= false ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 PyObject
* obj2
= 0 ;
25804 PyObject
* obj3
= 0 ;
25805 PyObject
* obj4
= 0 ;
25806 char * kwnames
[] = {
25807 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25815 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25817 arg2
= wxString_in_helper(obj1
);
25818 if (arg2
== NULL
) SWIG_fail
;
25821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25822 if (!SWIG_IsOK(ecode3
)) {
25823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25825 arg3
= static_cast< int >(val3
);
25826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25827 if (!SWIG_IsOK(ecode4
)) {
25828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25830 arg4
= static_cast< int >(val4
);
25831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25832 if (!SWIG_IsOK(ecode5
)) {
25833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25835 arg5
= static_cast< int >(val5
);
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_Py_Void();
25857 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25860 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25861 return SWIG_Py_Void();
25864 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25865 return SWIG_Python_InitShadowInstance(args
);
25868 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 PyObject
*resultobj
= 0;
25870 wxFontList
*result
= 0 ;
25872 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (wxFontList
*)_wxPyInitTheFontList();
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25886 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25887 PyObject
*resultobj
= 0;
25888 wxPenList
*result
= 0 ;
25890 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (wxPenList
*)_wxPyInitThePenList();
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25904 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25905 PyObject
*resultobj
= 0;
25906 wxBrushList
*result
= 0 ;
25908 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25922 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25923 PyObject
*resultobj
= 0;
25924 wxColourDatabase
*result
= 0 ;
25926 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25940 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 PyObject
*resultobj
= 0;
25942 wxEffects
*result
= 0 ;
25944 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= (wxEffects
*)new wxEffects();
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25958 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25959 PyObject
*resultobj
= 0;
25960 wxEffects
*arg1
= (wxEffects
*) 0 ;
25964 PyObject
*swig_obj
[1] ;
25966 if (!args
) SWIG_fail
;
25967 swig_obj
[0] = args
;
25968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25969 if (!SWIG_IsOK(res1
)) {
25970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25972 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25986 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 PyObject
*resultobj
= 0;
25988 wxEffects
*arg1
= (wxEffects
*) 0 ;
25992 PyObject
*swig_obj
[1] ;
25994 if (!args
) SWIG_fail
;
25995 swig_obj
[0] = args
;
25996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25997 if (!SWIG_IsOK(res1
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26000 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26014 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26015 PyObject
*resultobj
= 0;
26016 wxEffects
*arg1
= (wxEffects
*) 0 ;
26020 PyObject
*swig_obj
[1] ;
26022 if (!args
) SWIG_fail
;
26023 swig_obj
[0] = args
;
26024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26025 if (!SWIG_IsOK(res1
)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26028 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26042 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26043 PyObject
*resultobj
= 0;
26044 wxEffects
*arg1
= (wxEffects
*) 0 ;
26048 PyObject
*swig_obj
[1] ;
26050 if (!args
) SWIG_fail
;
26051 swig_obj
[0] = args
;
26052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26053 if (!SWIG_IsOK(res1
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26056 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26070 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26071 PyObject
*resultobj
= 0;
26072 wxEffects
*arg1
= (wxEffects
*) 0 ;
26076 PyObject
*swig_obj
[1] ;
26078 if (!args
) SWIG_fail
;
26079 swig_obj
[0] = args
;
26080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26081 if (!SWIG_IsOK(res1
)) {
26082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26084 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26098 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
= 0;
26100 wxEffects
*arg1
= (wxEffects
*) 0 ;
26101 wxColour
*arg2
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char * kwnames
[] = {
26108 (char *) "self",(char *) "c", NULL
26111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26116 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_Py_Void();
26134 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
= 0;
26136 wxEffects
*arg1
= (wxEffects
*) 0 ;
26137 wxColour
*arg2
= 0 ;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 char * kwnames
[] = {
26144 (char *) "self",(char *) "c", NULL
26147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26149 if (!SWIG_IsOK(res1
)) {
26150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26152 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_Py_Void();
26170 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
= 0;
26172 wxEffects
*arg1
= (wxEffects
*) 0 ;
26173 wxColour
*arg2
= 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char * kwnames
[] = {
26180 (char *) "self",(char *) "c", NULL
26183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26188 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26191 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= SWIG_Py_Void();
26206 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
= 0;
26208 wxEffects
*arg1
= (wxEffects
*) 0 ;
26209 wxColour
*arg2
= 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char * kwnames
[] = {
26216 (char *) "self",(char *) "c", NULL
26219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26224 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_Py_Void();
26242 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
= 0;
26244 wxEffects
*arg1
= (wxEffects
*) 0 ;
26245 wxColour
*arg2
= 0 ;
26249 PyObject
* obj0
= 0 ;
26250 PyObject
* obj1
= 0 ;
26251 char * kwnames
[] = {
26252 (char *) "self",(char *) "c", NULL
26255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26257 if (!SWIG_IsOK(res1
)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26260 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_Py_Void();
26278 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
= 0;
26280 wxEffects
*arg1
= (wxEffects
*) 0 ;
26281 wxColour
*arg2
= 0 ;
26282 wxColour
*arg3
= 0 ;
26283 wxColour
*arg4
= 0 ;
26284 wxColour
*arg5
= 0 ;
26285 wxColour
*arg6
= 0 ;
26293 PyObject
* obj0
= 0 ;
26294 PyObject
* obj1
= 0 ;
26295 PyObject
* obj2
= 0 ;
26296 PyObject
* obj3
= 0 ;
26297 PyObject
* obj4
= 0 ;
26298 PyObject
* obj5
= 0 ;
26299 char * kwnames
[] = {
26300 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26305 if (!SWIG_IsOK(res1
)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26308 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26315 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26319 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26323 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26327 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_Py_Void();
26342 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
= 0;
26344 wxEffects
*arg1
= (wxEffects
*) 0 ;
26347 int arg4
= (int) 1 ;
26355 PyObject
* obj0
= 0 ;
26356 PyObject
* obj1
= 0 ;
26357 PyObject
* obj2
= 0 ;
26358 PyObject
* obj3
= 0 ;
26359 char * kwnames
[] = {
26360 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26368 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26370 if (!SWIG_IsOK(res2
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26376 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26379 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26383 if (!SWIG_IsOK(ecode4
)) {
26384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26386 arg4
= static_cast< int >(val4
);
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= SWIG_Py_Void();
26401 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
= 0;
26403 wxEffects
*arg1
= (wxEffects
*) 0 ;
26406 wxBitmap
*arg4
= 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 PyObject
* obj2
= 0 ;
26418 PyObject
* obj3
= 0 ;
26419 char * kwnames
[] = {
26420 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26428 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26433 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26434 if (!SWIG_IsOK(res3
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26440 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26441 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26442 if (!SWIG_IsOK(res4
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26448 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26464 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26467 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26468 return SWIG_Py_Void();
26471 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26472 return SWIG_Python_InitShadowInstance(args
);
26475 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
= 0;
26480 wxSplitterRenderParams
*result
= 0 ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 PyObject
* obj2
= 0 ;
26490 char * kwnames
[] = {
26491 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26495 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26496 if (!SWIG_IsOK(ecode1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26499 arg1
= static_cast< int >(val1
);
26500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26501 if (!SWIG_IsOK(ecode2
)) {
26502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26504 arg2
= static_cast< int >(val2
);
26505 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26506 if (!SWIG_IsOK(ecode3
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26509 arg3
= static_cast< bool >(val3
);
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26523 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26524 PyObject
*resultobj
= 0;
26525 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26528 PyObject
*swig_obj
[1] ;
26530 if (!args
) SWIG_fail
;
26531 swig_obj
[0] = args
;
26532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26533 if (!SWIG_IsOK(res1
)) {
26534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26536 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 resultobj
= SWIG_Py_Void();
26551 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26552 PyObject
*resultobj
= 0;
26553 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26557 PyObject
*swig_obj
[1] ;
26559 if (!args
) SWIG_fail
;
26560 swig_obj
[0] = args
;
26561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26562 if (!SWIG_IsOK(res1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26565 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26566 result
= (int)(int) ((arg1
)->widthSash
);
26567 resultobj
= SWIG_From_int(static_cast< int >(result
));
26574 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26575 PyObject
*resultobj
= 0;
26576 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26580 PyObject
*swig_obj
[1] ;
26582 if (!args
) SWIG_fail
;
26583 swig_obj
[0] = args
;
26584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26588 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26589 result
= (int)(int) ((arg1
)->border
);
26590 resultobj
= SWIG_From_int(static_cast< int >(result
));
26597 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26598 PyObject
*resultobj
= 0;
26599 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26603 PyObject
*swig_obj
[1] ;
26605 if (!args
) SWIG_fail
;
26606 swig_obj
[0] = args
;
26607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26608 if (!SWIG_IsOK(res1
)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26611 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26612 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26613 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26620 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26623 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26624 return SWIG_Py_Void();
26627 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26628 return SWIG_Python_InitShadowInstance(args
);
26631 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
= 0;
26635 wxRendererVersion
*result
= 0 ;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char * kwnames
[] = {
26643 (char *) "version_",(char *) "age_", NULL
26646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26648 if (!SWIG_IsOK(ecode1
)) {
26649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26651 arg1
= static_cast< int >(val1
);
26652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26653 if (!SWIG_IsOK(ecode2
)) {
26654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26656 arg2
= static_cast< int >(val2
);
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26670 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26671 PyObject
*resultobj
= 0;
26672 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26675 PyObject
*swig_obj
[1] ;
26677 if (!args
) SWIG_fail
;
26678 swig_obj
[0] = args
;
26679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26680 if (!SWIG_IsOK(res1
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26683 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
= 0;
26700 wxRendererVersion
*arg1
= 0 ;
26704 PyObject
* obj0
= 0 ;
26705 char * kwnames
[] = {
26706 (char *) "ver", NULL
26709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
26710 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26717 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26733 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26739 PyObject
*swig_obj
[1] ;
26741 if (!args
) SWIG_fail
;
26742 swig_obj
[0] = args
;
26743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26747 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26748 result
= (int)(int) ((arg1
)->version
);
26749 resultobj
= SWIG_From_int(static_cast< int >(result
));
26756 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26757 PyObject
*resultobj
= 0;
26758 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26762 PyObject
*swig_obj
[1] ;
26764 if (!args
) SWIG_fail
;
26765 swig_obj
[0] = args
;
26766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26770 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26771 result
= (int)(int) ((arg1
)->age
);
26772 resultobj
= SWIG_From_int(static_cast< int >(result
));
26779 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26782 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
26783 return SWIG_Py_Void();
26786 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26787 return SWIG_Python_InitShadowInstance(args
);
26790 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
= 0;
26792 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26793 wxWindow
*arg2
= (wxWindow
*) 0 ;
26796 int arg5
= (int) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 PyObject
* obj2
= 0 ;
26809 PyObject
* obj3
= 0 ;
26810 PyObject
* obj4
= 0 ;
26811 char * kwnames
[] = {
26812 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26820 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26822 if (!SWIG_IsOK(res2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26825 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26827 if (!SWIG_IsOK(res3
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26833 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26836 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26839 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26840 if (!SWIG_IsOK(ecode5
)) {
26841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
26843 arg5
= static_cast< int >(val5
);
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_Py_Void();
26858 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
= 0;
26860 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26861 wxWindow
*arg2
= (wxWindow
*) 0 ;
26864 int arg5
= (int) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 PyObject
* obj2
= 0 ;
26877 PyObject
* obj3
= 0 ;
26878 PyObject
* obj4
= 0 ;
26879 char * kwnames
[] = {
26880 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26888 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26890 if (!SWIG_IsOK(res2
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26895 if (!SWIG_IsOK(res3
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26901 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26904 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26908 if (!SWIG_IsOK(ecode5
)) {
26909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
26911 arg5
= static_cast< int >(val5
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_Py_Void();
26926 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
= 0;
26928 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26929 wxWindow
*arg2
= (wxWindow
*) 0 ;
26932 int arg5
= (int) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 PyObject
* obj2
= 0 ;
26945 PyObject
* obj3
= 0 ;
26946 PyObject
* obj4
= 0 ;
26947 char * kwnames
[] = {
26948 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26953 if (!SWIG_IsOK(res1
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26956 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26958 if (!SWIG_IsOK(res2
)) {
26959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
26961 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26962 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26963 if (!SWIG_IsOK(res3
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26969 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26972 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26975 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26976 if (!SWIG_IsOK(ecode5
)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
26979 arg5
= static_cast< int >(val5
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26997 wxWindow
*arg2
= (wxWindow
*) 0 ;
27001 wxOrientation arg6
;
27002 int arg7
= (int) 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 PyObject
* obj2
= 0 ;
27019 PyObject
* obj3
= 0 ;
27020 PyObject
* obj4
= 0 ;
27021 PyObject
* obj5
= 0 ;
27022 PyObject
* obj6
= 0 ;
27023 char * kwnames
[] = {
27024 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27032 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27033 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27034 if (!SWIG_IsOK(res2
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27037 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27038 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27039 if (!SWIG_IsOK(res3
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27045 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27051 if (!SWIG_IsOK(ecode5
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27054 arg5
= static_cast< int >(val5
);
27055 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27056 if (!SWIG_IsOK(ecode6
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27059 arg6
= static_cast< wxOrientation
>(val6
);
27061 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27062 if (!SWIG_IsOK(ecode7
)) {
27063 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27065 arg7
= static_cast< int >(val7
);
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_Py_Void();
27080 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
= 0;
27082 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27083 wxWindow
*arg2
= (wxWindow
*) 0 ;
27086 int arg5
= (int) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 PyObject
* obj2
= 0 ;
27099 PyObject
* obj3
= 0 ;
27100 PyObject
* obj4
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27110 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27112 if (!SWIG_IsOK(res2
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27117 if (!SWIG_IsOK(res3
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27123 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27126 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27129 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27130 if (!SWIG_IsOK(ecode5
)) {
27131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27133 arg5
= static_cast< int >(val5
);
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= SWIG_Py_Void();
27148 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
= 0;
27150 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27151 wxWindow
*arg2
= (wxWindow
*) 0 ;
27154 int arg5
= (int) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 PyObject
* obj1
= 0 ;
27166 PyObject
* obj2
= 0 ;
27167 PyObject
* obj3
= 0 ;
27168 PyObject
* obj4
= 0 ;
27169 char * kwnames
[] = {
27170 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27175 if (!SWIG_IsOK(res1
)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27178 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27180 if (!SWIG_IsOK(res2
)) {
27181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27184 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27185 if (!SWIG_IsOK(res3
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27191 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27194 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27197 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27198 if (!SWIG_IsOK(ecode5
)) {
27199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27201 arg5
= static_cast< int >(val5
);
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_Py_Void();
27216 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
= 0;
27218 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27219 wxWindow
*arg2
= (wxWindow
*) 0 ;
27222 int arg5
= (int) 0 ;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 PyObject
* obj2
= 0 ;
27235 PyObject
* obj3
= 0 ;
27236 PyObject
* obj4
= 0 ;
27237 char * kwnames
[] = {
27238 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27246 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27248 if (!SWIG_IsOK(res2
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27252 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27253 if (!SWIG_IsOK(res3
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27259 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27262 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27265 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27266 if (!SWIG_IsOK(ecode5
)) {
27267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27269 arg5
= static_cast< int >(val5
);
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_Py_Void();
27284 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
= 0;
27286 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27287 wxWindow
*arg2
= (wxWindow
*) 0 ;
27290 int arg5
= (int) 0 ;
27300 PyObject
* obj0
= 0 ;
27301 PyObject
* obj1
= 0 ;
27302 PyObject
* obj2
= 0 ;
27303 PyObject
* obj3
= 0 ;
27304 PyObject
* obj4
= 0 ;
27305 char * kwnames
[] = {
27306 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27314 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27316 if (!SWIG_IsOK(res2
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27319 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27320 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27321 if (!SWIG_IsOK(res3
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27327 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27330 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27333 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27334 if (!SWIG_IsOK(ecode5
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27337 arg5
= static_cast< int >(val5
);
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_Py_Void();
27352 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
= 0;
27354 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27355 wxWindow
*arg2
= (wxWindow
*) 0 ;
27358 int arg5
= (int) 0 ;
27368 PyObject
* obj0
= 0 ;
27369 PyObject
* obj1
= 0 ;
27370 PyObject
* obj2
= 0 ;
27371 PyObject
* obj3
= 0 ;
27372 PyObject
* obj4
= 0 ;
27373 char * kwnames
[] = {
27374 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27382 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27384 if (!SWIG_IsOK(res2
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27387 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27388 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27389 if (!SWIG_IsOK(res3
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27395 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27398 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27402 if (!SWIG_IsOK(ecode5
)) {
27403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27405 arg5
= static_cast< int >(val5
);
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= SWIG_Py_Void();
27420 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27421 PyObject
*resultobj
= 0;
27422 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27423 wxWindow
*arg2
= (wxWindow
*) 0 ;
27424 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27429 PyObject
* obj0
= 0 ;
27430 PyObject
* obj1
= 0 ;
27431 char * kwnames
[] = {
27432 (char *) "self",(char *) "win", NULL
27435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27437 if (!SWIG_IsOK(res1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27440 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27442 if (!SWIG_IsOK(res2
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27445 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27459 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxRendererNative
*result
= 0 ;
27463 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27465 if (!wxPyCheckForApp()) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27469 result
= (wxRendererNative
*) &_result_ref
;
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27481 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27482 PyObject
*resultobj
= 0;
27483 wxRendererNative
*result
= 0 ;
27485 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27487 if (!wxPyCheckForApp()) SWIG_fail
;
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27491 result
= (wxRendererNative
*) &_result_ref
;
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27503 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27504 PyObject
*resultobj
= 0;
27505 wxRendererNative
*result
= 0 ;
27507 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27509 if (!wxPyCheckForApp()) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27513 result
= (wxRendererNative
*) &_result_ref
;
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27525 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
= 0;
27527 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27528 wxRendererNative
*result
= 0 ;
27531 PyObject
* obj0
= 0 ;
27532 char * kwnames
[] = {
27533 (char *) "renderer", NULL
27536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27541 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27543 if (!wxPyCheckForApp()) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27556 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27557 PyObject
*resultobj
= 0;
27558 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27559 SwigValueWrapper
<wxRendererVersion
> result
;
27562 PyObject
*swig_obj
[1] ;
27564 if (!args
) SWIG_fail
;
27565 swig_obj
[0] = args
;
27566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27567 if (!SWIG_IsOK(res1
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
27570 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
27584 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27587 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
27588 return SWIG_Py_Void();
27591 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxPseudoDC
*result
= 0 ;
27595 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (wxPseudoDC
*)new wxPseudoDC();
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
27609 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27610 PyObject
*resultobj
= 0;
27611 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27614 PyObject
*swig_obj
[1] ;
27616 if (!args
) SWIG_fail
;
27617 swig_obj
[0] = args
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27622 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 (arg1
)->BeginDrawing();
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_Py_Void();
27636 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27637 PyObject
*resultobj
= 0;
27638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27641 PyObject
*swig_obj
[1] ;
27643 if (!args
) SWIG_fail
;
27644 swig_obj
[0] = args
;
27645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 (arg1
)->EndDrawing();
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_Py_Void();
27663 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27664 PyObject
*resultobj
= 0;
27665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27668 PyObject
*swig_obj
[1] ;
27670 if (!args
) SWIG_fail
;
27671 swig_obj
[0] = args
;
27672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
27673 if (!SWIG_IsOK(res1
)) {
27674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27676 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= SWIG_Py_Void();
27691 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27692 PyObject
*resultobj
= 0;
27693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27696 PyObject
*swig_obj
[1] ;
27698 if (!args
) SWIG_fail
;
27699 swig_obj
[0] = args
;
27700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27704 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 (arg1
)->RemoveAll();
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 resultobj
= SWIG_Py_Void();
27718 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27719 PyObject
*resultobj
= 0;
27720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27724 PyObject
*swig_obj
[1] ;
27726 if (!args
) SWIG_fail
;
27727 swig_obj
[0] = args
;
27728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27729 if (!SWIG_IsOK(res1
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (int)(arg1
)->GetLen();
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= SWIG_From_int(static_cast< int >(result
));
27746 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
= 0;
27748 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 char * kwnames
[] = {
27757 (char *) "self",(char *) "id", NULL
27760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27762 if (!SWIG_IsOK(res1
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27767 if (!SWIG_IsOK(ecode2
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
27770 arg2
= static_cast< int >(val2
);
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 (arg1
)->SetId(arg2
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_Py_Void();
27784 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
= 0;
27786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 char * kwnames
[] = {
27795 (char *) "self",(char *) "id", NULL
27798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27800 if (!SWIG_IsOK(res1
)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27805 if (!SWIG_IsOK(ecode2
)) {
27806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
27808 arg2
= static_cast< int >(val2
);
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 (arg1
)->ClearId(arg2
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_Py_Void();
27822 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
= 0;
27824 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27830 PyObject
* obj0
= 0 ;
27831 PyObject
* obj1
= 0 ;
27832 char * kwnames
[] = {
27833 (char *) "self",(char *) "id", NULL
27836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27838 if (!SWIG_IsOK(res1
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27843 if (!SWIG_IsOK(ecode2
)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
27846 arg2
= static_cast< int >(val2
);
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 (arg1
)->RemoveId(arg2
);
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= SWIG_Py_Void();
27860 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
= 0;
27862 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 PyObject
* obj3
= 0 ;
27878 char * kwnames
[] = {
27879 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
27882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27887 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27889 if (!SWIG_IsOK(ecode2
)) {
27890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
27892 arg2
= static_cast< int >(val2
);
27893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27894 if (!SWIG_IsOK(ecode3
)) {
27895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
27897 arg3
= static_cast< int >(val3
);
27898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27899 if (!SWIG_IsOK(ecode4
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
27902 arg4
= static_cast< int >(val4
);
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_Py_Void();
27916 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
= 0;
27918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27920 wxDC
*arg3
= (wxDC
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 PyObject
* obj2
= 0 ;
27930 char * kwnames
[] = {
27931 (char *) "self",(char *) "id",(char *) "dc", NULL
27934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27941 if (!SWIG_IsOK(ecode2
)) {
27942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
27944 arg2
= static_cast< int >(val2
);
27945 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
27946 if (!SWIG_IsOK(res3
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
27949 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->DrawIdToDC(arg2
,arg3
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_Py_Void();
27963 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
= 0;
27965 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27973 PyObject
* obj0
= 0 ;
27974 PyObject
* obj1
= 0 ;
27975 PyObject
* obj2
= 0 ;
27976 char * kwnames
[] = {
27977 (char *) "self",(char *) "id",(char *) "rect", NULL
27980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27982 if (!SWIG_IsOK(res1
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27987 if (!SWIG_IsOK(ecode2
)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
27990 arg2
= static_cast< int >(val2
);
27993 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 (arg1
)->SetIdBounds(arg2
,*arg3
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= SWIG_Py_Void();
28008 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
= 0;
28010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28017 PyObject
* obj0
= 0 ;
28018 PyObject
* obj1
= 0 ;
28019 char * kwnames
[] = {
28020 (char *) "self",(char *) "id", NULL
28023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28025 if (!SWIG_IsOK(res1
)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28030 if (!SWIG_IsOK(ecode2
)) {
28031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28033 arg2
= static_cast< int >(val2
);
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28047 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
= 0;
28049 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28050 wxDC
*arg2
= (wxDC
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 PyObject
* obj2
= 0 ;
28060 char * kwnames
[] = {
28061 (char *) "self",(char *) "dc",(char *) "rect", NULL
28064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28069 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28071 if (!SWIG_IsOK(res2
)) {
28072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28074 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28077 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_Py_Void();
28092 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
= 0;
28094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28095 wxDC
*arg2
= (wxDC
*) 0 ;
28096 wxRegion
*arg3
= 0 ;
28103 PyObject
* obj0
= 0 ;
28104 PyObject
* obj1
= 0 ;
28105 PyObject
* obj2
= 0 ;
28106 char * kwnames
[] = {
28107 (char *) "self",(char *) "dc",(char *) "region", NULL
28110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28112 if (!SWIG_IsOK(res1
)) {
28113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28117 if (!SWIG_IsOK(res2
)) {
28118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28120 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28121 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28122 if (!SWIG_IsOK(res3
)) {
28123 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28128 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= SWIG_Py_Void();
28142 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
= 0;
28144 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28145 wxDC
*arg2
= (wxDC
*) 0 ;
28150 PyObject
* obj0
= 0 ;
28151 PyObject
* obj1
= 0 ;
28152 char * kwnames
[] = {
28153 (char *) "self",(char *) "dc", NULL
28156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28161 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28163 if (!SWIG_IsOK(res2
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28166 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->DrawToDC(arg2
);
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28185 wxColour
*arg4
= 0 ;
28186 int arg5
= (int) wxFLOOD_SURFACE
;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 PyObject
* obj2
= 0 ;
28199 PyObject
* obj3
= 0 ;
28200 PyObject
* obj4
= 0 ;
28201 char * kwnames
[] = {
28202 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28210 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28212 if (!SWIG_IsOK(ecode2
)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28215 arg2
= static_cast< int >(val2
);
28216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28217 if (!SWIG_IsOK(ecode3
)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28220 arg3
= static_cast< int >(val3
);
28223 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28226 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28227 if (!SWIG_IsOK(ecode5
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28230 arg5
= static_cast< int >(val5
);
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_Py_Void();
28245 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28246 PyObject
*resultobj
= 0;
28247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28248 wxPoint
*arg2
= 0 ;
28249 wxColour
*arg3
= 0 ;
28250 int arg4
= (int) wxFLOOD_SURFACE
;
28257 PyObject
* obj0
= 0 ;
28258 PyObject
* obj1
= 0 ;
28259 PyObject
* obj2
= 0 ;
28260 PyObject
* obj3
= 0 ;
28261 char * kwnames
[] = {
28262 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28277 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28281 if (!SWIG_IsOK(ecode4
)) {
28282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28284 arg4
= static_cast< int >(val4
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_Py_Void();
28299 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
= 0;
28301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 PyObject
* obj2
= 0 ;
28319 PyObject
* obj3
= 0 ;
28320 PyObject
* obj4
= 0 ;
28321 char * kwnames
[] = {
28322 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28327 if (!SWIG_IsOK(res1
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28332 if (!SWIG_IsOK(ecode2
)) {
28333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28335 arg2
= static_cast< int >(val2
);
28336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28337 if (!SWIG_IsOK(ecode3
)) {
28338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28340 arg3
= static_cast< int >(val3
);
28341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28342 if (!SWIG_IsOK(ecode4
)) {
28343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28345 arg4
= static_cast< int >(val4
);
28346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28347 if (!SWIG_IsOK(ecode5
)) {
28348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28350 arg5
= static_cast< int >(val5
);
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= SWIG_Py_Void();
28364 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
= 0;
28366 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28367 wxPoint
*arg2
= 0 ;
28368 wxPoint
*arg3
= 0 ;
28373 PyObject
* obj0
= 0 ;
28374 PyObject
* obj1
= 0 ;
28375 PyObject
* obj2
= 0 ;
28376 char * kwnames
[] = {
28377 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28382 if (!SWIG_IsOK(res1
)) {
28383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28392 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_Py_Void();
28407 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
= 0;
28409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 PyObject
* obj2
= 0 ;
28421 char * kwnames
[] = {
28422 (char *) "self",(char *) "x",(char *) "y", NULL
28425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28427 if (!SWIG_IsOK(res1
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28432 if (!SWIG_IsOK(ecode2
)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28435 arg2
= static_cast< int >(val2
);
28436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28437 if (!SWIG_IsOK(ecode3
)) {
28438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28440 arg3
= static_cast< int >(val3
);
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 (arg1
)->CrossHair(arg2
,arg3
);
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 resultobj
= SWIG_Py_Void();
28454 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
= 0;
28456 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28457 wxPoint
*arg2
= 0 ;
28461 PyObject
* obj0
= 0 ;
28462 PyObject
* obj1
= 0 ;
28463 char * kwnames
[] = {
28464 (char *) "self",(char *) "pt", NULL
28467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28469 if (!SWIG_IsOK(res1
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28472 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= SWIG_Py_Void();
28490 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
= 0;
28492 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 PyObject
* obj2
= 0 ;
28516 PyObject
* obj3
= 0 ;
28517 PyObject
* obj4
= 0 ;
28518 PyObject
* obj5
= 0 ;
28519 PyObject
* obj6
= 0 ;
28520 char * kwnames
[] = {
28521 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28526 if (!SWIG_IsOK(res1
)) {
28527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28531 if (!SWIG_IsOK(ecode2
)) {
28532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28534 arg2
= static_cast< int >(val2
);
28535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28536 if (!SWIG_IsOK(ecode3
)) {
28537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28539 arg3
= static_cast< int >(val3
);
28540 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28541 if (!SWIG_IsOK(ecode4
)) {
28542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
28544 arg4
= static_cast< int >(val4
);
28545 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28546 if (!SWIG_IsOK(ecode5
)) {
28547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
28549 arg5
= static_cast< int >(val5
);
28550 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28551 if (!SWIG_IsOK(ecode6
)) {
28552 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
28554 arg6
= static_cast< int >(val6
);
28555 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28556 if (!SWIG_IsOK(ecode7
)) {
28557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
28559 arg7
= static_cast< int >(val7
);
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_Py_Void();
28573 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
= 0;
28575 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28576 wxPoint
*arg2
= 0 ;
28577 wxPoint
*arg3
= 0 ;
28578 wxPoint
*arg4
= 0 ;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 PyObject
* obj2
= 0 ;
28587 PyObject
* obj3
= 0 ;
28588 char * kwnames
[] = {
28589 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
28592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28594 if (!SWIG_IsOK(res1
)) {
28595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28597 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_Py_Void();
28623 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
= 0;
28625 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28640 PyObject
* obj0
= 0 ;
28641 PyObject
* obj1
= 0 ;
28642 PyObject
* obj2
= 0 ;
28643 PyObject
* obj3
= 0 ;
28644 PyObject
* obj4
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28656 if (!SWIG_IsOK(ecode2
)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
28659 arg2
= static_cast< int >(val2
);
28660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28661 if (!SWIG_IsOK(ecode3
)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
28664 arg3
= static_cast< int >(val3
);
28665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28666 if (!SWIG_IsOK(ecode4
)) {
28667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
28669 arg4
= static_cast< int >(val4
);
28670 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28671 if (!SWIG_IsOK(ecode5
)) {
28672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
28674 arg5
= static_cast< int >(val5
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_Py_Void();
28688 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28689 PyObject
*resultobj
= 0;
28690 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "self",(char *) "rect", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28706 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_Py_Void();
28724 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
= 0;
28726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28747 PyObject
* obj0
= 0 ;
28748 PyObject
* obj1
= 0 ;
28749 PyObject
* obj2
= 0 ;
28750 PyObject
* obj3
= 0 ;
28751 PyObject
* obj4
= 0 ;
28752 PyObject
* obj5
= 0 ;
28753 PyObject
* obj6
= 0 ;
28754 char * kwnames
[] = {
28755 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
28758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28760 if (!SWIG_IsOK(res1
)) {
28761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28765 if (!SWIG_IsOK(ecode2
)) {
28766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
28768 arg2
= static_cast< int >(val2
);
28769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28770 if (!SWIG_IsOK(ecode3
)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
28773 arg3
= static_cast< int >(val3
);
28774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28775 if (!SWIG_IsOK(ecode4
)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
28778 arg4
= static_cast< int >(val4
);
28779 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28780 if (!SWIG_IsOK(ecode5
)) {
28781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
28783 arg5
= static_cast< int >(val5
);
28784 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28785 if (!SWIG_IsOK(ecode6
)) {
28786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
28788 arg6
= static_cast< double >(val6
);
28789 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28790 if (!SWIG_IsOK(ecode7
)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
28793 arg7
= static_cast< double >(val7
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_Py_Void();
28807 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
= 0;
28809 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28810 wxPoint
*arg2
= 0 ;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 PyObject
* obj2
= 0 ;
28825 PyObject
* obj3
= 0 ;
28826 PyObject
* obj4
= 0 ;
28827 char * kwnames
[] = {
28828 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
28831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28833 if (!SWIG_IsOK(res1
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28836 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28843 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28845 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28846 if (!SWIG_IsOK(ecode4
)) {
28847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
28849 arg4
= static_cast< double >(val4
);
28850 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28851 if (!SWIG_IsOK(ecode5
)) {
28852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
28854 arg5
= static_cast< double >(val5
);
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= SWIG_Py_Void();
28868 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
= 0;
28870 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 char * kwnames
[] = {
28883 (char *) "self",(char *) "x",(char *) "y", NULL
28886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28893 if (!SWIG_IsOK(ecode2
)) {
28894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
28896 arg2
= static_cast< int >(val2
);
28897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28898 if (!SWIG_IsOK(ecode3
)) {
28899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
28901 arg3
= static_cast< int >(val3
);
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 (arg1
)->DrawPoint(arg2
,arg3
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_Py_Void();
28915 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
= 0;
28917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28918 wxPoint
*arg2
= 0 ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 char * kwnames
[] = {
28925 (char *) "self",(char *) "pt", NULL
28928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= SWIG_Py_Void();
28951 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
= 0;
28953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 PyObject
* obj2
= 0 ;
28971 PyObject
* obj3
= 0 ;
28972 PyObject
* obj4
= 0 ;
28973 char * kwnames
[] = {
28974 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28982 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28984 if (!SWIG_IsOK(ecode2
)) {
28985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
28987 arg2
= static_cast< int >(val2
);
28988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28989 if (!SWIG_IsOK(ecode3
)) {
28990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
28992 arg3
= static_cast< int >(val3
);
28993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28994 if (!SWIG_IsOK(ecode4
)) {
28995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
28997 arg4
= static_cast< int >(val4
);
28998 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28999 if (!SWIG_IsOK(ecode5
)) {
29000 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29002 arg5
= static_cast< int >(val5
);
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 resultobj
= SWIG_Py_Void();
29016 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
= 0;
29018 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29023 PyObject
* obj0
= 0 ;
29024 PyObject
* obj1
= 0 ;
29025 char * kwnames
[] = {
29026 (char *) "self",(char *) "rect", NULL
29029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29031 if (!SWIG_IsOK(res1
)) {
29032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29037 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= SWIG_Py_Void();
29052 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
= 0;
29054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29055 wxPoint
*arg2
= 0 ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 PyObject
* obj2
= 0 ;
29064 char * kwnames
[] = {
29065 (char *) "self",(char *) "pt",(char *) "sz", NULL
29068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29070 if (!SWIG_IsOK(res1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29080 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= SWIG_Py_Void();
29095 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29096 PyObject
*resultobj
= 0;
29097 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 PyObject
* obj2
= 0 ;
29118 PyObject
* obj3
= 0 ;
29119 PyObject
* obj4
= 0 ;
29120 PyObject
* obj5
= 0 ;
29121 char * kwnames
[] = {
29122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29127 if (!SWIG_IsOK(res1
)) {
29128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29132 if (!SWIG_IsOK(ecode2
)) {
29133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29135 arg2
= static_cast< int >(val2
);
29136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29137 if (!SWIG_IsOK(ecode3
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29140 arg3
= static_cast< int >(val3
);
29141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29142 if (!SWIG_IsOK(ecode4
)) {
29143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29145 arg4
= static_cast< int >(val4
);
29146 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29147 if (!SWIG_IsOK(ecode5
)) {
29148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29150 arg5
= static_cast< int >(val5
);
29151 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29152 if (!SWIG_IsOK(ecode6
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29155 arg6
= static_cast< double >(val6
);
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= SWIG_Py_Void();
29169 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
= 0;
29171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 PyObject
* obj2
= 0 ;
29182 char * kwnames
[] = {
29183 (char *) "self",(char *) "r",(char *) "radius", NULL
29186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29188 if (!SWIG_IsOK(res1
)) {
29189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29194 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29196 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29197 if (!SWIG_IsOK(ecode3
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29200 arg3
= static_cast< double >(val3
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= SWIG_Py_Void();
29214 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
= 0;
29216 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29217 wxPoint
*arg2
= 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 PyObject
* obj2
= 0 ;
29229 PyObject
* obj3
= 0 ;
29230 char * kwnames
[] = {
29231 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29236 if (!SWIG_IsOK(res1
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29246 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29248 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29249 if (!SWIG_IsOK(ecode4
)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29252 arg4
= static_cast< double >(val4
);
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= SWIG_Py_Void();
29266 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
= 0;
29268 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 PyObject
* obj2
= 0 ;
29283 PyObject
* obj3
= 0 ;
29284 char * kwnames
[] = {
29285 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29295 if (!SWIG_IsOK(ecode2
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29298 arg2
= static_cast< int >(val2
);
29299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29300 if (!SWIG_IsOK(ecode3
)) {
29301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29303 arg3
= static_cast< int >(val3
);
29304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29305 if (!SWIG_IsOK(ecode4
)) {
29306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29308 arg4
= static_cast< int >(val4
);
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= SWIG_Py_Void();
29322 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
= 0;
29324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29325 wxPoint
*arg2
= 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 char * kwnames
[] = {
29336 (char *) "self",(char *) "pt",(char *) "radius", NULL
29339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29350 if (!SWIG_IsOK(ecode3
)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29353 arg3
= static_cast< int >(val3
);
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= SWIG_Py_Void();
29367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 PyObject
* obj2
= 0 ;
29387 PyObject
* obj3
= 0 ;
29388 PyObject
* obj4
= 0 ;
29389 char * kwnames
[] = {
29390 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29395 if (!SWIG_IsOK(res1
)) {
29396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29400 if (!SWIG_IsOK(ecode2
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29403 arg2
= static_cast< int >(val2
);
29404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29405 if (!SWIG_IsOK(ecode3
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29408 arg3
= static_cast< int >(val3
);
29409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29410 if (!SWIG_IsOK(ecode4
)) {
29411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29413 arg4
= static_cast< int >(val4
);
29414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29415 if (!SWIG_IsOK(ecode5
)) {
29416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29418 arg5
= static_cast< int >(val5
);
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_Py_Void();
29432 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
= 0;
29434 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 PyObject
* obj1
= 0 ;
29441 char * kwnames
[] = {
29442 (char *) "self",(char *) "rect", NULL
29445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29447 if (!SWIG_IsOK(res1
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= SWIG_Py_Void();
29468 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
= 0;
29470 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29471 wxPoint
*arg2
= 0 ;
29477 PyObject
* obj0
= 0 ;
29478 PyObject
* obj1
= 0 ;
29479 PyObject
* obj2
= 0 ;
29480 char * kwnames
[] = {
29481 (char *) "self",(char *) "pt",(char *) "sz", NULL
29484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29486 if (!SWIG_IsOK(res1
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29496 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
= 0;
29513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 PyObject
* obj2
= 0 ;
29528 PyObject
* obj3
= 0 ;
29529 char * kwnames
[] = {
29530 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29538 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29540 if (!SWIG_IsOK(res2
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29546 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29548 if (!SWIG_IsOK(ecode3
)) {
29549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
29551 arg3
= static_cast< int >(val3
);
29552 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29553 if (!SWIG_IsOK(ecode4
)) {
29554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
29556 arg4
= static_cast< int >(val4
);
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_Py_Void();
29570 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29571 PyObject
*resultobj
= 0;
29572 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29574 wxPoint
*arg3
= 0 ;
29580 PyObject
* obj0
= 0 ;
29581 PyObject
* obj1
= 0 ;
29582 PyObject
* obj2
= 0 ;
29583 char * kwnames
[] = {
29584 (char *) "self",(char *) "icon",(char *) "pt", NULL
29587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29589 if (!SWIG_IsOK(res1
)) {
29590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29594 if (!SWIG_IsOK(res2
)) {
29595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29600 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= SWIG_Py_Void();
29618 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
= 0;
29620 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29621 wxBitmap
*arg2
= 0 ;
29624 bool arg5
= (bool) false ;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 PyObject
* obj2
= 0 ;
29638 PyObject
* obj3
= 0 ;
29639 PyObject
* obj4
= 0 ;
29640 char * kwnames
[] = {
29641 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
29644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29651 if (!SWIG_IsOK(res2
)) {
29652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29657 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29659 if (!SWIG_IsOK(ecode3
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
29662 arg3
= static_cast< int >(val3
);
29663 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29664 if (!SWIG_IsOK(ecode4
)) {
29665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
29667 arg4
= static_cast< int >(val4
);
29669 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
29670 if (!SWIG_IsOK(ecode5
)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
29673 arg5
= static_cast< bool >(val5
);
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 resultobj
= SWIG_Py_Void();
29688 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
= 0;
29690 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29691 wxBitmap
*arg2
= 0 ;
29692 wxPoint
*arg3
= 0 ;
29693 bool arg4
= (bool) false ;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 PyObject
* obj2
= 0 ;
29704 PyObject
* obj3
= 0 ;
29705 char * kwnames
[] = {
29706 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
29709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29711 if (!SWIG_IsOK(res1
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29714 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29716 if (!SWIG_IsOK(res2
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29722 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29728 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29729 if (!SWIG_IsOK(ecode4
)) {
29730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
29732 arg4
= static_cast< bool >(val4
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= SWIG_Py_Void();
29747 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
= 0;
29749 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29750 wxString
*arg2
= 0 ;
29755 bool temp2
= false ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 PyObject
* obj2
= 0 ;
29763 PyObject
* obj3
= 0 ;
29764 char * kwnames
[] = {
29765 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
29768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29773 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29775 arg2
= wxString_in_helper(obj1
);
29776 if (arg2
== NULL
) SWIG_fail
;
29779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29780 if (!SWIG_IsOK(ecode3
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
29783 arg3
= static_cast< int >(val3
);
29784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29785 if (!SWIG_IsOK(ecode4
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
29788 arg4
= static_cast< int >(val4
);
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_Py_Void();
29810 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
= 0;
29812 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29813 wxString
*arg2
= 0 ;
29814 wxPoint
*arg3
= 0 ;
29817 bool temp2
= false ;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 char * kwnames
[] = {
29823 (char *) "self",(char *) "text",(char *) "pt", NULL
29826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29833 arg2
= wxString_in_helper(obj1
);
29834 if (arg2
== NULL
) SWIG_fail
;
29839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= SWIG_Py_Void();
29862 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
= 0;
29864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29865 wxString
*arg2
= 0 ;
29871 bool temp2
= false ;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 PyObject
* obj2
= 0 ;
29881 PyObject
* obj3
= 0 ;
29882 PyObject
* obj4
= 0 ;
29883 char * kwnames
[] = {
29884 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
29887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29889 if (!SWIG_IsOK(res1
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29894 arg2
= wxString_in_helper(obj1
);
29895 if (arg2
== NULL
) SWIG_fail
;
29898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29899 if (!SWIG_IsOK(ecode3
)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
29902 arg3
= static_cast< int >(val3
);
29903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29904 if (!SWIG_IsOK(ecode4
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
29907 arg4
= static_cast< int >(val4
);
29908 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29909 if (!SWIG_IsOK(ecode5
)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
29912 arg5
= static_cast< double >(val5
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_Py_Void();
29934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
= 0;
29936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29937 wxString
*arg2
= 0 ;
29938 wxPoint
*arg3
= 0 ;
29942 bool temp2
= false ;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 PyObject
* obj2
= 0 ;
29949 PyObject
* obj3
= 0 ;
29950 char * kwnames
[] = {
29951 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
29954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29961 arg2
= wxString_in_helper(obj1
);
29962 if (arg2
== NULL
) SWIG_fail
;
29967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29969 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29970 if (!SWIG_IsOK(ecode4
)) {
29971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
29973 arg4
= static_cast< double >(val4
);
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_Py_Void();
29995 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29999 wxPoint
*arg3
= (wxPoint
*) 0 ;
30000 int arg4
= (int) 0 ;
30001 int arg5
= (int) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 PyObject
* obj1
= 0 ;
30010 PyObject
* obj2
= 0 ;
30011 PyObject
* obj3
= 0 ;
30012 char * kwnames
[] = {
30013 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30023 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30024 if (arg3
== NULL
) SWIG_fail
;
30027 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30028 if (!SWIG_IsOK(ecode4
)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30031 arg4
= static_cast< int >(val4
);
30034 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30035 if (!SWIG_IsOK(ecode5
)) {
30036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30038 arg5
= static_cast< int >(val5
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_Py_Void();
30048 if (arg3
) delete [] arg3
;
30053 if (arg3
) delete [] arg3
;
30059 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
= 0;
30061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30063 wxPoint
*arg3
= (wxPoint
*) 0 ;
30064 int arg4
= (int) 0 ;
30065 int arg5
= (int) 0 ;
30066 int arg6
= (int) wxODDEVEN_RULE
;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 PyObject
* obj2
= 0 ;
30078 PyObject
* obj3
= 0 ;
30079 PyObject
* obj4
= 0 ;
30080 char * kwnames
[] = {
30081 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30091 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30092 if (arg3
== NULL
) SWIG_fail
;
30095 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30096 if (!SWIG_IsOK(ecode4
)) {
30097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30099 arg4
= static_cast< int >(val4
);
30102 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30103 if (!SWIG_IsOK(ecode5
)) {
30104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30106 arg5
= static_cast< int >(val5
);
30109 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30110 if (!SWIG_IsOK(ecode6
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30113 arg6
= static_cast< int >(val6
);
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 resultobj
= SWIG_Py_Void();
30123 if (arg3
) delete [] arg3
;
30128 if (arg3
) delete [] arg3
;
30134 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30135 PyObject
*resultobj
= 0;
30136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30137 wxString
*arg2
= 0 ;
30139 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30140 int arg5
= (int) -1 ;
30143 bool temp2
= false ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 PyObject
* obj3
= 0 ;
30153 PyObject
* obj4
= 0 ;
30154 char * kwnames
[] = {
30155 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30160 if (!SWIG_IsOK(res1
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30163 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30165 arg2
= wxString_in_helper(obj1
);
30166 if (arg2
== NULL
) SWIG_fail
;
30171 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30175 if (!SWIG_IsOK(ecode4
)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30178 arg4
= static_cast< int >(val4
);
30181 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30182 if (!SWIG_IsOK(ecode5
)) {
30183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30185 arg5
= static_cast< int >(val5
);
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= SWIG_Py_Void();
30208 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30211 wxString
*arg2
= 0 ;
30212 wxBitmap
*arg3
= 0 ;
30214 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30215 int arg6
= (int) -1 ;
30218 bool temp2
= false ;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 PyObject
* obj2
= 0 ;
30229 PyObject
* obj3
= 0 ;
30230 PyObject
* obj4
= 0 ;
30231 PyObject
* obj5
= 0 ;
30232 char * kwnames
[] = {
30233 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30243 arg2
= wxString_in_helper(obj1
);
30244 if (arg2
== NULL
) SWIG_fail
;
30247 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30248 if (!SWIG_IsOK(res3
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30254 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30257 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30261 if (!SWIG_IsOK(ecode5
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30264 arg5
= static_cast< int >(val5
);
30267 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30268 if (!SWIG_IsOK(ecode6
)) {
30269 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30271 arg6
= static_cast< int >(val6
);
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_Py_Void();
30294 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
= 0;
30296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30298 wxPoint
*arg3
= (wxPoint
*) 0 ;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "self",(char *) "points", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30312 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30314 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30315 if (arg3
== NULL
) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 (arg1
)->DrawSpline(arg2
,arg3
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_Py_Void();
30325 if (arg3
) delete [] arg3
;
30330 if (arg3
) delete [] arg3
;
30336 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30337 PyObject
*resultobj
= 0;
30338 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30341 PyObject
*swig_obj
[1] ;
30343 if (!args
) SWIG_fail
;
30344 swig_obj
[0] = args
;
30345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30346 if (!SWIG_IsOK(res1
)) {
30347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 resultobj
= SWIG_Py_Void();
30363 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30364 PyObject
*resultobj
= 0;
30365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30371 PyObject
* obj0
= 0 ;
30372 PyObject
* obj1
= 0 ;
30373 char * kwnames
[] = {
30374 (char *) "self",(char *) "font", NULL
30377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30379 if (!SWIG_IsOK(res1
)) {
30380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30384 if (!SWIG_IsOK(res2
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30390 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 (arg1
)->SetFont((wxFont
const &)*arg2
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_Py_Void();
30404 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
= 0;
30406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30412 PyObject
* obj0
= 0 ;
30413 PyObject
* obj1
= 0 ;
30414 char * kwnames
[] = {
30415 (char *) "self",(char *) "pen", NULL
30418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30420 if (!SWIG_IsOK(res1
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30423 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30425 if (!SWIG_IsOK(res2
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30431 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 (arg1
)->SetPen((wxPen
const &)*arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= SWIG_Py_Void();
30445 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
= 0;
30447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30448 wxBrush
*arg2
= 0 ;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 char * kwnames
[] = {
30456 (char *) "self",(char *) "brush", NULL
30459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30464 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30466 if (!SWIG_IsOK(res2
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30472 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_Py_Void();
30486 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30489 wxBrush
*arg2
= 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 char * kwnames
[] = {
30497 (char *) "self",(char *) "brush", NULL
30500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30505 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30507 if (!SWIG_IsOK(res2
)) {
30508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30513 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30516 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= SWIG_Py_Void();
30527 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
= 0;
30529 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 char * kwnames
[] = {
30538 (char *) "self",(char *) "mode", NULL
30541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30543 if (!SWIG_IsOK(res1
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30546 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30548 if (!SWIG_IsOK(ecode2
)) {
30549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
30551 arg2
= static_cast< int >(val2
);
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 (arg1
)->SetBackgroundMode(arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= SWIG_Py_Void();
30565 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
= 0;
30567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30568 wxPalette
*arg2
= 0 ;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 char * kwnames
[] = {
30576 (char *) "self",(char *) "palette", NULL
30579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30581 if (!SWIG_IsOK(res1
)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30584 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
30586 if (!SWIG_IsOK(res2
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30592 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_Py_Void();
30606 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= 0;
30608 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30609 wxColour
*arg2
= 0 ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 char * kwnames
[] = {
30616 (char *) "self",(char *) "colour", NULL
30619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_Py_Void();
30642 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30645 wxColour
*arg2
= 0 ;
30649 PyObject
* obj0
= 0 ;
30650 PyObject
* obj1
= 0 ;
30651 char * kwnames
[] = {
30652 (char *) "self",(char *) "colour", NULL
30655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30657 if (!SWIG_IsOK(res1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30663 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 resultobj
= SWIG_Py_Void();
30678 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
= 0;
30680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 char * kwnames
[] = {
30689 (char *) "self",(char *) "function", NULL
30692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30699 if (!SWIG_IsOK(ecode2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
30702 arg2
= static_cast< int >(val2
);
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 (arg1
)->SetLogicalFunction(arg2
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_Py_Void();
30716 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30719 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
30720 return SWIG_Py_Void();
30723 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30724 return SWIG_Python_InitShadowInstance(args
);
30727 static PyMethodDef SwigMethods
[] = {
30728 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
30729 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
30730 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
30731 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
30732 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
30733 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
30737 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
30738 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
30739 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
30740 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
30741 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
30742 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
30747 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
30751 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
30752 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
30753 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
30755 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
30758 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
30759 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
30760 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
30761 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
30763 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
30764 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
30765 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
30766 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
30767 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
30768 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
30769 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
30776 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
30780 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
30781 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
30784 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
30788 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
30789 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
30790 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
30791 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
30792 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
30793 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
30795 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
30796 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
30798 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
30804 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
30805 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
30806 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
30807 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
30808 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
30809 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
30810 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
30816 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
30824 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
30825 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
30829 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
30830 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
30831 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
30832 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
30833 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
30834 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
30835 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
30836 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
30837 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
30838 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
30839 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
30840 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
30841 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
30842 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
30843 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
30845 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
30846 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
30852 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30853 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30854 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
30855 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
30856 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
30857 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
30858 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
30859 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
30860 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
30861 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
30862 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
30863 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
30865 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
30866 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
30872 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30873 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30874 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
30876 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
30877 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
30878 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
30880 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
30881 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
30885 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
30886 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
30887 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
30888 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
30893 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
30894 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
30896 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
30897 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
30899 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
30901 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
30902 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
30903 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
30904 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
30907 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
30911 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
30912 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
30914 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
30917 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
30918 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
30919 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
30924 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
30925 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
30931 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
30935 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
30945 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
30948 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
30949 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
30951 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
30952 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
30953 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
30954 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
30955 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
30956 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
30957 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
30958 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
30959 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
30960 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
30961 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
30962 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
30963 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
30964 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
30965 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
30966 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
30967 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
30969 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
30970 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
30971 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
30972 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
30973 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
30974 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
30975 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
30984 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
30985 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
30987 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
30988 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
30989 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
30990 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
30991 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
30992 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
30993 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
30994 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
30995 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
30997 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
30998 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
30999 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31002 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31003 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31004 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31007 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31013 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31018 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31019 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31021 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31027 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31030 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31031 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31032 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31033 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31034 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31035 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31036 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31037 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31038 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31039 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31040 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31041 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31042 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31054 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31055 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31056 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31058 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31059 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31061 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31062 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31063 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31064 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31068 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31069 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31071 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31072 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31073 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31074 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31075 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31076 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31077 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31078 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31079 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31081 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31084 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31085 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31086 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31087 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31088 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31089 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31090 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31091 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31100 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31101 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31102 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31104 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31108 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31109 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31110 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31111 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31112 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31113 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31119 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31120 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31121 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31170 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31172 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31173 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31174 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31181 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31182 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31183 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31184 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31185 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31190 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31191 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31192 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31193 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31202 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31203 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31204 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31205 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31206 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31207 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31208 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31209 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31210 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31211 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31212 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31213 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31216 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31218 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31220 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31222 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31223 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31226 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31227 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31231 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31233 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31236 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31237 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31238 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31239 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31240 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31241 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31248 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31249 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31252 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31253 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31254 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31255 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31256 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31257 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31258 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31260 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31261 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31262 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31265 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31266 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31267 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31269 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31270 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31272 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31273 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31275 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31276 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31278 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31279 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31281 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31284 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31285 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31286 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
31288 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
31289 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
31291 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
31292 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
31293 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31294 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31295 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
31297 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31298 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31299 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31301 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31302 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31304 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31312 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31314 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31316 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31317 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31318 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31319 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31320 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31321 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31327 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31328 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31329 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31330 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31331 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31332 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31336 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31340 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31344 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31345 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31346 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31351 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31352 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31353 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31354 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31355 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31356 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31357 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31358 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31359 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31360 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31361 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31362 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31371 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31372 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31374 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31375 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31376 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31377 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31378 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31379 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31381 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31383 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31384 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31385 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31386 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31397 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31398 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31399 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31401 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31402 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31403 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31404 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31405 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31406 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31407 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31408 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31457 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31467 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31468 { NULL
, NULL
, 0, NULL
}
31472 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31474 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31475 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31477 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31478 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31480 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31481 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31483 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31484 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31486 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31487 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31489 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31490 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31492 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31493 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31495 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31496 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31498 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31499 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31501 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31502 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31504 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31505 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31507 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31508 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31510 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31511 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31513 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31514 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31516 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31517 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31519 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31520 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31522 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31523 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31525 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31526 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31528 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
31529 return (void *)((wxDC
*) ((wxClientDC
*) x
));
31531 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
31532 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
31534 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
31535 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
31537 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
31538 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
31540 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
31541 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
31543 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
31544 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
31546 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
31547 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
31549 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
31550 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31552 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31555 static void *_p_wxPenTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
31558 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
31561 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31564 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31567 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31570 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31573 static void *_p_wxIconTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
31576 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31579 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31582 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) ((wxSizer
*) x
));
31585 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31588 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31591 static void *_p_wxEventTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) ((wxEvent
*) x
));
31594 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31597 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31600 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31603 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
31606 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31609 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31612 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31615 static void *_p_wxDCTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) ((wxDC
*) x
));
31618 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31621 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31624 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31627 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31630 static void *_p_wxControlTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31633 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31636 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
31639 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31642 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
31645 static void *_p_wxRegionTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
31648 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31651 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
31654 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
31657 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) ((wxEffects
*) x
));
31660 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31663 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31666 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
31669 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31672 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31675 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31678 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31681 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31684 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31687 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31690 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31693 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31696 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31699 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31702 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31705 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31708 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31711 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31714 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31717 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31720 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31723 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31726 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31729 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31732 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31735 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31738 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31741 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31744 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31747 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31750 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
31753 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
31756 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
31759 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31762 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31765 static void *_p_wxImageTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) ((wxImage
*) x
));
31768 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31771 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
31774 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
31777 static void *_p_wxImageListTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) ((wxImageList
*) x
));
31780 static void *_p_wxCursorTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
31783 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
31786 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
31789 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31792 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31795 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31798 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31801 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31804 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31807 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
31810 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31813 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
31816 static void *_p_wxMaskTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) ((wxMask
*) x
));
31819 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31822 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31825 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31828 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31831 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31834 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31837 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31840 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31843 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31846 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31849 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31852 static void *_p_wxFontTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
31855 static void *_p_wxBrushTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
31858 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
31861 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31864 static void *_p_wxColourTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) ((wxColour
*) x
));
31867 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31870 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31873 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31874 return (void *)((wxWindow
*) ((wxControl
*) x
));
31876 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31877 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31879 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31880 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31882 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
31883 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
31885 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
31886 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
31888 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
31889 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
31890 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
31891 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};
31892 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
31893 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31894 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31895 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31896 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
31897 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
31898 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31899 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
31900 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
31901 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
31902 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
31903 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
31904 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
31905 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31906 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
31907 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
31908 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31909 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
31910 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31911 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
31912 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
31913 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
31914 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
31915 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
31916 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
31917 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
31918 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
31919 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
31920 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
31921 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
31922 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
31923 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
31924 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
31925 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
31926 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
31927 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
31928 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
31929 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
31930 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
31931 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
31932 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
31933 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
31934 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
31935 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
31936 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
31937 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
31938 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31939 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
31940 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
31941 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
31942 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
31943 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
31944 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31945 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
31946 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
31947 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
31948 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
31949 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31950 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
31951 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
31952 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
31953 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
31954 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
31955 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
31956 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
31957 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
31958 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31959 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
31960 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
31961 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31962 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
31963 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
31964 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
31965 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31966 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31967 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31968 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31969 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31970 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31971 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
31972 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
31973 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
31974 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
31975 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
31976 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
31977 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
31978 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
31979 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
31980 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
31981 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
31982 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
31983 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
31984 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
31985 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
31986 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
31987 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
31988 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
31989 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
31990 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
31991 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
31992 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31993 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
31994 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
31995 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
31996 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
31997 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
31998 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
31999 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32000 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32001 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32002 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32003 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32004 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32005 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32006 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32007 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32008 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32009 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32010 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32011 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32012 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32013 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32014 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32015 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32016 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32017 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32018 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32019 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32020 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32021 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32022 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32023 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32024 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32025 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32026 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32027 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32028 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32029 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32030 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32031 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32032 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32033 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32034 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32035 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32037 static swig_type_info
*swig_type_initial
[] = {
32041 &_swigt__p_form_ops_t
,
32043 &_swigt__p_unsigned_char
,
32044 &_swigt__p_unsigned_int
,
32045 &_swigt__p_unsigned_long
,
32046 &_swigt__p_wxANIHandler
,
32047 &_swigt__p_wxAcceleratorTable
,
32048 &_swigt__p_wxActivateEvent
,
32049 &_swigt__p_wxAlphaPixelData
,
32050 &_swigt__p_wxAlphaPixelData_Accessor
,
32051 &_swigt__p_wxBMPHandler
,
32052 &_swigt__p_wxBitmap
,
32053 &_swigt__p_wxBoxSizer
,
32054 &_swigt__p_wxBrush
,
32055 &_swigt__p_wxBrushList
,
32056 &_swigt__p_wxBufferedDC
,
32057 &_swigt__p_wxBufferedPaintDC
,
32058 &_swigt__p_wxCURHandler
,
32060 &_swigt__p_wxChildFocusEvent
,
32061 &_swigt__p_wxClientDC
,
32062 &_swigt__p_wxClipboardTextEvent
,
32063 &_swigt__p_wxCloseEvent
,
32064 &_swigt__p_wxColour
,
32065 &_swigt__p_wxColourDatabase
,
32066 &_swigt__p_wxCommandEvent
,
32067 &_swigt__p_wxContextMenuEvent
,
32068 &_swigt__p_wxControl
,
32069 &_swigt__p_wxControlWithItems
,
32070 &_swigt__p_wxCursor
,
32073 &_swigt__p_wxDateEvent
,
32074 &_swigt__p_wxDisplayChangedEvent
,
32075 &_swigt__p_wxDropFilesEvent
,
32076 &_swigt__p_wxDuplexMode
,
32077 &_swigt__p_wxEffects
,
32078 &_swigt__p_wxEncodingConverter
,
32079 &_swigt__p_wxEraseEvent
,
32080 &_swigt__p_wxEvent
,
32081 &_swigt__p_wxEvtHandler
,
32082 &_swigt__p_wxFSFile
,
32083 &_swigt__p_wxFileSystem
,
32084 &_swigt__p_wxFlexGridSizer
,
32085 &_swigt__p_wxFocusEvent
,
32087 &_swigt__p_wxFontList
,
32088 &_swigt__p_wxFontMapper
,
32089 &_swigt__p_wxGBSizerItem
,
32090 &_swigt__p_wxGDIObjListBase
,
32091 &_swigt__p_wxGDIObject
,
32092 &_swigt__p_wxGIFHandler
,
32093 &_swigt__p_wxGridBagSizer
,
32094 &_swigt__p_wxGridSizer
,
32095 &_swigt__p_wxICOHandler
,
32097 &_swigt__p_wxIconBundle
,
32098 &_swigt__p_wxIconLocation
,
32099 &_swigt__p_wxIconizeEvent
,
32100 &_swigt__p_wxIdleEvent
,
32101 &_swigt__p_wxImage
,
32102 &_swigt__p_wxImageHandler
,
32103 &_swigt__p_wxImageList
,
32104 &_swigt__p_wxIndividualLayoutConstraint
,
32105 &_swigt__p_wxInitDialogEvent
,
32106 &_swigt__p_wxJPEGHandler
,
32107 &_swigt__p_wxKeyEvent
,
32108 &_swigt__p_wxLanguageInfo
,
32109 &_swigt__p_wxLayoutConstraints
,
32110 &_swigt__p_wxLocale
,
32112 &_swigt__p_wxMaximizeEvent
,
32113 &_swigt__p_wxMemoryDC
,
32115 &_swigt__p_wxMenuBar
,
32116 &_swigt__p_wxMenuEvent
,
32117 &_swigt__p_wxMenuItem
,
32118 &_swigt__p_wxMetaFile
,
32119 &_swigt__p_wxMetaFileDC
,
32120 &_swigt__p_wxMirrorDC
,
32121 &_swigt__p_wxMouseCaptureChangedEvent
,
32122 &_swigt__p_wxMouseCaptureLostEvent
,
32123 &_swigt__p_wxMouseEvent
,
32124 &_swigt__p_wxMoveEvent
,
32125 &_swigt__p_wxNativeEncodingInfo
,
32126 &_swigt__p_wxNativeFontInfo
,
32127 &_swigt__p_wxNativePixelData
,
32128 &_swigt__p_wxNativePixelData_Accessor
,
32129 &_swigt__p_wxNavigationKeyEvent
,
32130 &_swigt__p_wxNcPaintEvent
,
32131 &_swigt__p_wxNotifyEvent
,
32132 &_swigt__p_wxObject
,
32133 &_swigt__p_wxPCXHandler
,
32134 &_swigt__p_wxPNGHandler
,
32135 &_swigt__p_wxPNMHandler
,
32136 &_swigt__p_wxPaintDC
,
32137 &_swigt__p_wxPaintEvent
,
32138 &_swigt__p_wxPalette
,
32139 &_swigt__p_wxPaletteChangedEvent
,
32140 &_swigt__p_wxPaperSize
,
32142 &_swigt__p_wxPenList
,
32143 &_swigt__p_wxPixelDataBase
,
32144 &_swigt__p_wxPoint
,
32145 &_swigt__p_wxPostScriptDC
,
32146 &_swigt__p_wxPrintData
,
32147 &_swigt__p_wxPrinterDC
,
32148 &_swigt__p_wxPseudoDC
,
32149 &_swigt__p_wxPyApp
,
32150 &_swigt__p_wxPyCommandEvent
,
32151 &_swigt__p_wxPyEvent
,
32152 &_swigt__p_wxPyFontEnumerator
,
32153 &_swigt__p_wxPyImageHandler
,
32154 &_swigt__p_wxPyLocale
,
32155 &_swigt__p_wxPySizer
,
32156 &_swigt__p_wxPyValidator
,
32157 &_swigt__p_wxQueryNewPaletteEvent
,
32159 &_swigt__p_wxRegion
,
32160 &_swigt__p_wxRegionIterator
,
32161 &_swigt__p_wxRendererNative
,
32162 &_swigt__p_wxRendererVersion
,
32163 &_swigt__p_wxScreenDC
,
32164 &_swigt__p_wxScrollEvent
,
32165 &_swigt__p_wxScrollWinEvent
,
32166 &_swigt__p_wxSetCursorEvent
,
32167 &_swigt__p_wxShowEvent
,
32169 &_swigt__p_wxSizeEvent
,
32170 &_swigt__p_wxSizer
,
32171 &_swigt__p_wxSizerItem
,
32172 &_swigt__p_wxSplitterRenderParams
,
32173 &_swigt__p_wxStaticBoxSizer
,
32174 &_swigt__p_wxStdDialogButtonSizer
,
32175 &_swigt__p_wxStockGDI
,
32176 &_swigt__p_wxString
,
32177 &_swigt__p_wxSysColourChangedEvent
,
32178 &_swigt__p_wxTIFFHandler
,
32179 &_swigt__p_wxUpdateUIEvent
,
32180 &_swigt__p_wxValidator
,
32181 &_swigt__p_wxWindow
,
32182 &_swigt__p_wxWindowCreateEvent
,
32183 &_swigt__p_wxWindowDC
,
32184 &_swigt__p_wxWindowDestroyEvent
,
32185 &_swigt__p_wxXPMHandler
,
32188 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32189 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32190 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32191 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32192 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32193 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32194 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32195 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32196 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32197 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32198 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32199 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32200 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32201 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}};
32202 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32203 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32204 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32205 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32206 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32207 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32208 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
32209 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32210 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32211 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32212 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32213 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32214 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32215 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32216 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}};
32217 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}};
32218 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32219 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32220 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32221 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32222 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32223 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32224 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}};
32225 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32226 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}};
32227 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32228 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32229 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32230 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32231 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32232 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32233 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32234 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32235 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32236 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32237 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32238 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32239 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32240 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32241 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32242 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32243 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32244 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32245 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32246 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32247 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32248 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32249 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32250 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32251 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32252 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32253 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32254 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32255 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32256 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32257 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32258 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32259 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32260 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32261 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32262 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32263 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32264 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32265 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32266 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32267 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32268 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32269 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32270 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32271 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32272 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32273 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32274 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32275 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32276 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32277 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32278 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32279 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32280 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32281 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32282 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32283 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32284 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32285 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32286 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32287 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32288 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32289 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32290 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32291 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32292 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32293 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32294 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32295 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32296 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32297 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32298 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32299 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32300 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32301 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32302 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32303 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32304 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32305 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32306 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32307 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32308 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32309 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32310 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_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_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_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_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_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_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_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_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_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_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}};
32311 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32312 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32313 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32314 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32315 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32316 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}};
32317 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32318 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32319 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32320 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32321 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32322 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32323 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32324 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32325 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32326 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32327 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32328 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32329 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32330 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32331 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32332 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32333 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32334 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}};
32335 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32337 static swig_cast_info
*swig_cast_initial
[] = {
32341 _swigc__p_form_ops_t
,
32343 _swigc__p_unsigned_char
,
32344 _swigc__p_unsigned_int
,
32345 _swigc__p_unsigned_long
,
32346 _swigc__p_wxANIHandler
,
32347 _swigc__p_wxAcceleratorTable
,
32348 _swigc__p_wxActivateEvent
,
32349 _swigc__p_wxAlphaPixelData
,
32350 _swigc__p_wxAlphaPixelData_Accessor
,
32351 _swigc__p_wxBMPHandler
,
32352 _swigc__p_wxBitmap
,
32353 _swigc__p_wxBoxSizer
,
32355 _swigc__p_wxBrushList
,
32356 _swigc__p_wxBufferedDC
,
32357 _swigc__p_wxBufferedPaintDC
,
32358 _swigc__p_wxCURHandler
,
32360 _swigc__p_wxChildFocusEvent
,
32361 _swigc__p_wxClientDC
,
32362 _swigc__p_wxClipboardTextEvent
,
32363 _swigc__p_wxCloseEvent
,
32364 _swigc__p_wxColour
,
32365 _swigc__p_wxColourDatabase
,
32366 _swigc__p_wxCommandEvent
,
32367 _swigc__p_wxContextMenuEvent
,
32368 _swigc__p_wxControl
,
32369 _swigc__p_wxControlWithItems
,
32370 _swigc__p_wxCursor
,
32373 _swigc__p_wxDateEvent
,
32374 _swigc__p_wxDisplayChangedEvent
,
32375 _swigc__p_wxDropFilesEvent
,
32376 _swigc__p_wxDuplexMode
,
32377 _swigc__p_wxEffects
,
32378 _swigc__p_wxEncodingConverter
,
32379 _swigc__p_wxEraseEvent
,
32381 _swigc__p_wxEvtHandler
,
32382 _swigc__p_wxFSFile
,
32383 _swigc__p_wxFileSystem
,
32384 _swigc__p_wxFlexGridSizer
,
32385 _swigc__p_wxFocusEvent
,
32387 _swigc__p_wxFontList
,
32388 _swigc__p_wxFontMapper
,
32389 _swigc__p_wxGBSizerItem
,
32390 _swigc__p_wxGDIObjListBase
,
32391 _swigc__p_wxGDIObject
,
32392 _swigc__p_wxGIFHandler
,
32393 _swigc__p_wxGridBagSizer
,
32394 _swigc__p_wxGridSizer
,
32395 _swigc__p_wxICOHandler
,
32397 _swigc__p_wxIconBundle
,
32398 _swigc__p_wxIconLocation
,
32399 _swigc__p_wxIconizeEvent
,
32400 _swigc__p_wxIdleEvent
,
32402 _swigc__p_wxImageHandler
,
32403 _swigc__p_wxImageList
,
32404 _swigc__p_wxIndividualLayoutConstraint
,
32405 _swigc__p_wxInitDialogEvent
,
32406 _swigc__p_wxJPEGHandler
,
32407 _swigc__p_wxKeyEvent
,
32408 _swigc__p_wxLanguageInfo
,
32409 _swigc__p_wxLayoutConstraints
,
32410 _swigc__p_wxLocale
,
32412 _swigc__p_wxMaximizeEvent
,
32413 _swigc__p_wxMemoryDC
,
32415 _swigc__p_wxMenuBar
,
32416 _swigc__p_wxMenuEvent
,
32417 _swigc__p_wxMenuItem
,
32418 _swigc__p_wxMetaFile
,
32419 _swigc__p_wxMetaFileDC
,
32420 _swigc__p_wxMirrorDC
,
32421 _swigc__p_wxMouseCaptureChangedEvent
,
32422 _swigc__p_wxMouseCaptureLostEvent
,
32423 _swigc__p_wxMouseEvent
,
32424 _swigc__p_wxMoveEvent
,
32425 _swigc__p_wxNativeEncodingInfo
,
32426 _swigc__p_wxNativeFontInfo
,
32427 _swigc__p_wxNativePixelData
,
32428 _swigc__p_wxNativePixelData_Accessor
,
32429 _swigc__p_wxNavigationKeyEvent
,
32430 _swigc__p_wxNcPaintEvent
,
32431 _swigc__p_wxNotifyEvent
,
32432 _swigc__p_wxObject
,
32433 _swigc__p_wxPCXHandler
,
32434 _swigc__p_wxPNGHandler
,
32435 _swigc__p_wxPNMHandler
,
32436 _swigc__p_wxPaintDC
,
32437 _swigc__p_wxPaintEvent
,
32438 _swigc__p_wxPalette
,
32439 _swigc__p_wxPaletteChangedEvent
,
32440 _swigc__p_wxPaperSize
,
32442 _swigc__p_wxPenList
,
32443 _swigc__p_wxPixelDataBase
,
32445 _swigc__p_wxPostScriptDC
,
32446 _swigc__p_wxPrintData
,
32447 _swigc__p_wxPrinterDC
,
32448 _swigc__p_wxPseudoDC
,
32450 _swigc__p_wxPyCommandEvent
,
32451 _swigc__p_wxPyEvent
,
32452 _swigc__p_wxPyFontEnumerator
,
32453 _swigc__p_wxPyImageHandler
,
32454 _swigc__p_wxPyLocale
,
32455 _swigc__p_wxPySizer
,
32456 _swigc__p_wxPyValidator
,
32457 _swigc__p_wxQueryNewPaletteEvent
,
32459 _swigc__p_wxRegion
,
32460 _swigc__p_wxRegionIterator
,
32461 _swigc__p_wxRendererNative
,
32462 _swigc__p_wxRendererVersion
,
32463 _swigc__p_wxScreenDC
,
32464 _swigc__p_wxScrollEvent
,
32465 _swigc__p_wxScrollWinEvent
,
32466 _swigc__p_wxSetCursorEvent
,
32467 _swigc__p_wxShowEvent
,
32469 _swigc__p_wxSizeEvent
,
32471 _swigc__p_wxSizerItem
,
32472 _swigc__p_wxSplitterRenderParams
,
32473 _swigc__p_wxStaticBoxSizer
,
32474 _swigc__p_wxStdDialogButtonSizer
,
32475 _swigc__p_wxStockGDI
,
32476 _swigc__p_wxString
,
32477 _swigc__p_wxSysColourChangedEvent
,
32478 _swigc__p_wxTIFFHandler
,
32479 _swigc__p_wxUpdateUIEvent
,
32480 _swigc__p_wxValidator
,
32481 _swigc__p_wxWindow
,
32482 _swigc__p_wxWindowCreateEvent
,
32483 _swigc__p_wxWindowDC
,
32484 _swigc__p_wxWindowDestroyEvent
,
32485 _swigc__p_wxXPMHandler
,
32489 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32491 static swig_const_info swig_const_table
[] = {
32492 {0, 0, 0, 0.0, 0, 0}};
32497 /* -----------------------------------------------------------------------------
32498 * Type initialization:
32499 * This problem is tough by the requirement that no dynamic
32500 * memory is used. Also, since swig_type_info structures store pointers to
32501 * swig_cast_info structures and swig_cast_info structures store pointers back
32502 * to swig_type_info structures, we need some lookup code at initialization.
32503 * The idea is that swig generates all the structures that are needed.
32504 * The runtime then collects these partially filled structures.
32505 * The SWIG_InitializeModule function takes these initial arrays out of
32506 * swig_module, and does all the lookup, filling in the swig_module.types
32507 * array with the correct data and linking the correct swig_cast_info
32508 * structures together.
32510 * The generated swig_type_info structures are assigned staticly to an initial
32511 * array. We just loop though that array, and handle each type individually.
32512 * First we lookup if this type has been already loaded, and if so, use the
32513 * loaded structure instead of the generated one. Then we have to fill in the
32514 * cast linked list. The cast data is initially stored in something like a
32515 * two-dimensional array. Each row corresponds to a type (there are the same
32516 * number of rows as there are in the swig_type_initial array). Each entry in
32517 * a column is one of the swig_cast_info structures for that type.
32518 * The cast_initial array is actually an array of arrays, because each row has
32519 * a variable number of columns. So to actually build the cast linked list,
32520 * we find the array of casts associated with the type, and loop through it
32521 * adding the casts to the list. The one last trick we need to do is making
32522 * sure the type pointer in the swig_cast_info struct is correct.
32524 * First off, we lookup the cast->type name to see if it is already loaded.
32525 * There are three cases to handle:
32526 * 1) If the cast->type has already been loaded AND the type we are adding
32527 * casting info to has not been loaded (it is in this module), THEN we
32528 * replace the cast->type pointer with the type pointer that has already
32530 * 2) If BOTH types (the one we are adding casting info to, and the
32531 * cast->type) are loaded, THEN the cast info has already been loaded by
32532 * the previous module so we just ignore it.
32533 * 3) Finally, if cast->type has not already been loaded, then we add that
32534 * swig_cast_info to the linked list (because the cast->type) pointer will
32536 * ----------------------------------------------------------------------------- */
32546 #define SWIGRUNTIME_DEBUG
32550 SWIG_InitializeModule(void *clientdata
) {
32552 swig_module_info
*module_head
;
32553 static int init_run
= 0;
32555 clientdata
= clientdata
;
32557 if (init_run
) return;
32560 /* Initialize the swig_module */
32561 swig_module
.type_initial
= swig_type_initial
;
32562 swig_module
.cast_initial
= swig_cast_initial
;
32564 /* Try and load any already created modules */
32565 module_head
= SWIG_GetModule(clientdata
);
32567 swig_module
.next
= module_head
->next
;
32568 module_head
->next
= &swig_module
;
32570 /* This is the first module loaded */
32571 swig_module
.next
= &swig_module
;
32572 SWIG_SetModule(clientdata
, &swig_module
);
32575 /* Now work on filling in swig_module.types */
32576 #ifdef SWIGRUNTIME_DEBUG
32577 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32579 for (i
= 0; i
< swig_module
.size
; ++i
) {
32580 swig_type_info
*type
= 0;
32581 swig_type_info
*ret
;
32582 swig_cast_info
*cast
;
32584 #ifdef SWIGRUNTIME_DEBUG
32585 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32588 /* if there is another module already loaded */
32589 if (swig_module
.next
!= &swig_module
) {
32590 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32593 /* Overwrite clientdata field */
32594 #ifdef SWIGRUNTIME_DEBUG
32595 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32597 if (swig_module
.type_initial
[i
]->clientdata
) {
32598 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32599 #ifdef SWIGRUNTIME_DEBUG
32600 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32604 type
= swig_module
.type_initial
[i
];
32607 /* Insert casting types */
32608 cast
= swig_module
.cast_initial
[i
];
32609 while (cast
->type
) {
32610 /* Don't need to add information already in the list */
32612 #ifdef SWIGRUNTIME_DEBUG
32613 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32615 if (swig_module
.next
!= &swig_module
) {
32616 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32617 #ifdef SWIGRUNTIME_DEBUG
32618 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32622 if (type
== swig_module
.type_initial
[i
]) {
32623 #ifdef SWIGRUNTIME_DEBUG
32624 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32629 /* Check for casting already in the list */
32630 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32631 #ifdef SWIGRUNTIME_DEBUG
32632 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32634 if (!ocast
) ret
= 0;
32639 #ifdef SWIGRUNTIME_DEBUG
32640 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32643 type
->cast
->prev
= cast
;
32644 cast
->next
= type
->cast
;
32650 /* Set entry in modules->types array equal to the type */
32651 swig_module
.types
[i
] = type
;
32653 swig_module
.types
[i
] = 0;
32655 #ifdef SWIGRUNTIME_DEBUG
32656 printf("**** SWIG_InitializeModule: Cast List ******\n");
32657 for (i
= 0; i
< swig_module
.size
; ++i
) {
32659 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32660 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32661 while (cast
->type
) {
32662 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32666 printf("---- Total casts: %d\n",j
);
32668 printf("**** SWIG_InitializeModule: Cast List ******\n");
32672 /* This function will propagate the clientdata field of type to
32673 * any new swig_type_info structures that have been added into the list
32674 * of equivalent types. It is like calling
32675 * SWIG_TypeClientData(type, clientdata) a second time.
32678 SWIG_PropagateClientData(void) {
32680 swig_cast_info
*equiv
;
32681 static int init_run
= 0;
32683 if (init_run
) return;
32686 for (i
= 0; i
< swig_module
.size
; i
++) {
32687 if (swig_module
.types
[i
]->clientdata
) {
32688 equiv
= swig_module
.types
[i
]->cast
;
32690 if (!equiv
->converter
) {
32691 if (equiv
->type
&& !equiv
->type
->clientdata
)
32692 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32694 equiv
= equiv
->next
;
32714 /* Python-specific SWIG API */
32715 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32716 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32717 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32719 /* -----------------------------------------------------------------------------
32720 * global variable support code.
32721 * ----------------------------------------------------------------------------- */
32723 typedef struct swig_globalvar
{
32724 char *name
; /* Name of global variable */
32725 PyObject
*(*get_attr
)(void); /* Return the current value */
32726 int (*set_attr
)(PyObject
*); /* Set the value */
32727 struct swig_globalvar
*next
;
32730 typedef struct swig_varlinkobject
{
32732 swig_globalvar
*vars
;
32733 } swig_varlinkobject
;
32735 SWIGINTERN PyObject
*
32736 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32737 return PyString_FromString("<Swig global variables>");
32740 SWIGINTERN PyObject
*
32741 swig_varlink_str(swig_varlinkobject
*v
) {
32742 PyObject
*str
= PyString_FromString("(");
32743 swig_globalvar
*var
;
32744 for (var
= v
->vars
; var
; var
=var
->next
) {
32745 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32746 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32748 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32753 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32754 PyObject
*str
= swig_varlink_str(v
);
32755 fprintf(fp
,"Swig global variables ");
32756 fprintf(fp
,"%s\n", PyString_AsString(str
));
32762 swig_varlink_dealloc(swig_varlinkobject
*v
) {
32763 swig_globalvar
*var
= v
->vars
;
32765 swig_globalvar
*n
= var
->next
;
32772 SWIGINTERN PyObject
*
32773 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32774 PyObject
*res
= NULL
;
32775 swig_globalvar
*var
= v
->vars
;
32777 if (strcmp(var
->name
,n
) == 0) {
32778 res
= (*var
->get_attr
)();
32783 if (res
== NULL
&& !PyErr_Occurred()) {
32784 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32790 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32792 swig_globalvar
*var
= v
->vars
;
32794 if (strcmp(var
->name
,n
) == 0) {
32795 res
= (*var
->set_attr
)(p
);
32800 if (res
== 1 && !PyErr_Occurred()) {
32801 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32806 SWIGINTERN PyTypeObject
*
32807 swig_varlink_type(void) {
32808 static char varlink__doc__
[] = "Swig var link object";
32809 static PyTypeObject varlink_type
;
32810 static int type_init
= 0;
32812 const PyTypeObject tmp
32814 PyObject_HEAD_INIT(NULL
)
32815 0, /* Number of items in variable part (ob_size) */
32816 (char *)"swigvarlink", /* Type name (tp_name) */
32817 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32818 0, /* Itemsize (tp_itemsize) */
32819 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
32820 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32821 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32822 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32823 0, /* tp_compare */
32824 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32825 0, /* tp_as_number */
32826 0, /* tp_as_sequence */
32827 0, /* tp_as_mapping */
32830 (reprfunc
)swig_varlink_str
, /* tp_str */
32831 0, /* tp_getattro */
32832 0, /* tp_setattro */
32833 0, /* tp_as_buffer */
32835 varlink__doc__
, /* tp_doc */
32836 0, /* tp_traverse */
32838 0, /* tp_richcompare */
32839 0, /* tp_weaklistoffset */
32840 #if PY_VERSION_HEX >= 0x02020000
32841 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32843 #if PY_VERSION_HEX >= 0x02030000
32846 #ifdef COUNT_ALLOCS
32847 0,0,0,0 /* tp_alloc -> tp_next */
32850 varlink_type
= tmp
;
32851 varlink_type
.ob_type
= &PyType_Type
;
32854 return &varlink_type
;
32857 /* Create a variable linking object for use later */
32858 SWIGINTERN PyObject
*
32859 SWIG_Python_newvarlink(void) {
32860 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
32864 return ((PyObject
*) result
);
32868 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32869 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
32870 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32872 size_t size
= strlen(name
)+1;
32873 gv
->name
= (char *)malloc(size
);
32875 strncpy(gv
->name
,name
,size
);
32876 gv
->get_attr
= get_attr
;
32877 gv
->set_attr
= set_attr
;
32878 gv
->next
= v
->vars
;
32884 SWIGINTERN PyObject
*
32886 static PyObject
*_SWIG_globals
= 0;
32887 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
32888 return _SWIG_globals
;
32891 /* -----------------------------------------------------------------------------
32892 * constants/methods manipulation
32893 * ----------------------------------------------------------------------------- */
32895 /* Install Constants */
32897 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32900 for (i
= 0; constants
[i
].type
; ++i
) {
32901 switch(constants
[i
].type
) {
32902 case SWIG_PY_POINTER
:
32903 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32905 case SWIG_PY_BINARY
:
32906 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32913 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
32919 /* -----------------------------------------------------------------------------*/
32920 /* Fix SwigMethods to carry the callback ptrs when needed */
32921 /* -----------------------------------------------------------------------------*/
32924 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32925 swig_const_info
*const_table
,
32926 swig_type_info
**types
,
32927 swig_type_info
**types_initial
) {
32929 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32930 const char *c
= methods
[i
].ml_doc
;
32931 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32933 swig_const_info
*ci
= 0;
32934 const char *name
= c
+ 10;
32935 for (j
= 0; const_table
[j
].type
; ++j
) {
32936 if (strncmp(const_table
[j
].name
, name
,
32937 strlen(const_table
[j
].name
)) == 0) {
32938 ci
= &(const_table
[j
]);
32943 size_t shift
= (ci
->ptype
) - types
;
32944 swig_type_info
*ty
= types_initial
[shift
];
32945 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32946 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32947 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32950 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
32952 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32954 strncpy(buff
, "swig_ptr: ", 10);
32956 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32957 methods
[i
].ml_doc
= ndoc
;
32969 /* -----------------------------------------------------------------------------*
32970 * Partial Init method
32971 * -----------------------------------------------------------------------------*/
32976 SWIGEXPORT
void SWIG_init(void) {
32979 /* Fix SwigMethods to carry the callback ptrs when needed */
32980 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
32982 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32983 d
= PyModule_GetDict(m
);
32985 SWIG_InitializeModule(0);
32986 SWIG_InstallConstants(d
,swig_const_table
);
32989 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
32990 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
32991 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
32992 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
32993 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
32994 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
32995 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
32996 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
32997 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
32998 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
32999 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33000 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33001 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33002 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33003 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33004 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33005 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33006 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33007 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33008 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33009 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33010 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33011 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33012 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33013 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33014 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33015 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33016 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33017 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33018 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33019 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33020 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33021 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33022 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33023 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33024 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33025 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33026 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33027 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33028 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33029 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33030 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33031 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33032 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33033 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33034 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33035 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33036 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33037 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33038 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33039 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33040 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33041 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33042 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33043 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33044 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33045 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33046 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33047 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33048 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33049 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33050 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33051 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33052 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33053 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33054 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33055 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33056 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33057 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33058 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33059 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33060 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33061 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33062 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33063 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33064 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33065 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33066 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33067 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33068 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33069 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33070 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33071 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33072 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33073 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33074 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33075 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33076 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33077 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33078 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33079 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33080 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33081 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33082 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33083 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33084 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33085 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33086 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33087 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33088 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33089 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33090 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33091 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33092 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33093 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33094 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33095 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33096 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33097 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33098 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33099 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33100 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33101 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33102 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33103 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33104 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33105 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33114 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33115 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33116 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33117 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33118 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33119 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33120 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33122 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33124 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33125 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33126 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33127 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33128 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33129 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33130 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33131 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33132 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33133 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33134 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33135 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33136 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33137 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33138 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33139 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33140 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33141 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33142 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33143 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33144 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33145 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33146 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33147 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33148 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33149 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33150 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33151 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33152 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33153 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33154 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33155 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33156 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33157 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33158 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33159 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33160 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33161 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33162 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33163 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33164 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33165 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33166 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33167 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33168 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33169 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33170 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33171 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33172 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33173 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33174 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33175 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33176 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33177 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33178 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33179 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33180 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33181 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33182 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33183 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33184 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33185 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33186 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33187 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33188 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33189 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33190 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33191 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33192 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33193 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33194 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33195 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33196 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33197 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33198 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33199 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33200 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33201 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33202 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33203 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33204 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33205 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33206 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33207 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33208 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33209 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33210 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33211 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33212 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33213 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33214 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33215 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33216 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33217 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33218 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33219 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33220 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33221 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33222 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33223 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33224 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33225 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33226 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33227 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33228 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33229 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33230 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33231 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33232 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33233 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33234 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33235 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33236 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33237 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33238 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33239 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33240 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33241 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33242 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33243 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33244 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33245 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33246 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33247 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33248 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33249 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33250 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33251 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33252 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33253 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33254 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33255 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33256 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33257 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33258 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33259 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33260 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33261 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33262 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33263 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33264 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33265 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33266 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33267 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33268 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33269 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33270 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33271 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33272 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33273 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33274 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33275 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33276 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33277 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33278 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33279 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33280 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33281 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33282 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33283 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33284 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33285 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33286 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33287 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33288 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33289 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33290 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33291 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33292 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33293 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33294 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33295 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33296 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33297 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33298 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33299 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33300 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33301 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33302 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33303 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33304 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33305 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33306 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33307 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33308 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33309 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33310 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33311 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33312 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33313 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33314 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33315 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33316 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33317 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33318 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33319 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33320 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33321 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33322 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33323 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33324 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33325 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33326 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33327 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33328 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33329 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33330 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33331 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33332 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33333 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33334 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33335 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33336 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33337 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33338 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33339 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33340 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33341 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33342 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33343 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33344 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33345 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33346 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33347 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33348 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33349 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33350 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33351 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33352 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33353 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33354 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33355 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33356 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33357 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33358 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33359 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33360 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33361 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33362 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33363 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33364 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33365 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33366 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33367 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33368 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33369 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33370 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33371 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33372 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33373 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33374 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33375 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33376 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33377 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33378 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33379 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33380 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33381 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33382 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33383 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33384 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33385 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33386 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33387 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33388 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33389 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33390 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33391 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33392 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33393 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33394 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33395 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33396 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33397 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33398 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33399 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33400 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33401 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33402 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33403 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33404 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33405 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33406 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33407 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33408 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33409 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33410 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33411 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33412 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33413 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33414 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33415 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33416 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33417 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33418 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33419 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33420 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33421 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33422 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33423 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33424 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33425 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33426 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33427 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33428 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33429 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33430 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33431 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33432 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33433 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33434 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33435 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33436 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33437 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33439 // Work around a chicken/egg problem in drawlist.cpp
33440 wxPyDrawList_SetAPIPtr();